CN104618854A - Method, terminal and server for sharing location information - Google Patents

Method, terminal and server for sharing location information Download PDF

Info

Publication number
CN104618854A
CN104618854A CN201410213543.1A CN201410213543A CN104618854A CN 104618854 A CN104618854 A CN 104618854A CN 201410213543 A CN201410213543 A CN 201410213543A CN 104618854 A CN104618854 A CN 104618854A
Authority
CN
China
Prior art keywords
described
map
shared
terminal
according
Prior art date
Application number
CN201410213543.1A
Other languages
Chinese (zh)
Other versions
CN104618854B (en
Inventor
任鹏
程刚
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Priority to CN201410213543.1A priority Critical patent/CN104618854B/en
Publication of CN104618854A publication Critical patent/CN104618854A/en
Application granted granted Critical
Publication of CN104618854B publication Critical patent/CN104618854B/en

Links

Abstract

The invention discloses method, terminal and server for sharing location information, and belongs to the technical field of internet. The method comprises the steps of acquiring location information to be shared through a currently-displayed map interface, wherein the location information is the current location information of a user or any location information as specified by the user; acquiring the map sharing area according to the map interface adjusting operation and location information of the user, wherein the map sharing area includes location information; sharing the location information according to the map sharing area. According to the method, the location information to be shared can be the current information of the user or any location information as specified by the user; the sharing location information is flexible and various; in addition, the position information is shared on the basis of map area, and therefore, the user can conveniently describe the position information to be shared, and the visual effect is obvious.

Description

The method of sharing position information, terminal and server

Technical field

The present invention relates to Internet technical field, particularly a kind of method of sharing position information, terminal and server.

Background technology

In daily life, people usually can run into the situation that the needs such as such as company has a dinner party, classmate gets together or household celebrates one's birthday go out to gather.For above-mentioned situation, can arrive destination accurately and quickly in order to ensure everyone participation, the application with position information share function is arisen at the historic moment.

In prior art, user after startup has the application of position information share function, the current location information of the automatic consumer positioning of this application, and obtain the latitude and longitude information of current location information.Afterwards, latitude and longitude information is sent to multiple target terminal by place terminal by this application, realizes sharing of positional information.Wherein, this shared terminal also needs to be provided with the map application with geographical position sharing functionality equally.

Realizing in process of the present invention, inventor finds that prior art at least exists following problem:

Due to the form sharing users current location information of latitude and longitude information, so this kind of position information share mode is too dull and abstract, is not easy to user and current location information is described; And visual effect is not good, the particular location of positional information on map can not be specified; In addition, due to only can the current location information of sharing users, the positional information therefore shared comparatively be limited to single, underaction.

Summary of the invention

In order to solve the problem of prior art, embodiments provide a kind of method of sharing position information, terminal and server.Described technical scheme is as follows:

First aspect, provide a kind of method of sharing position information, described method comprises:

In the map interface of current display, obtain positional information to be shared, described positional information is any position information that user's current location information or user specify;

According to map interface adjustment operation and the described positional information of user, obtain and share map area, described shared map area comprises described positional information;

According to described shared map area, carry out position information share.

Second aspect, provide a kind of method of sharing position information, described method comprises:

Receive the shared data that user terminal sends, described shared data at least comprise the latitude and longitude information of described positional information, map scaling and map denotation size;

By described shared data retransmission to target terminal, to make described target terminal after according to described shared data genaration map area, the displaying interface of described map area at described target terminal is shown.

The third aspect, provides a kind of terminal, and described terminal comprises:

Position information acquisition module, in the map interface of current display, obtains positional information to be shared, and described positional information is any position information that user's current location information or user specify;

Map area acquisition module, operate and described positional information for the map interface adjustment according to user, obtain and share map area, described shared map area comprises described positional information;

Position information share module, for according to described shared map area, carries out position information share.

Fourth aspect, provides a kind of server, and described server comprises:

Share data reception module, for receiving the shared data that user terminal sends, described shared data at least comprise the latitude and longitude information of described positional information, map scaling and map denotation size;

Share data transmission blocks, for by described shared data retransmission to target terminal, to make described target terminal after according to described shared data genaration map area, the displaying interface of described map area at described target terminal is shown.

The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:

Obtain positional information to be shared in the map interface of current display after, according to map interface adjustment operation and the described positional information of user, obtain and share map area, position information share is carried out according to shared map area, because positional information to be shared can be any position information that user's current location information or user specify, so the positional information shared is versatile and flexible; In addition, also can obtain according to the map interface adjustment operation of user and share map area, so the shared map area got is various informative, enrich the form of expression of position information share; In addition, owing to carrying out position information share based on map area, treat sharing position information be described so facilitate user, and the mode visual effect of this kind of sharing position information is better, can specify positional information to be shared detail location on map.

Accompanying drawing explanation

In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.

Fig. 1 is the system architecture diagram of the sharing position information that the embodiment of the present invention provides;

Fig. 2 is the method flow diagram of a kind of sharing position information that the embodiment of the present invention provides;

Fig. 3 is the method flow diagram of a kind of sharing position information that the embodiment of the present invention provides;

Fig. 4 is the method flow diagram of a kind of sharing position information that the embodiment of the present invention provides;

Fig. 5 is the schematic diagram of a kind of map area that the embodiment of the present invention provides;

Fig. 6 is the schematic diagram of a kind of map area that the embodiment of the present invention provides;

Fig. 7 is the schematic diagram of a kind of map area that the embodiment of the present invention provides;

Fig. 8 is the schematic diagram of a kind of map area that the embodiment of the present invention provides;

Fig. 9 is the schematic diagram of a kind of map area that the embodiment of the present invention provides;

Figure 10 is the schematic diagram of a kind of data communication mode that the embodiment of the present invention provides;

Figure 11 is the schematic diagram of a kind of data communication mode that the embodiment of the present invention provides;

Figure 12 is the structural representation of a kind of terminal that the embodiment of the present invention provides;

Figure 13 is the structural representation of a kind of server that the embodiment of the present invention provides;

Figure 14 is the internal structure schematic diagram of a kind of terminal that the embodiment of the present invention provides;

Figure 15 is the internal structure schematic diagram of a kind of server that the embodiment of the present invention provides.

Embodiment

For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.

Before the embodiment of the present invention is described in detail, first the application scenarios of the embodiment of the present invention is introduced.Typical apply scene of the present invention is: have a dinner party for company, classmate's party etc. needs many people to arrive the sight of same destination from different departure place, destination can be arrived exactly in order to ensure everyone rally, the map area comprising destination locations information is shared to all participating users by the method that organizing user provides by the embodiment of the present invention, and each participating user is in order to make everybody self current position clear and definite, also the current location information of self can be shared to other users.For a certain user, before comprising the shared map area of positional information to be shared to other users transmission, user terminal obtains this shared map area by following method: in the map interface of current display, obtain positional information to be shared, this positional information is any position information that user's current location information or user specify; According to map interface adjustment operation and the positional information of user, obtain and share map area, this shared map area comprises this positional information.After getting this shared map area, shared map area is sent to other users by kind of the mode of two shown in Fig. 1 by user.

See Fig. 1, when user A is for sharing shared map area based on a certain positional information to user B, this shared map area is shared to other users by two kinds of modes such as shared server communication and point-to-point communications by user A.Wherein, this positional information both can be the current location information of user A, also can be any position information that user A specifies.User B refers to a class user, also namely refers to one or more users of its shared map area of reception of being specified by user A.Point-to-point communication can comprise multiple implementation, the implementations such as such as note, multimedia message, bluetooth, socket (socket).

Fig. 2 is the method flow diagram of a kind of sharing position information that the embodiment of the present invention provides.Perform the angle of the method for terminal, see Fig. 2, the method flow that the embodiment of the present invention provides comprises:

201, in the map interface of current display, obtain positional information to be shared, positional information is any position information that user's current location information or user specify.

202, according to map interface adjustment operation and the positional information of user, obtain and share map area, shared map area comprises positional information.

203, according to sharing map area, position information share is carried out.

The method that the embodiment of the present invention provides, obtain positional information to be shared in the map interface of current display after, according to map interface adjustment operation and the positional information of user, obtain and share map area, position information share is carried out according to shared map area, because positional information to be shared can be any position information that user's current location information or user specify, so the positional information shared is versatile and flexible; In addition, also can obtain according to the map interface adjustment operation of user and share map area, so the shared map area got is various informative, enrich the form of expression of position information share; In addition, owing to carrying out position information share based on map area, treat sharing position information be described so facilitate user, and the mode visual effect of this kind of sharing position information is better, can specify positional information to be shared detail location on map.

Alternatively, according to user's map interface adjustment operation and positional information, obtain and share map area, comprising:

According to the corresponding relation of positional information and longitude and latitude data, determine the longitude and latitude data of positional information;

According to the latitude and longitude information of positional information, obtain initially graph region, initially graph region comprises positional information;

Initially graph region is shown on the displaying interface of user terminal;

Interface adjustment operation according to the map, adjust initially graph region, obtain shared map area, initially graph region is greater than shared map area.

Alternatively, interface adjustment operation according to the map, adjusts initially graph region, comprising:

When map interface adjustment operation comprises user annotation interpolation operation, obtain the operation trace that user annotation adds operation correspondence;

According to operation trace, initially graph region adds corresponding markup information.

Alternatively, according to shared map area, carry out position information share, comprising:

When not comprising first terminal in target terminal, obtain the shared data sharing map area, first terminal is the target terminal do not established a communications link with shared server, and shared data at least comprise the latitude and longitude information of positional information, map scaling and map denotation size;

Shared data are sent to shared server, to make shared server after receiving shared data, data retransmission will be shared to target terminal, by target terminal after sharing map area according to shared data genaration, shared map area is shown.

Alternatively, according to shared map area, carry out position information share, comprising:

When not comprising first terminal in target terminal, obtain the shared data sharing map area, first terminal is the target terminal do not established a communications link with shared server, and shared data at least comprise the latitude and longitude information of positional information, map scaling and map denotation size;

By point-to-point communication mode, shared data are sent to target terminal, to make target terminal after sharing map area according to shared data genaration, shared map area are shown.

Alternatively, according to shared map area, carry out position information share, comprising:

When target terminal comprises first terminal, generate the picture comprising shared map area, first terminal is the target terminal do not established a communications link with shared server;

By point-to-point communication mode, the picture comprising shared map area is sent to first terminal.

Alternatively, the method also comprises:

Obtain and share the shared data of map area, shared data at least comprise the latitude and longitude information of positional information, map scaling and map denotation size;

By point-to-point communication mode, shared data are sent to the second terminal, to make the second terminal after sharing map area according to shared data genaration, shared map area shown, the second terminal is the target terminal established a communications link with shared server.

Alternatively, according to shared map area, before carrying out position information share, the method also comprises:

Obtain the target terminal information of positional information;

Target terminal information is uploaded to shared server, to make shared server judge whether there is first terminal in target terminal according to target terminal information, and judged result is back to user terminal.

Alternatively, interface adjustment operation according to the map, adjusts initially graph region, comprising:

When map interface adjustment operation comprises map zoom operations, obtain the map scaling chi that map zoom operations is corresponding;

Scaling chi according to the map, carries out zoom operations to initially graph region.

Alternatively, interface adjustment operation according to the map, adjusts initially graph region, comprising:

When map interface adjustment operation comprises map move operation, obtain the mobile yardstick that map move operation is corresponding;

According to mobile yardstick, initially graph region is adjusted.

Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.

Fig. 3 is the method flow diagram of a kind of sharing position information that the embodiment of the present invention provides.Perform the angle of the method for server, see Fig. 3, the method flow that the embodiment of the present invention provides comprises:

301, receive the shared data that user terminal sends, shared data at least comprise the latitude and longitude information of positional information, map scaling and map denotation size.

302, data retransmission will be shared to target terminal, to make target terminal after basis shares data genaration map area, the displaying interface of map area at target terminal be shown.

The method that the embodiment of the present invention provides, after receiving the shared data of user terminal transmission, data retransmission will be shared to target terminal, thus target terminal is according to after shared data genaration map area, this map area is shown, owing to carrying out position information share based on map area, treats sharing position information be described so facilitate user, and the mode visual effect of this kind of sharing position information is better, positional information to be shared detail location on map can be specified.

Alternatively, the method also comprises:

Receive the target terminal information of user terminal uploads;

According to target terminal information, judge whether there is first terminal in target terminal, obtain judged result, first terminal is the terminal do not established a communications link with shared server;

Judged result is back to user terminal, carries out position information share to make user terminal according to judged result and the shared map area got.

Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.

Fig. 4 is the method flow diagram of a kind of sharing position information that the embodiment of the present invention provides.Interaction agent is user terminal and shared server.See Fig. 4, the method flow that the embodiment of the present invention provides comprises:

401, user terminal is in the map interface of current display, obtains positional information to be shared, and positional information is any position information that user's current location information or user specify.

In embodiments of the present invention, positional information to be shared can be divided into two kinds, and one is user's current location information, any position information that another kind is specified for user, does not comprise user's current location information in this any position information.Type for positional information to be shared is different, and the mode obtaining positional information to be shared is also different.

If positional information to be shared is user's current location, due to after opening the application with position information share function, GPS (Global Positioning System, global positioning system) can automatically position the current position of user, so for this kind of situation, directly using current for the GPS positional information got as positional information to be shared.If positional information to be shared is any position that user specifies, then can using the positional information that inputs in the search input frame of user in the map interface of current display as positional information to be shared.It should be noted that, except the mode of above-mentioned acquisition positional information to be shared, also can take other obtain manners, also can take other obtain manners, the embodiment of the present invention does not do concrete restriction to this.

402, user terminal is according to the map interface adjustment operation of user and positional information to be shared, and obtain and share map area, shared map area comprises positional information to be shared.

After getting positional information to be shared, the map area comprising positional information to be shared is processed according to self wish in order to user can be facilitated, the method that the embodiment of the present invention provides, when obtaining shared map area according to positional information to be shared, is also supported to obtain according to the map interface adjustment operation of user to share map area simultaneously.Wherein, map interface adjustment operation includes but not limited to map zoom operations, map move operation, user adds labeling operation etc.

Wherein, when obtaining shared map area according to user's map interface adjustment operation and positional information, specifically following implementation can be taked:

According to the corresponding relation of positional information to be shared and longitude and latitude data, determine the longitude and latitude data of this positional information; According to the latitude and longitude information of this positional information, obtain initially graph region, initially graph region comprises positional information; Initially graph region is shown on the displaying interface of user terminal; Interface adjustment operation according to the map, adjust initially graph region, obtain shared map area, initially graph region is greater than shared map area.

For any one positional information, all can corresponding longitude and latitude data.Namely longitude and latitude data can carry out unique identification to a positional information.One is had to the application of position information share function, it all can prestore the corresponding relation of positional information and longitude and latitude data.After determining positional information to be shared, by inquiring about this corresponding relation, the longitude and latitude data of positional information to be shared can be determined.After determining the longitude and latitude data of this positional information, in order to the memory space that the load time and map of reducing map take, also can according to these longitude and latitude data once need according to a preliminary estimate load map included by administrative region.Such as, if these longitude and latitude data are positioned at the longitude and latitude scope that Beijing covers, then when loading map, only load Beijing's map comprising various administrative region and show rank.And then determine the display position of this positional information in map according to these longitude and latitude data, and sentence the explicit identifications such as bubble at display position and mark.In addition, because the displaying interface size of user terminal is limited, so the initially graph region got displaying interface that is general and user terminal is in the same size.This initially graph region comprise positional information to be shared, initially the concrete form of graph region can see Fig. 5.

In addition, in interface adjustment operation according to the map, to when initially graph region adjusts, following three kinds of implementations are included but not limited to:

The first implementation, when map interface adjustment operation comprise user annotation add operation time, obtain user annotation and add operation trace corresponding to operation; According to operation trace, initially graph region adds corresponding markup information.

For the first implementation, user annotation refers to the mark that a class is guided targeted customer and pointed out, and its form can be the arrow that shows the way etc. and marked from the remarks class arranged by user arbitrarily.The arrow that shows the way see two black overstrikings in Fig. 6, figure is just user annotation.In embodiments of the present invention; why adding user annotation is because we usually can run into such situation in daily life; be limited to the factors such as the display granularity of map; when we arrive the neighboring area of destination; usually can not know and walk could arrive destination toward which direction, even there will be and the complete situation that just can find destination is all checked in neighboring area.And in the embodiment of the present invention after with the addition of user annotation, the user annotation that other users go up according to the map can know the particular location of destination more fast and exactly, and then save the time of user, improve user experience.

In addition, because current intelligent terminal kind equipment all adopts touch-screen, so when adding user annotation to initially graph region, the operation trace of user in initially graph region is responded in real time by temperature-sensitive element, afterwards, shown in map area by the lines being different from map area color, these lines are used for the operation trace of analog subscriber, consistent with the operation trace shape of user.Such as, if the operation trace of user is straight line, then in map area, show the straight line of black overstriking, this straight line can be isometric with user operation track, also can normal ratio corresponding to the length of user operation track, and the embodiment of the present invention does not do concrete restriction to this.

The second implementation, when map interface adjustment operation comprises map zoom operations, obtain the map scaling chi that map zoom operations is corresponding; Scaling chi according to the map, carries out zoom operations to initially graph region.

For the second implementation, after acquisition first map area, may be less due to current map scaling, so meticulous displaying is not carried out in the neighboring area of position to be shared in initially graph region, even do not show.And in initially graph region, the focus that everybody pays close attention to is only position to be shared and the neighboring area nearer apart from it, position initially far away apart from position to be shared in graph region there is no use.So in this case, just the scaling of map can be increased, meticulous displaying is carried out to make the neighboring area of position to be shared and position to be shared, facilitate other users quick lock in map area position to be shared on the one hand, the neighboring area that other users can be made to treat sharing position on the other hand has to be understood in further detail.After the map area shown in Fig. 5 being carried out map scale amplification process, map area as shown in Figure 7 can be obtained.

In addition, on map interface during map zoom operations, intelligent terminal kind equipment can judge according to the zoom operations of user's finger currently whether performing map zoom operations and zoom scale corresponding to map zoom operations.Such as, when the finger that user terminal detects touch screen mutually away from time, can determine that user is current in the operation of execution enlarged map, and the distance between finger far represent amplification yardstick larger; When user terminal detects that the finger of touch screen is close to each other, can determine that user is current and reduce map operation in execution, and the less representative of distance between finger to reduce yardstick larger.Because the application with the informational function of sharing position can pre-set the corresponding relation of map zoom operations and map scaling chi, so user terminal is after getting the map zoom operations of user, according to this corresponding relation, just can learn and which kind of convergent-divergent process is carried out to initially graph region.

The third implementation, when map interface adjustment operation comprises map move operation, obtain the mobile yardstick that map move operation is corresponding; According to mobile yardstick, initially graph region is adjusted.

For the third mode, getting initially after graph region, the boundary member that may be presented at initially graph region because position to be shared is current, in order to understand the neighboring area situation of position to be shared in further detail, position to be shared can be moved, make it the center at the displaying interface being presented at user terminal.Also namely, the map area be presented on the displaying interface of user terminal is adjusted.Treating after sharing position moves, a part of region initially in graph region just can not display on the displaying interface of user terminal, current presentation interface is only shown the subregion of initially graph region, and before current presentation interface now also comprises part, do not carry out the map area of showing, this map area is progressively presented on current presentation interface along with the map move operation of user.If map move operation is slide from left to right, then initially the partly graph region on the graph region left side is illustrated on current presentation interface; If map move operation is the slide of right-to-left, then the partly graph region initially on the right of graph region is illustrated on current presentation interface.

In addition, specifically the much subregions in initially graph region are moved to outside current presentation interface, need depending on mobile yardstick corresponding to map move operation.Mobile yardstick is larger, and the region initially moved in graph region outside current presentation interface is larger; Mobile yardstick is less, and the region initially moved in graph region outside current presentation interface is less.Because the application with the informational function of sharing position can pre-set the corresponding relation of map move operation and mobile yardstick, so user terminal is after getting the map move operation of user, according to this corresponding relation, just can obtain and how know initially graph region is adjusted.Map area shown in Fig. 5 is being carried out after map moves process, map area as shown in Figure 8 can be obtained.

It should be noted that, above-mentioned three kinds of modes adjusted initially graph region, can carry out the combination of arbitrary form.Such as, see Fig. 9, map zoom operations can carried out to the initially graph region shown in Fig. 5, after obtaining the map area after convergent-divergent as shown in Figure 7, then the map area after convergent-divergent marked.Specifically take which kind of compound mode, the embodiment of the present invention does not do concrete restriction to this, can depend on the circumstances.

In addition, above-mentioned steps 401 and step 402, following step 403 are any to the execution sequence of step 404.Also namely, step 401 and step 402 can perform before step 403 and step 404, and can perform after step 403 and step 404, the embodiment of the present invention does not do concrete restriction to this yet.

403, user terminal obtains the target terminal information of positional information to be shared, and target terminal information is uploaded to shared server.

In embodiments of the present invention, target terminal information specifically can be telephone number corresponding to target terminal or the possessory user ID of target terminal etc., and the form of the present embodiment to target terminal information does not specifically limit.When target terminal information is uploaded to shared server, the mode directly target terminal information being carried out uploading can be taked, also can take the mode uploaded again after target terminal information being packed, which kind of uploads mode in concrete employing, and the embodiment of the present invention does not do concrete restriction to this.

404, shared server is after receiving the target terminal information of user terminal uploads, according to target terminal information, judges whether there is first terminal in target terminal, obtains judged result, and judged result is back to user terminal; Wherein, first terminal is the terminal do not established a communications link with shared server.

In embodiments of the present invention, for a target terminal, if this terminal is provided with the application with sharing position information, then this target terminal just sets up communication connection with shared server.The possessory log-on message of this target terminal is stored in shared server.This log-on message can comprise the possessory telephone number of this target terminal, the user ID being registered to this application etc.After shared server receives the target terminal information of user terminal uploads, just can determine whether there is first terminal in target terminal according to the log-on message being stored in self, also, there is the terminal do not established a communications link with shared server.

For target terminal information for telephone number, then shared server is after receiving at least one telephone number of user terminal uploads, judges whether each telephone number received matches with arbitrary telephone number in the log-on message self stored; If each telephone number received all has record in the log-on message self stored, then judge that target terminal does not exist first terminal; If have at least a telephone number there is no record in the telephone number received in the log-on message self stored, then judge that target terminal exists first terminal, and the telephone number of correspondence is carried out record.

Shared server is when returning judged result to user terminal, the mode directly judged result being carried out returning can be taked, also can take the mode returned again after judged result being packed, concrete which kind of echo plex mode of employing, the embodiment of the present invention does not do concrete restriction to this.

405, user terminal is after receiving judged result, according to judged result and shared map area, carries out position information share.

In embodiments of the present invention, according to the difference of judged result, following two class sharing modes are mainly taked to carry out position information share.When judged result be target terminal there is not first terminal time, to step 405, (mode of a4 carries out position information share to step 405 (a2) or step 405 (a3) to take following step 405 (a1); When judged result be target terminal there is first terminal time, take following step 405 (b1) to carry out position information share to step 405 (b4).

When not comprising first terminal in target terminal, shared server communication mode as shown in Figure 10 both can be taked to carry out position information share, point-to-point communication mode as shown in figure 11 also can be taked to carry out position information share.When take shared server communication mode carry out position share time, perform following step 405 (a1) to step 405 (a2); When take point-to-point communication mode carry out position share time, perform following step 405 (a3) to step 405 (a4).

405 (a1), user terminal obtain the shared data sharing map area, and these shared data are sent to shared server; Wherein, shared data at least comprise the latitude and longitude information of positional information to be shared, map scaling and map denotation size.

Because target terminal has all installed the application with position information share function, so when carrying out position information share, only needing user terminal to only need to shared server and sending the shared data sharing map area.Wherein, the longitude and latitude data of positional information to be shared are used in map, treat sharing position and accurately locate, map scaling is for determining the zoom scale of map, and namely map denotation size, for defining the border of map, also indicates in map all comprise which region.In addition, share data except the longitude and latitude data, map scaling and the map denotation size that comprise positional information to be shared, also can comprise user annotation for carrying out road navigation etc., the embodiment of the present invention does not specifically limit the content that shared data comprise.

In addition, owing to having got shared map area according to above-mentioned steps 402, so user terminal can get the shared data of shared map area by the application with position information share function.When shared data are sent to shared server, the mode directly shared data being sent to shared server can be taked, also can take the mode being sent to shared server after shared data being packed again, concrete which kind of send mode embodiment of the present invention that adopts does not do concrete restriction to this.

405 (a2), shared server, after receiving shared data, will share data retransmission to target terminal, by target terminal after sharing map area according to shared data genaration, shared map area be shown.

In embodiments of the present invention, shared server, after the shared data receiving user terminal transmission, just will share data retransmission to target terminal according to the target terminal information sharing data.And target terminal is after receiving these shared data, owing to self being provided with the application with position information share function, so target terminal can share map area according to shared data genaration.And the shared map area of showing on the displaying interface of target terminal, consistent with the shared map area of showing on the displaying interface of user terminal.Also namely, the embodiment of the present invention achieves the shared map area that the displaying interface of user terminal is shown, shows too on the displaying interface of target terminal.

405 (a3), user terminal obtain shares the shared data of map area, and these shared data at least comprise the latitude and longitude information of positional information, map scaling and map denotation size.

This step and above-mentioned steps 405 (a1) in like manner, repeat no more herein.

405 (a4), by point-to-point communication mode, shared data are sent to target terminal by user terminal, to make target terminal according to sharing after data genaration shares map area, shared map area are shown.

In embodiments of the present invention, owing to there is not first terminal in target terminal, so user terminal is after getting the shared data of shared map area, by point-to-point communication mode, shared data are sent to target terminal.When the close together of user terminal and target terminal, the communication mode by bluetooth or local area network (LAN) carries out the transmission of shared data; When user terminal and target terminal distant, the communication mode by note or multimedia message carries out the transmission of shared data.Target terminal according to share data genaration share the specific implementation of map area can see above-mentioned steps 405 (a2).

When being all first terminal in target terminal, taking point-to-point communication mode as shown in figure 11 to carry out position information share, referring to following step 405 (b1) to step 405 (b2).When both having comprised first terminal in target terminal and also having comprised time the second terminal (target terminal established a communications link with shared server), the mode can taking point-to-point communication mode or take shared server communication mode and point-to-point communication mode to combine carries out position information share, refers to following 405 (b1) to step 405 (b5).

405 (b1), user terminal generate the picture comprising shared map area.

In embodiments of the present invention, because first terminal does not install the application with position information share function, if share data so send to first terminal, then first terminal can not share map area according to shared data genaration, thus can not realize position information share.So in target terminal being all the situation that there is first terminal in first terminal and target terminal, also the picture that comprise shared map area will be generated according to shared map area.Such as, shared map area can be converted to static images, as the picture of jpeg form.The coexist visual effect of the shared map area that map interface is shown of the visual effect of this picture is similar.

405 (b2), by point-to-point communication mode, the picture comprising shared map area is sent to first terminal by user terminal.

When shared data are sent to first terminal, the mode directly picture comprising shared map area being sent to first terminal can be taked, also can take the mode being sent to first terminal after being packed by the picture comprising shared map area again, concrete which kind of send mode embodiment of the present invention that adopts does not do concrete restriction to this.

405 (b3), user terminal obtain shares the shared data of map area, and shared data at least comprise the latitude and longitude information of positional information, map scaling and map denotation size.

This step and above-mentioned steps 405 (a1) in like manner, repeat no more herein.

405 (b4), by point-to-point communication mode, shared data are sent to the second terminal by user terminal, to make the second terminal after sharing map area according to shared data genaration, shared map area shown, the second terminal is the target terminal established a communications link with shared server.

This step and above-mentioned steps 405 (a4) in like manner, repeat no more herein.In addition, step 405 (b4) also can be replaced by step 405 (b5).

Shared data are sent to shared server by 405 (b5), user terminal, to make shared server after receiving shared data, data retransmission will be shared to target terminal, by target terminal after sharing map area according to shared data genaration, shared map area be shown.

This step and above-mentioned steps 405 (a2) in like manner, repeat no more herein.

It should be noted that, above-mentioned steps 405 (b1) is any to the execution sequence of step 405 (b4) to step 405 (b2), 405 (b3), and the embodiment of the present invention does not do concrete restriction to this.Also be, above-mentioned steps 405 (b1) both can perform to step 405 (b2) before above-mentioned steps 405 (b3) to step 405 (b4), also can perform after above-mentioned steps 405 (b3) to step 405 (b4).The embodiment of the present invention only performed to step 405 (b2) for above-mentioned steps 405 (b1) before above-mentioned steps 405 (b3) to step 405 (b4), was illustrated.

The method that the embodiment of the present invention provides, obtain positional information to be shared in the map interface of current display after, according to map interface adjustment operation and the positional information of user, obtain and share map area, position information share is carried out according to shared map area, because positional information to be shared can be any position information that user's current location information or user specify, so the positional information shared is versatile and flexible; In addition, also can obtain according to the map interface adjustment operation of user and share map area, so the shared map area got is various informative, enrich the form of expression of position information share; In addition, owing to carrying out position information share based on map area, treat sharing position information be described so facilitate user, and the mode visual effect of this kind of sharing position information is better, can specify positional information to be shared detail location on map.Further, the requirement of position information share mode to target terminal that the embodiment of the present invention provides is low, and point-to-point communication mode can realize sharing of positional information only to need target terminal to support.

Figure 12 embodiments provides a kind of terminal, and see Figure 12, this terminal comprises: position information acquisition module 1201, map area acquisition module 1202, position information share module 1203.

Wherein, position information acquisition module 1201, in the map interface of current display, obtains positional information to be shared, and positional information is any position information that user's current location information or user specify; Map area acquisition module 1202 is connected with position information acquisition module 1201, and operate and positional information for the map interface adjustment according to user, obtain and share map area, shared map area comprises positional information; Position information share module 1203 map area acquisition module 1202 connects, and for according to sharing map area, carries out position information share.

Alternatively, map area acquisition module, comprising:

Longitude and latitude data determination unit, for the corresponding relation according to positional information and longitude and latitude data, determines the longitude and latitude data of positional information;

Map area acquiring unit, for the latitude and longitude information according to positional information, obtain initially graph region, initially graph region comprises positional information;

Map area display unit, for showing initially graph region on the displaying interface of user terminal;

Map area adjustment unit, for the adjustment operation of interface according to the map, adjust initially graph region, obtain shared map area, initially graph region is greater than shared map area.

Alternatively, map area adjustment unit, during for comprising user annotation interpolation operation when map interface adjustment operation, obtains the operation trace that user annotation adds operation correspondence; According to operation trace, initially graph region adds corresponding markup information.

Alternatively, position information share module, for when not comprising first terminal in target terminal, obtain the shared data sharing map area, first terminal is the target terminal do not established a communications link with shared server, and shared data at least comprise the latitude and longitude information of positional information, map scaling and map denotation size; Shared data are sent to shared server, to make shared server after receiving shared data, data retransmission will be shared to target terminal, by target terminal after sharing map area according to shared data genaration, shared map area is shown.

Alternatively, position information share module, for when not comprising first terminal in target terminal, obtain the shared data sharing map area, first terminal is the target terminal do not established a communications link with shared server, and shared data at least comprise the latitude and longitude information of positional information, map scaling and map denotation size; By point-to-point communication mode, shared data are sent to target terminal, to make target terminal after sharing map area according to shared data genaration, shared map area are shown.

Alternatively, position information share module, for when target terminal comprises first terminal, generate the picture comprising shared map area, first terminal is the target terminal do not established a communications link with shared server; By point-to-point communication mode, the picture comprising shared map area is sent to first terminal.

Alternatively, position information share module, also for obtaining the shared data of shared map area, shared data at least comprise the latitude and longitude information of positional information, map scaling and map denotation size; By point-to-point communication mode, shared data are sent to the second terminal, to make the second terminal after sharing map area according to shared data genaration, shared map area shown, the second terminal is the target terminal established a communications link with shared server.

Alternatively, this terminal also comprises:

End message acquisition module, for obtaining the target terminal information of positional information;

Transmission module on end message, for target terminal information is uploaded to shared server, to make shared server judge whether there is first terminal in target terminal according to target terminal information, and is back to user terminal by judged result.

Alternatively, map area adjustment unit, for when map interface adjustment operation comprises map zoom operations, obtains the map scaling chi that map zoom operations is corresponding; Scaling chi according to the map, carries out zoom operations to initially graph region.

Alternatively, map area adjustment unit, for when map interface adjustment operation comprises map move operation, obtains the mobile yardstick that map move operation is corresponding; According to mobile yardstick, initially graph region is adjusted.

The terminal that the embodiment of the present invention provides, obtain positional information to be shared in the map interface of current display after, according to map interface adjustment operation and the positional information of user, obtain and share map area, position information share is carried out according to shared map area, because positional information to be shared can be any position information that user's current location information or user specify, so the positional information shared is versatile and flexible; In addition, also can obtain according to the map interface adjustment operation of user and share map area, so the shared map area got is various informative, enrich the form of expression of position information share; In addition, owing to carrying out position information share based on map area, treat sharing position information be described so facilitate user, and the mode visual effect of this kind of sharing position information is better, can specify positional information to be shared detail location on map.

Figure 13 is a kind of server that the embodiment of the present invention provides, and see Figure 13, this server comprises: share data reception module 1301, share data transmission blocks 1302.

Wherein, share data reception module 1301, for receiving the shared data that user terminal sends, shared data at least comprise the latitude and longitude information of positional information, map scaling and map denotation size; Share data transmission blocks 1302 to be connected with shared data reception module 1301, for data retransmission will be shared to target terminal, to make target terminal after basis shares data genaration map area, the displaying interface of map area at target terminal is shown.

Alternatively, this server also comprises:

End message receiver module, for receiving the target terminal information of user terminal uploads;

Terminal judges module, for according to target terminal information, judge whether there is first terminal in target terminal, obtain judged result, first terminal is the terminal do not established a communications link with shared server;

Judged result issues module, for judged result is back to user terminal, carries out position information share to make user terminal according to judged result and the shared map area got.

The server that the embodiment of the present invention provides, after receiving the shared data of user terminal transmission, data retransmission will be shared to target terminal, thus target terminal is according to after shared data genaration map area, this map area is shown, owing to carrying out position information share based on map area, treats sharing position information be described so facilitate user, and the mode visual effect of this kind of sharing position information is better, positional information to be shared detail location on map can be specified.

Figure 14 is a kind of terminal that the embodiment of the present invention provides, and this terminal may be used for the method performing the sharing position information provided in above-described embodiment.See Figure 14, this terminal 1400 comprises:

RF (Radio Frequency, radio frequency) circuit 110, the memory 120 including one or more computer-readable recording mediums, input unit 130, display unit 140, transducer 150, voicefrequency circuit 160, WiFi (Wireless Fidelity, Wireless Fidelity) module 170, include the parts such as processor 180 and power supply 190 that more than or processes core.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of the terminal structure shown in Figure 14, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:

RF circuit 110 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, transfer to more than one or one processor 180 to process; In addition, base station is sent to by relating to up data.Usually, RF circuit 110 includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low noise amplifier), duplexer etc.In addition, RF circuit 110 can also by radio communication and network and other devices communicatings.Radio communication can use arbitrary communication standard or agreement, include but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, code division multiple access), WCDMA (Wideband CodeDivision Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc.

Memory 120 can be used for storing software program and module, and processor 180 is stored in software program and the module of memory 120 by running, thus performs the application of various function and data processing.Memory 120 mainly can comprise storage program district and store data field, and wherein, storage program district can storage operation system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of terminal 1400.In addition, memory 120 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 120 can also comprise Memory Controller, to provide the access of processor 180 and input unit 130 pairs of memories 120.

Input unit 130 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, action bars, optics or trace ball signal and inputs.Particularly, input unit 130 can comprise Touch sensitive surface 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on Touch sensitive surface 131 or near Touch sensitive surface 131 such as finger, stylus) thereon, and drive corresponding jockey according to the formula preset.Optionally, Touch sensitive surface 131 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 180, and the order that energy receiving processor 180 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize Touch sensitive surface 131.Except Touch sensitive surface 131, input unit 130 can also comprise other input equipments 132.Particularly, other input equipments 132 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.

Display unit 140 can be used for the various graphical user interface showing information or the information being supplied to user and the terminal 1400 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 140 can comprise display floater 141, optionally, the form such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) can be adopted to configure display floater 141.Further, Touch sensitive surface 131 can cover display floater 141, when Touch sensitive surface 131 detects thereon or after neighbouring touch operation, send processor 180 to determine the type of touch event, on display floater 141, provide corresponding vision to export with preprocessor 180 according to the type of touch event.Although in fig. 14, Touch sensitive surface 131 and display floater 141 be as two independently parts to realize input and output function, in certain embodiments, can by integrated to Touch sensitive surface 131 and display floater 141 and realize input and output function.

Terminal 1400 also can comprise at least one transducer 150, such as optical sensor, motion sensor and other transducers.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display floater 141, proximity transducer when terminal 1400 moves in one's ear, can cut out display floater 141 and/or backlight.As the one of motion sensor, Gravity accelerometer can detect the size of all directions (are generally three axles) acceleration, size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as pedometer, knock) etc.; As for terminal 1400 also other transducers such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.

Voicefrequency circuit 160, loud speaker 161, microphone 162 can provide the audio interface between user and terminal 1400.Voicefrequency circuit 160 can by receive voice data conversion after the signal of telecommunication, be transferred to loud speaker 161, by loud speaker 161 be converted to voice signal export; On the other hand, the voice signal of collection is converted to the signal of telecommunication by microphone 162, voice data is converted to after being received by voicefrequency circuit 160, after again voice data output processor 180 being processed, through RF circuit 110 to send to such as another terminal, or export voice data to memory 120 to process further.Voicefrequency circuit 160 also may comprise earphone jack, to provide the communication of peripheral hardware earphone and terminal 1400.

WiFi belongs to short range wireless transmission technology, and by WiFi module 170, terminal 1400 can help that user sends and receive e-mail, browsing page and access streaming video etc., and its broadband internet wireless for user provides is accessed.

Processor 180 is control centres of terminal 1400, utilize the various piece of various interface and the whole mobile phone of connection, software program in memory 120 and/or module is stored in by running or performing, and call the data be stored in memory 120, perform various function and the deal with data of terminal 1400, thus integral monitoring is carried out to mobile phone.Optionally, processor 180 can comprise one or more process core; Preferably, processor 180 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 180.

Terminal 1400 also comprises the power supply 190 (such as battery) of powering to all parts, preferably, power supply can be connected with processor 180 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 190 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.

Although not shown, terminal 1400 can also comprise camera, bluetooth module etc., does not repeat them here.Specifically in the present embodiment, the display unit of terminal is touch-screen display, terminal also includes memory, and one or more than one program, one of them or more than one program are stored in memory, and are configured to be performed by more than one or one processor state more than one or one program package containing the instruction for carrying out following operation:

In the map interface of current display, obtain positional information to be shared, positional information is any position information that user's current location information or user specify;

According to map interface adjustment operation and the positional information of user, obtain and share map area, shared map area comprises positional information;

According to shared map area, carry out position information share.

Suppose that above-mentioned is the first possible execution mode, then, in the execution mode that the second provided based on the execution mode that the first is possible is possible, in the memory of terminal, also comprise the instruction for performing following operation:

According to the corresponding relation of positional information and longitude and latitude data, determine the longitude and latitude data of positional information;

According to the latitude and longitude information of positional information, obtain initially graph region, initially graph region comprises positional information;

Initially graph region is shown on the displaying interface of user terminal;

Interface adjustment operation according to the map, adjust initially graph region, obtain shared map area, initially graph region is greater than shared map area.

In the third the possible execution mode provided based on the execution mode that the second is possible, in the memory of terminal, also comprise the instruction for performing following operation:

When map interface adjustment operation comprises user annotation interpolation operation, obtain the operation trace that user annotation adds operation correspondence;

According to operation trace, initially graph region adds corresponding markup information.

In the 4th kind of possible execution mode provided based on the execution mode that the first is possible, in the memory of terminal, also comprise the instruction for performing following operation:

When not comprising first terminal in target terminal, obtain the shared data sharing map area, first terminal is the target terminal do not established a communications link with shared server, and shared data at least comprise the latitude and longitude information of positional information, map scaling and map denotation size;

Shared data are sent to shared server, to make shared server after receiving shared data, data retransmission will be shared to target terminal, by target terminal after sharing map area according to shared data genaration, shared map area is shown.

In the 5th kind of possible execution mode provided based on the execution mode that the first is possible, in the memory of terminal, also comprise the instruction for performing following operation:

When not comprising first terminal in target terminal, obtain the shared data sharing map area, first terminal is the target terminal do not established a communications link with shared server, and shared data at least comprise the latitude and longitude information of positional information, map scaling and map denotation size;

By point-to-point communication mode, shared data are sent to target terminal, to make target terminal after sharing map area according to shared data genaration, shared map area are shown.

In the 6th kind of possible execution mode provided based on the execution mode that the first is possible, in the memory of terminal, also comprise the instruction for performing following operation:

When target terminal comprises first terminal, generate the picture comprising shared map area, first terminal is the target terminal do not established a communications link with shared server;

By point-to-point communication mode, the picture comprising shared map area is sent to first terminal.

In the 7th kind of possible execution mode provided based on the 6th kind of possible execution mode, in the memory of terminal, also comprise the instruction for performing following operation:

Obtain and share the shared data of map area, shared data at least comprise the latitude and longitude information of positional information, map scaling and map denotation size;

By point-to-point communication mode, shared data are sent to the second terminal, to make the second terminal after sharing map area according to shared data genaration, shared map area shown, the second terminal is the target terminal established a communications link with shared server.

In the 8th kind of possible execution mode provided based on the 4th kind to the 7th kind possible execution mode, in the memory of terminal, also comprise the instruction for performing following operation:

Obtain the target terminal information of positional information;

Target terminal information is uploaded to shared server, to make shared server judge whether there is first terminal in target terminal according to target terminal information, and judged result is back to user terminal.

In the 9th kind of possible execution mode provided based on the execution mode that the second is possible, in the memory of terminal, also comprise the instruction for performing following operation:

When map interface adjustment operation comprises map zoom operations, obtain the map scaling chi that map zoom operations is corresponding;

Scaling chi according to the map, carries out zoom operations to initially graph region.

In the tenth kind of possible execution mode provided based on the execution mode that the second is possible, in the memory of terminal, also comprise the instruction for performing following operation:

When map interface adjustment operation comprises map move operation, obtain the mobile yardstick that map move operation is corresponding;

According to mobile yardstick, initially graph region is adjusted.

The terminal that the embodiment of the present invention provides, obtain positional information to be shared in the map interface of current display after, according to map interface adjustment operation and the positional information of user, obtain and share map area, position information share is carried out according to shared map area, because positional information to be shared can be any position information that user's current location information or user specify, so the positional information shared is versatile and flexible; In addition, also can obtain according to the map interface adjustment operation of user and share map area, so the shared map area got is various informative, enrich the form of expression of position information share; In addition, owing to carrying out position information share based on map area, treat sharing position information be described so facilitate user, and the mode visual effect of this kind of sharing position information is better, can specify positional information to be shared detail location on map.

Figure 15 is a kind of server that the embodiment of the present invention provides, and this server may be used for the method performing the sharing position information provided in above-described embodiment.See Figure 15, this server 1500 can produce larger difference because of configuration or performance difference, one or more central processing units (centralprocessing units can be comprised, CPU) 1522 (such as, one or more processors) and memory 1532, one or more store the storage medium 1530 (such as one or more mass memory units) of application program 1542 or data 1544.Wherein, memory 1532 and storage medium 1530 can be of short duration storages or store lastingly.The program being stored in storage medium 1530 can comprise one or more modules (diagram does not mark), and each module can comprise a series of command operatings in server.Further, central processing unit 1522 can be set to communicate with storage medium 1530, and server 1500 performs a series of command operatings in storage medium 1530.

Server 1500 can also comprise one or more power supplys 1526, one or more wired or wireless network interfaces 1550, one or more input/output interfaces 1558, and/or, one or more operating systems 1541, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc.

Specifically in the present embodiment, be configured to perform more than one or one program package containing the instruction for carrying out following operation by more than one or one processor:

Receive the shared data that user terminal sends, shared data at least comprise the latitude and longitude information of positional information, map scaling and map denotation size;

Data retransmission will be shared to target terminal, to make target terminal after basis shares data genaration map area, the displaying interface of map area at target terminal be shown.

Suppose that above-mentioned is the first possible execution mode, then, in the execution mode that the second provided based on the execution mode that the first is possible is possible, in the memory of server, also comprise the instruction for performing following operation:

Receive the target terminal information of user terminal uploads;

According to target terminal information, judge whether there is first terminal in target terminal, obtain judged result, first terminal is the terminal do not established a communications link with shared server;

Judged result is back to user terminal, carries out position information share to make user terminal according to judged result and the shared map area got.

The server that the embodiment of the present invention provides, after receiving the shared data of user terminal transmission, data retransmission will be shared to target terminal, thus target terminal is according to after shared data genaration map area, this map area is shown, owing to carrying out position information share based on map area, treats sharing position information be described so facilitate user, and the mode visual effect of this kind of sharing position information is better, positional information to be shared detail location on map can be specified.

It should be noted that: the terminal that above-described embodiment provides and server are when sharing position information, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by equipment is divided into different functional modules, to complete all or part of function described above.In addition, the embodiment of the method for the terminal that above-described embodiment provides and server and shared positional information belongs to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.

One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.

The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (24)

1. a method for sharing position information, is characterized in that, described method comprises:
In the map interface of current display, obtain positional information to be shared, described positional information is any position information that user's current location information or user specify;
According to map interface adjustment operation and the described positional information of user, obtain and share map area, described shared map area comprises described positional information;
According to described shared map area, carry out position information share.
2. method according to claim 1, is characterized in that, described according to user's map interface adjustment operation and described positional information, obtains and shares map area, comprising:
According to the corresponding relation of positional information and longitude and latitude data, determine the longitude and latitude data of described positional information;
According to the latitude and longitude information of described positional information, obtain initially graph region, described initially graph region comprises described positional information;
Described initially graph region is shown on the displaying interface of described user terminal;
According to described map interface adjustment operation, adjust described initially graph region, obtain described shared map area, described initially graph region is greater than described shared map area.
3. method according to claim 2, is characterized in that, described according to described map interface adjustment operation, adjusts, comprising described initially graph region:
When described map interface adjustment operation comprises user annotation interpolation operation, obtain described user annotation and add operation trace corresponding to operation;
According to described operation trace, described initially graph region adds corresponding markup information.
4. method according to claim 1, is characterized in that, described according to described shared map area, carries out position information share, comprising:
When not comprising first terminal in target terminal, obtain the shared data of described shared map area, described first terminal is the target terminal do not established a communications link with shared server, and described shared data at least comprise the latitude and longitude information of described positional information, map scaling and map denotation size;
Described shared data are sent to described shared server, to make described shared server after receiving described shared data, by described shared data retransmission to described target terminal, by described target terminal after share map area according to described shared data genaration, described shared map area is shown.
5. method according to claim 1, is characterized in that, described according to described shared map area, carries out position information share, comprising:
When not comprising described first terminal in target terminal, obtain the shared data of described shared map area, described first terminal is the target terminal do not established a communications link with shared server, and described shared data at least comprise the latitude and longitude information of described positional information, map scaling and map denotation size;
By point-to-point communication mode, described shared data are sent to described target terminal, to make described target terminal after share map area according to described shared data genaration, described shared map area are shown.
6. method according to claim 1, is characterized in that, described according to described shared map area, carries out position information share, comprising:
When target terminal comprises described first terminal, generate the picture comprising described shared map area, described first terminal is the target terminal do not established a communications link with shared server;
By point-to-point communication mode, the picture comprising described shared map area is sent to described first terminal.
7. method according to claim 6, is characterized in that, described method also comprises:
Obtain the shared data of described shared map area, described shared data at least comprise the latitude and longitude information of described positional information, map scaling and map denotation size;
By point-to-point communication mode, described shared data are sent to the second terminal, to make described second terminal after share map area according to described shared data genaration, described shared map area shown, described second terminal is the target terminal established a communications link with described shared server.
8. the method according to claim arbitrary in claim 4 to 7, is characterized in that, described according to described shared map area, before carrying out position information share, described method also comprises:
Obtain the target terminal information of described positional information;
Described target terminal information is uploaded to described shared server, to make described shared server judge whether there is described first terminal in described target terminal according to described target terminal information, and judged result is back to described user terminal.
9. method according to claim 2, is characterized in that, described according to described map interface adjustment operation, adjusts, comprising described initially graph region:
When described map interface adjustment operation comprises map zoom operations, obtain the map scaling chi that described map zoom operations is corresponding;
According to described map scaling chi, zoom operations is carried out to described initially graph region.
10. method according to claim 2, is characterized in that, described according to described map interface adjustment operation, adjusts, comprising described initially graph region:
When described map interface adjustment operation comprises map move operation, obtain the mobile yardstick that described map move operation is corresponding;
According to described mobile yardstick, described initially graph region is adjusted.
The method of 11. 1 kinds of sharing position information, is characterized in that, described method comprises:
Receive the shared data that user terminal sends, described shared data at least comprise the latitude and longitude information of described positional information, map scaling and map denotation size;
By described shared data retransmission to target terminal, to make described target terminal after according to described shared data genaration map area, the displaying interface of described map area at described target terminal is shown.
12. methods according to claim 11, is characterized in that, described method also comprises:
Receive the target terminal information of described user terminal uploads;
According to described target terminal information, judge whether there is first terminal in described target terminal, obtain judged result, described first terminal is the terminal do not established a communications link with described shared server;
Described judged result is back to described user terminal, carries out position information share to make described user terminal according to described judged result and the shared map area got.
13. 1 kinds of terminals, is characterized in that, described terminal comprises:
Position information acquisition module, in the map interface of current display, obtains positional information to be shared, and described positional information is any position information that user's current location information or user specify;
Map area acquisition module, operate and described positional information for the map interface adjustment according to user, obtain and share map area, described shared map area comprises described positional information;
Position information share module, for according to described shared map area, carries out position information share.
14. terminals according to claim 13, is characterized in that, described map area acquisition module, comprising:
Longitude and latitude data determination unit, for the corresponding relation according to positional information and longitude and latitude data, determines the longitude and latitude data of described positional information;
Map area acquiring unit, for the latitude and longitude information according to described positional information, obtains initially graph region, and described initially graph region comprises described positional information;
Map area display unit, for showing described initially graph region on the displaying interface of described user terminal;
Map area adjustment unit, for operating according to described map interface adjustment, adjust described initially graph region, obtain described shared map area, described initially graph region is greater than described shared map area.
15. terminals according to claim 14, is characterized in that, described map area adjustment unit, for when described map interface adjustment operation comprises user annotation interpolation operation, obtain described user annotation and add operation trace corresponding to operation; According to described operation trace, described initially graph region adds corresponding markup information.
16. terminals according to claim 13, it is characterized in that, described position information share module, for when not comprising first terminal in target terminal, obtain the shared data of described shared map area, described first terminal is the target terminal do not established a communications link with shared server, and described shared data at least comprise the latitude and longitude information of described positional information, map scaling and map denotation size; Described shared data are sent to described shared server, to make described shared server after receiving described shared data, by described shared data retransmission to described target terminal, by described target terminal after share map area according to described shared data genaration, described shared map area is shown.
17. terminals according to claim 13, it is characterized in that, described position information share module, for when not comprising described first terminal in target terminal, obtain the shared data of described shared map area, described first terminal is the target terminal do not established a communications link with shared server, and described shared data at least comprise the latitude and longitude information of described positional information, map scaling and map denotation size; By point-to-point communication mode, described shared data are sent to described target terminal, to make described target terminal after share map area according to described shared data genaration, described shared map area are shown.
18. terminals according to claim 13, it is characterized in that, described position information share module, for when target terminal comprises described first terminal, generate the picture comprising described shared map area, described first terminal is the target terminal do not established a communications link with shared server; By point-to-point communication mode, the picture comprising described shared map area is sent to described first terminal.
19. terminals according to claim 18, it is characterized in that, described position information share module, also for obtaining the shared data of described shared map area, described shared data at least comprise the latitude and longitude information of described positional information, map scaling and map denotation size; By point-to-point communication mode, described shared data are sent to the second terminal, to make described second terminal after share map area according to described shared data genaration, described shared map area shown, described second terminal is the target terminal established a communications link with described shared server.
20. according to claim 16 to the terminal described in arbitrary claim in 19, and it is characterized in that, described terminal also comprises:
End message acquisition module, for obtaining the target terminal information of described positional information;
Transmission module on end message, for described target terminal information is uploaded to described shared server, to make described shared server judge whether there is described first terminal in described target terminal according to described target terminal information, and judged result is back to described user terminal.
21. terminals according to claim 14, is characterized in that, described map area adjustment unit, for when described map interface adjustment operation comprises map zoom operations, obtain the map scaling chi that described map zoom operations is corresponding; According to described map scaling chi, zoom operations is carried out to described initially graph region.
22. terminals according to claim 14, is characterized in that, described map area adjustment unit, for when described map interface adjustment operation comprises map move operation, obtain the mobile yardstick that described map move operation is corresponding; According to described mobile yardstick, described initially graph region is adjusted.
23. 1 kinds of servers, is characterized in that, described server comprises:
Share data reception module, for receiving the shared data that user terminal sends, described shared data at least comprise the latitude and longitude information of described positional information, map scaling and map denotation size;
Share data transmission blocks, for by described shared data retransmission to target terminal, to make described target terminal after according to described shared data genaration map area, the displaying interface of described map area at described target terminal is shown.
24. servers according to claim 23, is characterized in that, described server also comprises:
End message receiver module, for receiving the target terminal information of described user terminal uploads;
Terminal judges module, for according to described target terminal information, judges whether there is first terminal in described target terminal, obtains judged result, described first terminal is the terminal do not established a communications link with described shared server;
Judged result issues module, for described judged result is back to described user terminal, carries out position information share to make described user terminal according to described judged result and the shared map area got.
CN201410213543.1A 2014-05-20 2014-05-20 Method, terminal and the server of sharing position information CN104618854B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410213543.1A CN104618854B (en) 2014-05-20 2014-05-20 Method, terminal and the server of sharing position information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410213543.1A CN104618854B (en) 2014-05-20 2014-05-20 Method, terminal and the server of sharing position information

Publications (2)

Publication Number Publication Date
CN104618854A true CN104618854A (en) 2015-05-13
CN104618854B CN104618854B (en) 2018-07-10

Family

ID=53153091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410213543.1A CN104618854B (en) 2014-05-20 2014-05-20 Method, terminal and the server of sharing position information

Country Status (1)

Country Link
CN (1) CN104618854B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105472559A (en) * 2015-12-25 2016-04-06 重庆智韬信息技术中心 Method for acquiring positioning information data of calling terminal
CN106375320A (en) * 2016-09-06 2017-02-01 珠海市魅族科技有限公司 Geographic position information sharing method and apparatus
CN106603650A (en) * 2016-12-08 2017-04-26 宇龙计算机通信科技(深圳)有限公司 Position information sharing method and terminal devices
CN106708538A (en) * 2017-01-23 2017-05-24 腾讯科技(深圳)有限公司 Interface display method and device
CN107015246A (en) * 2016-01-28 2017-08-04 华为技术有限公司 A kind of navigational assistance method and terminal shared based on scene
WO2017143896A1 (en) * 2016-02-22 2017-08-31 腾讯科技(深圳)有限公司 Route information-related interactive method, electronic apparatus, and computer storage medium
WO2019023884A1 (en) * 2017-07-31 2019-02-07 深圳传音通讯有限公司 Smart terminal-based merchant information sharing method and merchant information sharing system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101201253A (en) * 2006-12-13 2008-06-18 宏碁股份有限公司 Electronic device sharing data through instant message and method thereof
CN101390414A (en) * 2006-02-24 2009-03-18 雅虎公司 User-defined private maps
US8000726B2 (en) * 2006-06-01 2011-08-16 Loopt, Inc. Network manager system for location-aware mobile communication devices
CN102264029A (en) * 2011-08-01 2011-11-30 中兴通讯股份有限公司 The method of sharing information terminal apparatus and
CN103067588A (en) * 2012-12-27 2013-04-24 青岛英特沃克网络科技有限公司 System and method with which real-time map is capable of being displayed and shared in mobile terminal
JP5276746B1 (en) * 2012-11-21 2013-08-28 オーシャンズ株式会社 Information sharing system using maps

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101390414A (en) * 2006-02-24 2009-03-18 雅虎公司 User-defined private maps
US8000726B2 (en) * 2006-06-01 2011-08-16 Loopt, Inc. Network manager system for location-aware mobile communication devices
CN101201253A (en) * 2006-12-13 2008-06-18 宏碁股份有限公司 Electronic device sharing data through instant message and method thereof
CN102264029A (en) * 2011-08-01 2011-11-30 中兴通讯股份有限公司 The method of sharing information terminal apparatus and
JP5276746B1 (en) * 2012-11-21 2013-08-28 オーシャンズ株式会社 Information sharing system using maps
CN103067588A (en) * 2012-12-27 2013-04-24 青岛英特沃克网络科技有限公司 System and method with which real-time map is capable of being displayed and shared in mobile terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105472559A (en) * 2015-12-25 2016-04-06 重庆智韬信息技术中心 Method for acquiring positioning information data of calling terminal
CN107015246A (en) * 2016-01-28 2017-08-04 华为技术有限公司 A kind of navigational assistance method and terminal shared based on scene
WO2017143896A1 (en) * 2016-02-22 2017-08-31 腾讯科技(深圳)有限公司 Route information-related interactive method, electronic apparatus, and computer storage medium
CN106375320A (en) * 2016-09-06 2017-02-01 珠海市魅族科技有限公司 Geographic position information sharing method and apparatus
CN106603650A (en) * 2016-12-08 2017-04-26 宇龙计算机通信科技(深圳)有限公司 Position information sharing method and terminal devices
CN106708538A (en) * 2017-01-23 2017-05-24 腾讯科技(深圳)有限公司 Interface display method and device
WO2019023884A1 (en) * 2017-07-31 2019-02-07 深圳传音通讯有限公司 Smart terminal-based merchant information sharing method and merchant information sharing system

Also Published As

Publication number Publication date
CN104618854B (en) 2018-07-10

Similar Documents

Publication Publication Date Title
US9344838B2 (en) Data transmission method and apparatus, and terminal with touch screen
CN103475996A (en) Network connecting method, network sharing method and devices
CN103327102A (en) Application program recommending method and device
US9769605B2 (en) Systems, devices, and methods for sharing geographic location
CN103458408A (en) Network connection method and network sharing method and device
KR20140010157A (en) Mobile terminal and method for controlling same
CN103458016A (en) Method and device for picture management and terminal device
CN103414766A (en) Method, device and terminal equipment for installing application
CN103874018A (en) Access point information sharing method and device
CN104035948B (en) Geographic position display packing and device
CN103327189B (en) Method and device for uploading, browsing and deleting pictures
EP2672682A2 (en) Mobile terminal and controlling method thereof
US20170168768A1 (en) Content displaying method and device
CN104853043A (en) Notification message filtering and control method, smart phone and system
CN103309562A (en) Desktop display method, desktop display device and mobile terminal
CN104518953B (en) Method for deleting message, instant communication terminal and system
CN103414982B (en) A kind of method and apparatus that sound is provided
CN103414814A (en) Picture processing method and device and terminal device
CN104834517A (en) Mobile terminal power-saving method and mobile terminal
CN103476064A (en) Method and device for flow control of terminal device and terminal device
CN103501482A (en) Network access method, network access device and terminal
CN103365419B (en) A kind of method and apparatus triggering alarm clock control command
CN103294515B (en) A kind of methods, devices and systems for obtaining application program
KR20150020080A (en) Method for communicating data and electronic device thereof
CN103473051B (en) A kind of method and apparatus for saving power consumption of terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant