CN108572979A - A kind of position service method and device, a kind of device for location-based service - Google Patents
A kind of position service method and device, a kind of device for location-based service Download PDFInfo
- Publication number
- CN108572979A CN108572979A CN201710142871.0A CN201710142871A CN108572979A CN 108572979 A CN108572979 A CN 108572979A CN 201710142871 A CN201710142871 A CN 201710142871A CN 108572979 A CN108572979 A CN 108572979A
- Authority
- CN
- China
- Prior art keywords
- user
- point
- location
- interest
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Navigation (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
An embodiment of the present invention provides a kind of position service method and device, a kind of device for location-based service, method therein specifically includes:Determine at least two user location points;According at least two user location point, corresponding target closed figure is generated on map;According to the target closed figure, source location is determined;Provide a user the corresponding location-based service of the source location.The embodiment of the present invention can improve user and obtain the efficiency of location-based service, and can simplify the process flow of party scheme, improve the treatment effeciency of party scheme.
Description
Technical field
The present invention relates to fields of communication technology, and position is used for more particularly to a kind of position service method and device, one kind
The device of service.
Background technology
With the development of information technology, GPS (global positioning system, Global Positioning System) technologies and
Communication technology combination is more and more closer, and associated product is also increasingly abundant, such as Mobile Telephone Gps software, leading with communication function
Navigate instrument, the notebook etc. with navigation and communication function.
The prior art can utilize the service of the said goods offer individual position, for example, present bit can be provided a user
Dining room near setting can for another example be provided a user using current location as starting point, using target location as the navigation Service of terminal
Deng.
However, existing scheme does not have the function to multiple user-provided location services.For example, being related to more people's parties
Scene under, the processing procedure of existing party scheme specifically includes:First, user passes through cumbersome call, bulk SMS or postal
The lines such as part under type discusses party scheme;Then, according to final party scheme, assembly place information is inquired with map;
Finally, the assembly place information found is notified to all users by way of instant messaging.As it can be seen that existing party scheme
Complex disposal process, also, above-mentioned line under type cause user for discuss party scheme participation rate it is relatively low, in this way, hold
Easily there is individual user for the unsatisfied situation of party scheme, and then lead to that party scheme is discussed repeatedly, leads to party scheme
Treatment effeciency it is relatively low.
Invention content
In view of the above problems, the embodiment of the present invention proposes one kind and overcoming the above problem or solve at least partly above-mentioned
Position service method, position service apparatus and the device for location-based service of problem, the embodiment of the present invention can improve user
The efficiency of location-based service is obtained, and the process flow of party scheme can be simplified, improves the treatment effeciency of party scheme.
To solve the above-mentioned problems, the invention discloses a kind of position service methods, including:
Determine at least two user location points;
According at least two user location point, corresponding target closed figure is generated on map;
According to the target closed figure, source location is determined;
Provide a user the corresponding location-based service of the source location.
On the other hand, the invention discloses a kind of position service apparatus, including:
User location point determining module, for determining at least two user location points;
Graph generation module, for according at least two user location point, corresponding target envelope to be generated on map
Close figure;
Source location determining module, for according to the target closed figure, determining source location;And
Service providing module, for providing a user the corresponding location-based service of the source location.
Optionally, the source location is determined based on following factor:It is the geometric center point of the target closed figure, each
Distance central point between user location point or time-consuming central point.
Optionally, the service providing module includes:
First service provides submodule, for searching the distance between described source location no more than distance threshold
First candidate point of interest, and show the source location and the first candidate point of interest on map;Or
Second service provides submodule, for showing at least one party type, in response to user for the party class
First trigger action of type searches the mesh using the corresponding party type of first trigger action as target party type
Mark party type is corresponding and is no more than the second candidate point of interest of distance threshold with the distance between the source location,
And show the source location and the second candidate point of interest on map.
Optionally, described device further includes:
Interface display module is selected, for for the first candidate point of interest or the second candidate interest showed on map
Point shows corresponding selection interface;
Target point of interest determining module, for receiving user by the selection interface for the described first candidate point of interest
Either the second trigger action of the second candidate point of interest will the corresponding first candidate's point of interest of second trigger action or the
Two candidate points of interest, as target point of interest.
Optionally, described device further includes:
First sharing module, for sharing the target point of interest to preset user.
Optionally, the source location determining module includes:
Candidate shows submodule, for showing source location candidate on map;
Candidate confirms submodule, will be described true for the confirmation operation according to user for source location candidate
The candidate corresponding position of the corresponding source location of operation is recognized as the source location.
Optionally, the user location point determining module includes:
First display sub-module adds interface for display location;
First determination sub-module adds the first position point that interface inputs, by institute for receiving user by the position
First position point is stated as user location point.
Optionally, the user location point determining module further includes:
Second display sub-module changes interface for display location;
Second determination sub-module changes the second position point that interface inputs, by institute for receiving user by the position
Second position point is stated as user location point.
Optionally, described device further includes:
Route Generation interface display module shows Route Generation interface for being directed to the location point;
Route display module, the target point of interest for being selected according to the source location for the user, display
Target route of the location point to the target point of interest;
Second sharing module, for sharing the target route to preset user.
Optionally, described device further includes:
Service creation interface display module, for showing service creation interface;
Service creation module, for, for the trigger action of the service creation interface, generating party clothes in response to user
Business, and show the operation interface of the party service;
Third sharing module, for sharing the party service to preset user, so that the preset user passes through triggering
The party service shows the operation interface of the party service.
In another aspect, the invention discloses a kind of device for location-based service, include memory and one or
More than one program, either more than one program is stored in memory and is configured to by one or one for one of them
It includes the instruction for being operated below that a above processor, which executes the one or more programs,:
Determine at least two user location points;
According at least two user location point, corresponding target closed figure is generated on map;
Determine the source location;
Provide a user the corresponding location-based service of the source location.
The embodiment of the present invention includes following advantages:
The embodiment of the present invention can generate customized target closed figure according at least two user location points, therefore can
To determine customized target geographic fence by customized target closed figure, and by the target geographic fence to user
Location-based service is provided, the geographic range and communication cost of location-based service are obtained to reduce user by map, therefore, it is possible to save
It saves user and obtains location-based service the time it takes, improve the efficiency that user obtains location-based service.
Also, the embodiment of the present invention can also provide a user the corresponding location-based service of source location, above-mentioned target position
It sets and a little provides effective and reliable decision-making foundation to the user during user obtains location-based service, therefore can further save
User obtains location-based service the time it takes, can further increase the efficiency that user obtains location-based service.
In addition, in the scene met applied to more people, it is multiple that above-mentioned user location point can be used for indicating that party is related to
The position of user, in this way, at least two user location points that the embodiment of the present invention can be related to according to party, generate corresponding mesh
Mark closed figure determines source location according to the target closed figure, so that user is on the basis of the source location
On, the planning of party scheme is carried out, for example, the point of interest on the source location periphery can be chosen as assembly place etc.,
In this way, the process flow of party scheme can be simplified, the treatment effeciency of party scheme is improved.
Description of the drawings
Fig. 1 is a kind of schematic diagram of the application environment of information processing method of the present invention;
Fig. 2 is a kind of step flow chart of position service method embodiment one of the present invention;
Fig. 3 is a kind of step flow chart of position service method embodiment two of the present invention;
Fig. 4 is a kind of step flow chart of position service method embodiment three of the present invention;
Fig. 5 is a kind of structure diagram of position service apparatus embodiment of the present invention;
Fig. 6 be the present invention a kind of device for location-based service as intelligent terminal when structure diagram;And
Fig. 7 is the structure diagram of server in some embodiments of the present invention.
Specific implementation mode
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, below in conjunction with the accompanying drawings and specific real
Applying mode, the present invention is described in further detail.
An embodiment of the present invention provides a kind of location-based service scheme, the program can determine at least two user location points;
According at least two user location point, corresponding target closed figure is generated on map;According to the target Closed Graph
Shape determines source location, and provides a user the corresponding location-based service of the source location.Due to above-mentioned target Closed Graph
The corresponding virtual boundary of shape can be used for determining corresponding target geographic fence, and the embodiment of the present invention can be used according at least two
Family location point generates customized target closed figure, therefore the embodiment of the present invention can be true by customized target closed figure
Fixed customized target geographic fence, and location-based service is provided a user by the target geographic fence, passed through with reducing user
Map obtains the geographic range of location-based service and links up cost, obtains what location-based service was spent therefore, it is possible to save user
Time improves the efficiency that user obtains location-based service.
Also, the embodiment of the present invention can also provide a user the corresponding location-based service of source location, wherein above-mentioned mesh
Cursor position point can be geometric center point, distance center, cost time centre of target closed figure etc., above-mentioned source location
Effective and reliable decision-making foundation is provided to the user during user obtains location-based service, therefore can further save user
Location-based service the time it takes is obtained, the efficiency that user obtains location-based service can be further increased.
In the scene met applied to more people, above-mentioned user location point can be used for indicating multiple users' that party is related to
Position, in this way, at least two user location points that the embodiment of the present invention can be related to according to party, generate corresponding target closing
Figure determines source location according to the target closed figure, so that user is on the basis of the source location, into
The planning of row party scheme, for example, the point of interest on the source location periphery can be chosen as assembly place etc., in this way,
The process flow of party scheme can be simplified, improve the treatment effeciency of party scheme.
In addition, the embodiment of the present invention can support the online modification of party scheme, therefore it disclosure satisfy that the anti-of party scheme
Demand is changed again, further increases the treatment effeciency of party scheme.
The embodiment of the present invention can be applied to the application scenarios (APP and/or webpage) for arbitrarily having map display function
In, to promote the efficiency that user obtains location-based service, for example, above-mentioned APP (application program, Application) may include:It is clear
Look at device APP, map APP, navigation APP etc., for another example, above-mentioned webpage may include:Map page and the phase that map inquiry is provided
Close webpage etc..It is appreciated that those skilled in the art can determine the applied field of the embodiment of the present invention according to practical application request
Scape, for example, it is also possible to which the embodiment of the present invention is applied in background analysis or the application scenarios of operating system, the present invention is real
Example is applied not limit specific application scenarios.
Position service method provided in an embodiment of the present invention can be applied in application environment shown in FIG. 1, as shown in Figure 1,
Client 100 is located at server 200 in wired or wireless network, by the wired or wireless network, client 100 and service
Device 200 carries out data interaction.
The location-based service flow of the embodiment of the present invention can be by any execution of client 100 and server 200.For example, objective
Family end 100 can determine at least two user location points, according to above-mentioned at least two user location point, generate and correspond on map
Target closed figure, and send above-mentioned at least two user location point or above-mentioned target closed figure to server 200, by
Server 200 determines source location according to the target closed figure, and sends the source location to client 100,
By client 100 according to the source location, the corresponding location-based service of the source location is provided a user.
Wherein, the source location is obtained by calculation by server 200,200 computing resource of server can be played
Abundant advantage improves the acquisition efficiency of source location and obtains accuracy rate.For example, Cloud Server can be deployed with it is numerous high
The computing device of configuration, therefore the acquisition of source location is carried out using these computing devices, to improve the acquisition of source location
Efficiency and acquisition accuracy rate;The calculation resources of 100 side of client can be saved simultaneously, improve intelligence corresponding to client 100 eventually
The performance at end.
Certainly, the acquisition of source location can be also carried out by client 100;Also, client 100 can be with server 200
The step of being performed in unison with according to the source location, providing a user the source location corresponding location-based service, for example,
The lookup etc. of the corresponding periphery point of interest of the source location is carried out in interest point data base by server.
Optionally, client 100 may operate on intelligent terminal, and above-mentioned intelligent terminal can be to have map denotation work(
The arbitrary APP of energy, above-mentioned intelligent terminal are specifically including but not limited to:Smart mobile phone, tablet computer, E-book reader, MP3
(dynamic image expert's compression standard audio level 3, Moving Picture Experts Group Audio Layer III)
Player, MP4 (dynamic image expert's compression standard audio level 4, Moving Picture Experts Group Audio
Layer IV) it is player, pocket computer on knee, vehicle-mounted computer, desktop computer, set-top box, intelligent TV set, wearable
Equipment etc..
Embodiment of the method one
With reference to Fig. 2, shows a kind of step flow chart of position service method embodiment one of the present invention, can specifically wrap
Include following steps:
Step 201 determines at least two user location points;
Step 202, according at least two user location point, corresponding target closed figure is generated on map;
Step 203, according to the target closed figure, determine source location;
Step 204 provides a user the corresponding location-based service of the source location.
The embodiment of the present invention can be applied in the application scenarios of the APP and/or webpage arbitrarily with map display function,
By taking APP as an example, the APP with map display function is known as location-based service APP by the embodiment of the present invention.
Above-mentioned user location point can be used for characterizing the position of user under each application scenarios, to be taken to corresponding user-provided location
Business.For example, under the scene of more people party, the position for multiple users that above-mentioned user location point can be used for indicating that party is related to.
In practical applications, at least two user location points in step 201 can be specified by user, and/or, it can be by location-based service APP
It automatically determines.
In the case of at least two user location points are specified by user, location-based service APP can provide a user UI and (use
Family interface, UserInterface) so that user specifies at least two user location points by UI.Optionally, above-mentioned at least two
A user location point can be specified by a user or multiple users.For example, under the scene of more people party, at least two use
Position where multiple users that family location point can be used for indicating to attend a party, can be by a user (such as the initiation user of party)
Come at least two user location points for specifying party to be related to, at least two use that party is related to can be also respectively specified that by multiple users
Family location point, the embodiment of the present invention do not limit the mode that is specifically designated of at least two user location points.
In a kind of alternative embodiment of the present invention, the step 201 of at least two user location point of above-mentioned determination can wrap
It includes:Add interface in display location;The first position point that user adds interface input by the position is received, by described first
It sets and to be used as user location point.
In another alternative embodiment of the present invention, can display location addition interface first, then in response to
Family the location entries are added with the trigger action of interface, point of addition item and the position addition for showing the location entries currently added
Interface.Wherein, above-mentioned position addition interface can show as word, icon (the corresponding icon of such as "+") form, if receiving
User adds the position trigger action of interface, can show corresponding location entries, wherein a location entries can correspond to
There are one user location points.After receiving user for the trigger action of position addition interface, it can show as position
The blank position item for adding interface, so that user fills the information of user location point into the blank position item.For example, user can
To input the keyword of user location point directly in the blank position item, alternatively, the position that user can will show on map
Point is drawn to the blank position item, it will be understood that the embodiment of the present invention does not limit the filling mode of the blank position item
System.Optionally, which can also include:The information such as user name, intuitively to illustrate that ashram is related to by the user name
User.For example, the user that party is related to includes:Zhang San, Li Si, king five, Zhao six etc. can then add for each user respectively
The corresponding location entries, the information of each position item are added to may include:The information such as user name, user location point, so that user uses
The input of the information such as name in an account book, user location point.
Wherein it is possible to by arbitrary triggering mode, the display of position addition interface is triggered, for example, can be by preset
The triggering modes such as shortcut key, preset plug-in unit or preset elements trigger the display of position addition interface, the embodiment of the present invention
The corresponding concrete trigger condition of display that interface is added for the position does not limit.A kind of in the present invention applying example
In, above-mentioned preset plug-in unit can be the preset party plug-in unit for party that location-based service APP is provided, then user can be by touching
It sends out preset party plug-in unit above-mentioned, triggers the display of above-mentioned position addition interface.
In a kind of alternative embodiment of the present invention, above-mentioned position addition interface can carry input frame, so that user is logical
The modes such as keyboard input, voice input, map dragging input, current location input are crossed, first position is inputted in the input frame
The information of point.Wherein, above-mentioned map, which pulls input mode, can make user that the location point shown on map is drawn to the input
Frame;The current location that terminal device positions can be input to the input frame by above-mentioned current location input mode.
In another alternative embodiment of the present invention, the step 201 of at least two user location point of above-mentioned determination may be used also
To include:Change interface in display location;The second position point that user changes interface input by the position is received, by described the
Two location points are as user location point.When there are the demand of location revision point, interface can be changed by above-mentioned position and carried out
The input of second position point.In practical applications, it is understood that there may be for the modification demand of user location point, for example, poly- in more people
Under the scene of meeting, the party time is evening Friday, and the original user location point of certain user is position 1 (such as company position), and all
It goes to for five daytimes position 2 to handle affairs temporarily, then needs position 1 being revised as position 2, the user location by position 2 as the user
Point.Certainly, the embodiment of the present invention does not limit the concrete modification process of user location point.
In another alternative embodiment of the present invention, the embodiment of the present invention can support multiple users to take same party
The operation of business, correspondingly, the method for the embodiment of the present invention can also include:Show service creation interface;In response to user for
The trigger action of the service creation interface generates party service, and shows the operation interface of the party service;To preset use
The party service is shared at family, so that the preset user services by triggering the party, shows the behaviour of the party service
Make interface.For example, under the scene of more people party, a user, which can generate party service and share this to preset user, to be gathered
Can service, may include the ID (mark, Identity) of the party service in the sharing information of the party service, due to one it is poly-
The ID that can be serviced is unique, therefore the operation interface of the party service provided to the user shared with the preset user shared can
To be identical.Aforesaid operations interface can be used for realizing the operation for party service, it will be understood that those skilled in the art can
Required operate interface to be arranged in aforesaid operations interface according to practical application request.For example, can be in aforesaid operations interface
Including:Interface is added in position above-mentioned, to add the addition that interface carries out user location point by the position.For another example, above-mentioned behaviour
Make may include in interface:Interface is changed in position above-mentioned, to change the modification that interface carries out user location point by the position.
Alternatively, can also include in aforesaid operations interface:The selection interface of target point of interest, to pass through the selection party pair of the selection interface
Target point of interest answered etc..It is appreciated that the embodiment of the present invention does not limit physical interface included in operation interface
System.
In the case of at least two user location points are automatically determined by location-based service APP, location-based service APP can be utilized
GPS technology obtains the location point where multiple intelligent terminals used by a user.Wherein, multiple user can be to attend a party
Multiple users.According to some embodiments, determine that the process of the multiple users to attend a party may include:One user generates poly-
Can service, and by sharing, good friend dragging etc. modes, so that other users is participated in the party service, it will be understood that the present invention implement
Example is for determining that the detailed process of the multiple users to attend a party does not limit.
Step 201 determine at least two user location points after, step 202 can be obtained according to step 201 at least two
A user location point generates corresponding target closed figure on map.Above-mentioned closed figure can be used for indicating that (n is just whole by n
Number) line segment or arc composition closed figures, such as triangle, quadrangle, pentagon polygon in planar graph, alternatively,
Circle, ellipse in planar graph etc..The above-mentioned above-mentioned target closed figure for having closure can be used for determining corresponding mesh
Geography fence is marked, therefore location-based service can be provided a user by the target geographic fence, is obtained by map with reducing user
The geographic range of location-based service.
It is above-mentioned according at least two user location point in a kind of alternative embodiment of the present invention, it is raw on map
Generating mode used by step 202 at corresponding target closed figure, can specifically include:
Generating mode 1, on map generate using at least two user location point as the target polygon of endpoint, as
Target closed figure;Or
Generating mode 2 generates the target circle comprising at least two user location point and radius minimum on map
Shape, as target closed figure.
Wherein, generating mode 1 can generate more as the target of endpoint using at least two user location point on map
Side shape, wherein the quantity for the line segment that the polygon includes is corresponding to the quantity of location point.Generating mode 2 can give birth on map
At including that the target of at least two user location point and radius minimum is round, wherein target circle includes described at least two
A user location point refers to that user location point is located on target circle, user location point is located at the circular inside of target.
It is appreciated that above-mentioned generating mode 1, generating mode 2 are intended only as the example of the generating mode of target closed figure,
In fact, those skilled in the art can be according to practical application request, using the arbitrary generating mode of target closed figure, example
Such as, when the quantity of user location point is 2, corresponding target closed figure can also be line segment, and the embodiment of the present invention is for tool
The target closed figure of body and the specific generating mode of target closed figure do not limit.
According to some embodiments, the embodiment of the present invention can show above-mentioned target closed figure on map, alternatively, can be with
Above-mentioned target closed figure is not shown, and can show above-mentioned at least two user location point, and the embodiment of the present invention is for above-mentioned
Whether target closed figure is visible not to limit.
Above-mentioned source location can be used for indicating the critical positions point of target closed figure, and above-mentioned source location is in user
Effective and reliable decision-making foundation is provided to the user during obtaining location-based service, therefore can further be saved user and be obtained position
Service the time it takes is set, the efficiency that user obtains location-based service can be further increased.
In practical applications, the source location can be determined based on following factor:The target closed figure it is several
What distance central point between central point, each user location point or time-consuming central point.Correspondingly, step 203 is according to the target
Closed figure determines that method of determination used by source location may include:
Method of determination 1, by the geometric center point of the target closed figure, as the source location;Or
Method of determination 2 reaches the path length difference of distance central point in the first default model at least two user location point
Under conditions of in enclosing, distance central point is solved, and obtained distance central point will be solved as the source location;Or
Method of determination 3, the cost time difference that time-consuming central point is reached at least two user location point are pre- second
If under conditions of in range, solving and taking central point, and obtained time-consuming central point will be solved as the source location.
Wherein it is determined that the geometric center point in mode 1 may include:The center of gravity of target polygon, unfaithful intention, orthocenter, heart
Deng by taking triangle as an example, center of gravity can be the intersection point of three center lines of triangle, and unfaithful intention can be three of triangle vertically flat
The intersection point of separated time, orthocenter can be the intersection point of three vertical lines of triangle, and heart can be three inner interweavers of triangle
Intersection point;Similarly, the center of gravity of quadrangle can be two cornerwise intersection points, and circular arbitrary geometric center point is the center of circle,
It is appreciated that the embodiment of the present invention does not limit the specific method of determination of the geometric center point of target closed figure.Really
Determine mode 1 by the geometric center point of the target closed figure, as the source location, using the geometric center point as
The foundation of location-based service, therefore the reasonability of location-based service can be improved, promote user experience.
Method of determination 2 can according at least two user location point reach source location distance, determine described in
The distance central point of target closed figure.In practical applications, can using distance central point X as unknown number, and it is described extremely
Under conditions of few two user location points reach the path length difference of distance central point X in the first preset range, solution obtains distance
Central point X.Assuming that a location point of i-th (i is positive integer, the quantity of 0 < i≤user location point) reaches the road of distance central point X
Journey can be expressed as Ji, then JiDifference between any two can be in the first preset range, for example, first preset range can be with
For:JiThe absolute value of difference between any two is less than first threshold, it will be understood that the embodiment of the present invention is pre- for specific second
If range does not limit.
The distance central point that method of determination 2 obtains can as the foundation of location-based service, due to the distance central point be according to
The distance determination of source location is reached according at least two user location point, therefore can ensure that multiple users of party arrive
Up to the harmony of the distance of assembly place, user experience is promoted.
Method of determination 3 can reach the cost time of source location according at least two user location point, determine
The time-consuming central point of the target closed figure.It in practical applications, can be using time-consuming central point Y as unknown number, and in institute
The cost time for stating the time-consuming central point Y of at least two user location points arrival under the same conditions, solves and obtains taking central point
Y.Assuming that a location point of i-th (i is positive integer, the quantity of 0 < i≤user location point) reaches the cost time for taking central point Y
It can be expressed as Ti, then TiDifference between any two can be in the second preset range, for example, second preset range can be:
TiThe absolute value of difference between any two is less than second threshold, it will be understood that the embodiment of the present invention is default for specific second
Range does not limit.
The time-consuming central point that method of determination 3 obtains can as the foundation of location-based service, due to this take central point be according to
The cost time determination of source location is reached according at least two user location point, therefore can ensure multiple use of party
Family reaches assembly place and spends time taking harmony, promotes user experience.It should be noted that obtaining described at least two
It, can be with the practical application request of user, for different positions during user location point reaches the cost time of source location
A determining different trip mode is set, for example, above-mentioned trip mode may include:Public transport, self-driving, walking, is ridden at subway,
Then it can determine the corresponding trip mode of the location point of user according to the practical application request of each user to attend a party.
In a kind of alternative embodiment of the present invention, the determination source location 203 may include:In map
On show source location candidate;According to user for the confirmation operation of source location candidate, by the confirmation operation
The candidate corresponding position of corresponding source location is as the source location.Wherein it is possible to using above-mentioned method of determination 1 to
Any or combination in method of determination 3, obtains source location candidate, and above-mentioned source location candidate is presented in map
On, if user is satisfied with certain source location candidate, corresponding confirmation operation can be generated, then the embodiment of the present invention can incite somebody to action
The candidate corresponding position of the corresponding source location of the confirmation operation is as the source location.According to some embodiments,
Above-mentioned confirmation operation may include:Clicking operation etc., it will be understood that the embodiment of the present invention is not subject to specific confirmation operation
Limitation.
Step 204 it is corresponding can to provide a user the source location according to the source location that step 203 obtains
Location-based service.Above-mentioned source location provided to the user during user obtains location-based service effectively and reliable decision according to
According to, therefore can further save user and obtain location-based service the time it takes, user can be further increased and obtain position clothes
The efficiency of business.
The embodiment of the present invention can provide the following service for providing a user the corresponding location-based service of the source location
Presentation mode:
Ways of services supplied 1 is marked the source location on map, so that user is according on the map
The source location of label, obtains required information from the map;Or
The distance between ways of services supplied 2, lookup and described source location are no more than the first candidate of distance threshold
Point of interest, and show the source location and the first candidate point of interest on map;Or
Ways of services supplied 3 shows at least one party type, is touched for the first of the party type in response to user
Hair operation searches the target party type using the corresponding party type of first trigger action as target party type
The second candidate point of interest that is corresponding and being no more than distance threshold with the distance between the source location, and on map
Show the source location and the second candidate point of interest.
Wherein, ways of services supplied 1 can be marked the source location on map, wherein this field skill
Art personnel can be according to practical application request, using required mark mode, to improve the identification of the source location.Example
Such as, word and/or the corresponding mark mode of icon may be used, the source location is marked on map, it can be with
Understand, the embodiment of the present invention does not limit specific mark mode.Ways of services supplied 1 can make user according to described
The source location marked on map, obtains required information from the map.For example, user can lead on map
Such as amplification, mobile mode is crossed, browses the point of interest on the source location periphery, and therefrom select required target interest
Point, as assembly place.
Ways of services supplied 2 can search the of the distance between described source location no more than distance threshold automatically
One candidate point of interest, and show the source location and the first candidate point of interest on map.It is provided relative to service
User obtains required information according to source location by artificial browsing mode in mode 1, and ways of services supplied 2 can be automatic
The first candidate point of interest is searched, and carries out the first the automatic of candidate point of interest and shows, to reduce the pageview of user.Optionally,
The lookup of the above-mentioned first candidate point of interest can be carried out in map data base, which can be used for storing point of interest
Data.In the embodiment of the present invention, a point of interest can be a house, a retail shop, a mailbox, a bus station etc.,
The data of each POI generally comprise:Title, classification, address, longitude and latitude etc. information.Optionally, those skilled in the art can
According to practical application request, to determine above-mentioned distance threshold, for example, above-mentioned distance threshold can be 500m, 1000m etc..It is optional
It ground can when more no more than the quantity of the first candidate point of interest of distance threshold with the distance between the source location
With the sequence according to point of interest temperature from high to low, the above-mentioned first candidate point of interest is ranked up, and to the knot that sorts accordingly
Fruit is showed, so that user selects required target point of interest from the first candidate point of interest showed.
In practical applications, the quantity of the point of interest on the source location periphery may be more, and ways of services supplied 3 can
To show at least one party type, for selection by the user.Above-mentioned party type can be used for indicating and relevant point of interest of meetting
Type.Optionally, above-mentioned party type may include:Have a dinner party, the trip of KTV, table, coffee, bathing, body-building etc., it is possible to understand that this hair
Bright embodiment does not limit type of specifically meetting.Since the quantity of party type is far smaller than the class of candidate point of interest
Type, therefore the above-mentioned party type showed can make user quickly select required party type, promote user experience.Optionally,
It can be carried out showing for above-mentioned party type by modes such as pop-up, floating layers, the embodiment of the present invention is for above-mentioned party type
Specific ways of presentation does not limit.
In addition, the embodiment of the present invention after step 203 obtains source location, can directly show at least one party class
Type can also show at least one party type when meeting trigger condition.For example, above-mentioned trigger condition can be:For pre-
Set the trigger action of shortcut key or the trigger action of the source location for showing etc..That is, one kind in the present invention can
Select in embodiment, source location can be showed, and in response to user for the trigger action of the source location, show to
A kind of few party type.It should be noted that the embodiment of the present invention is for the touching for the source location in response to user
Hair operation, the execution opportunity for showing at least one party type does not limit, that is, user is generated at any time for institute
Above-mentioned party type can be showed by stating the trigger action of source location, in this way, can meet user repeatedly checks party class
The demand of type.For example, user during decision party scheme, triggers source location first carries out at least one party class
Type shows, and party Class1 has been selected from at least one party type showed, and obtains party Class1 corresponding the
One candidate point of interest can continue to trigger source location to carry out at least one if it is dissatisfied to the first candidate point of interest
Kind party type shows, and selects type 2 of meetting from at least one party type showed.
It is corresponding to providing a user the source location above by ways of services supplied 1 to ways of services supplied 3
The process of location-based service is described in detail, it will be understood that those skilled in the art can use according to practical application request
Any in above-mentioned ways of services supplied 1 to ways of services supplied 3 or combination, it will be understood that the embodiment of the present invention for
The detailed process that user provides the corresponding location-based service of the source location does not limit.
In a kind of alternative embodiment of the present invention, the above method can also include:It is waited for first showed on map
Point of interest or the second candidate point of interest are selected, shows corresponding selection interface;User is received by the selection interface for institute
The second trigger action for stating the first candidate point of interest or the second candidate point of interest, by second trigger action corresponding first
Candidate point of interest or the second candidate point of interest, as target point of interest.Wherein, above-mentioned selection interface may be disposed at the first time
In the details page for selecting point of interest or the second candidate point of interest, the first candidate point of interest or the second time also may be disposed at
Select near point of interest corresponding icon, it will be understood that the embodiment of the present invention for above-mentioned selection interface specific ways of presentation not
It limits.
It is appreciated that above-mentioned be directed to the candidate point of interest of first showed on map or the second candidate point of interest, display pair
The mode for the selection interface answered is intended only as alternative embodiment, in fact, those skilled in the art can be according to practical application need
It asks, corresponding selection interface is shown for the arbitrary point of interest showed on map, it will be understood that the embodiment of the present invention is for selection
Specific point of interest corresponding to interface does not limit.
In another alternative embodiment of the present invention, the method for the embodiment of the present invention can also include:To preset user
Share the target point of interest.This alternative embodiment can support sharing for target point of interest, so that preset user acquisition is above-mentioned
Target point of interest.In practical applications, after triggering above-mentioned target point of interest, corresponding sharing interface can be shown, to use
Family " sharing the target point of interest to preset user " is triggered by the sharing interface.Wherein, which can be position
Service the interface that APP or location-based service website provide, or the interface that instant messaging APP is provided, then above-mentioned preset use
Family can be the user (such as good friend user) specified by location-based service APP or instant messaging APP, it will be understood that the present invention
The detailed process that embodiment shares the target point of interest for specific preset user and to preset user is not limited
System.
In another alternative embodiment of the present invention, the above method can also include:For the user location point, show
Show Route Generation interface;For the target point of interest that the user determines, show the user location point to the target interest
The target route of point;Share the target route to preset user.Wherein it is possible to the user location point corresponding icon on map
Near show above-mentioned Route Generation interface, alternatively, above-mentioned Route Generation interface can be arranged in the information of aforementioned location item,
That is, the information of each position item may include:The information such as user name, location point, Route Generation interface.On it should be noted that
Stating Route Generation interface may include:The corresponding Route Generation interface of arbitrary trip mode, for example, above-mentioned trip mode can wrap
It includes:Public transport, self-driving, walking, is ridden at subway.The preset user shared as a result, can see the user location point of itself and arrive
Public transport up to assembly place and/or self-driving route.
It should be noted that location-based service APP can be by modes such as user account or cachings, for user's operation
The corresponding information of party service log crossed, the information of above-mentioned party service may include:User location point, target Closed Graph
The information such as shape, source location, target point of interest and corresponding operation interface, then user is subsequently in the presence of for party service
When checking or editing demand, can by record party service information, to user present party service information and
Its corresponding edition interface, to realize that user checks or edit demand for party service.
To sum up, the position service method of the embodiment of the present invention can generate self-defined according at least two user location points
Target closed figure, therefore can determine customized target geographic fence by customized target closed figure, and pass through
The target geographic fence provides a user location-based service, and the geographic range and ditch of location-based service are obtained to reduce user by map
Logical cost obtains location-based service the time it takes therefore, it is possible to save user, improves the efficiency that user obtains location-based service.
Also, the embodiment of the present invention can also provide a user the corresponding location-based service of the source location, above-mentioned mesh
Cursor position point provides effective and reliable decision-making foundation to the user during user obtains location-based service, therefore can be further
It saves user and obtains location-based service the time it takes, the efficiency that user obtains location-based service can be further increased.
In addition, in the scene met applied to more people, it is multiple that above-mentioned user location point can be used for indicating that party is related to
The position of user, in this way, at least two user location points that the embodiment of the present invention can be related to according to party, generate corresponding mesh
Closed figure is marked, so that user carries out the rule of party scheme on the basis of the target closed figure and its source location
It draws, for example, the point of interest on the source location periphery can be chosen as assembly place etc., in this way, party side can be simplified
The process flow of case improves the treatment effeciency of party scheme.
Embodiment of the method two
Under the scene of more people party, the user that the embodiment of the present invention can be related to party (use by the initiation of party
Family) corresponding location-based service is provided.
With reference to Fig. 3, shows a kind of step flow chart of position service method embodiment two of the present invention, can specifically wrap
Include following steps:
Step 301, display location addition interface;
For example, location-based service APP can provide the preset party plug-in unit for party, then user can be above-mentioned by triggering
Preset party plug-in unit triggers the display of above-mentioned location entries addition interface.
Step 302, the trigger action that in response to user the location entries are added with interface, display add interface as position
Blank position item;
Step 303 receives the first position point that user adds interface input by the position, by the first position point
As user location point;
In a kind of application example of the present invention, it is assumed that the user being related to that meets includes:Zhang San, Li Si, king five, Zhao six etc.
Deng, it is assumed that Zhang San is the initiation user of party, then Zhang San can add interface by the location entries, obtain the blank position of itself
, and the current location that intelligent terminal positions is input to the blank position item;Also, Zhang San can also be added by the location entries
Adjunction mouth, addition Li Si, six corresponding blank position item of king five and Zhao, and the filling of above-mentioned blank position item is carried out, as a result, may be used
To obtain at least two user location points of the users such as Zhang San, Li Si, king five, Zhao six.Optionally, the information of each position item can be with
Including:The information such as user name, location point, position modification interface, Route Generation interface, so that user carries out user name, location point
Etc. information input.
Step 304 generates on map using at least two user location point as the target polygon of endpoint, and foundation
The target polygon determines source location;
Wherein it is possible to which above-mentioned at least two user location point is marked on map, and drawn with institute on map
State the target polygon that at least two user location points are endpoint.Assuming that the quantity of user location point is 4, then above-mentioned target is polygon
Shape can be quadrangle.
Step 305 shows at least one party type;
Step 306, in response to user for it is described party type trigger action, by the corresponding party of the trigger action
Type is met type as target, and it is corresponding and the distance between with the source location to search target party type
No more than the second candidate point of interest of distance threshold, and show the source location and the second candidate interest on map
Point;
Optionally, above-mentioned party type may include:Have a dinner party, the trip of KTV, table, coffee, bathing, body-building etc., it is assumed that Yong Hudian
" KTV " has been hit, then can show " KTV " corresponding candidate KTV in the target polygonal internal of map.
Step 307, in response to user for the trigger action of the described second candidate point of interest, show that be triggered second waits
Select the detail information and selection interface of point of interest;
Step 308, in response to user for it is described selection interface trigger action, by the trigger action corresponding second
Candidate point of interest is as target point of interest;
Target point of interest herein can be selected assembly place.
Step 309, generate and show the user location point to the target point of interest target route, and to preset use
Share the target route in family.
For example, Zhang San can generate interface with pass course, the user location point of Zhang San, Li Si, king five, Zhao six are generated respectively
To the target route of the target point of interest, and by the modes such as location-based service APP, instant messaging APP, short message APP to Li Si,
King five, Zhao six share above-mentioned target route.
To sum up, the position service method of the embodiment of the present invention, the user that can be met under scene by more people determine more
Corresponding at least two user location point of a user, and according to the target polygon obtained based at least two user location point
And source location, provide source location corresponding location-based service to the user, so that the user is based on the source location
Decision obtains the target point of interest as assembly place;It is carried out since the embodiment of the present invention can make the user pass through operation interface
Party is handled, therefore can simplify the process flow of party scheme, improves the treatment effeciency of party scheme.
Embodiment of the method three
Under the scene of more people party, multiple users that the embodiment of the present invention can be related to party provide corresponding position
Service.
With reference to Fig. 4, shows a kind of step flow chart of position service method embodiment three of the present invention, can specifically wrap
Include following steps:
Step 401, display service creation interface;
Wherein it is possible to carry out the display of the service creation interface by modes such as plug-in unit, components.
Step 402, in response to user for the trigger action of the service creation interface, generate party service, and show
The operation interface of the party service;
Step 403 shares the party service to preset user, so that the preset user is taken by triggering the party
Business shows the operation interface of the party service;
Under the scene of more people party, a user can generate party service, and share being somebody's turn to do for generation to preset user
Party services, and may include the ID of the party service in the sharing information of the party service, since the ID of a party service is
Uniquely, therefore to the user shared the operation interface of the party service provided with the preset user shared is identical.It is above-mentioned
Operation interface can be used for realizing the operation for party service, it will be understood that those skilled in the art can be according to practical application
Required operate interface is arranged in demand in aforesaid operations interface.For example, may include in aforesaid operations interface:Position above-mentioned
Interface is added, to add the addition that interface carries out user location point by the position.For another example, it can be wrapped in aforesaid operations interface
It includes:Interface is changed in position above-mentioned, to change the modification that interface carries out user location point by the position.Alternatively, aforesaid operations
Can also include in interface:The selection interface of target point of interest, to pass through the corresponding target interest of the selection interface selection party
Point etc..It is appreciated that the embodiment of the present invention does not limit physical interface included in operation interface.
Step 404 receives at least two user location points that multiple users are specified by operation interface;
Wherein, the user shared can specify corresponding use by aforesaid operations interface per family with preset use shared
Family location point.
In a kind of application example of the present invention, it is assumed that the user being related to that meets includes:Zhang San, Li Si, king five, Zhao six etc.
Deng, then Zhang San can by the operation interface specify Zhang San user location point, then the user location point of Zhang San be displayed at
In the operation interfaces and map of multiple users such as Zhang San, Li Si, king five, Zhao six;Similarly, Li Si can be referred to by the operation interface
Determine the user location point of Li Si, then the user location point of Li Si is displayed at multiple users such as Zhang San, Li Si, king five, Zhao six
Operation interface and map on ..., finally, the user location point of multiple users such as Zhang San, Li Si, king five, Zhao six is designated,
And it is marked on the map of multiple users such as Zhang San, Li Si, king five, Zhao six.
Step 405 generates on map using at least two user location point as the target polygon of endpoint, and foundation
The target polygon determines source location;
Wherein, it is drawn on the map of multiple users such as Zhang San, Li Si, king five, Zhao six at least two user position
Set the target polygon a little for endpoint.Assuming that the quantity of user location point is 4, then above-mentioned target polygon can be quadrangle.
Step 406 shows at least one party type;
Step 407, in response to user for it is described party type trigger action, by the corresponding party of the trigger action
Type is met type as target, and it is corresponding and the distance between with the source location to search target party type
No more than the second candidate point of interest of distance threshold, and show the source location and the second candidate interest on map
Point;
Step 408, in response to user for the trigger action of the described second candidate point of interest, show that be triggered second waits
Select the detail information and selection interface of point of interest;
Optionally, the target party type of user's selection can be carried out simultaneous display on the map of multiple users,
Alternatively, the detail information and selection interface of the second candidate point of interest being triggered can be synchronized on the map of multiple users
Synchronization process of multiple users for scheme of meetting may be implemented in display in this way.Alternatively, poly- for the target of user selection
Meeting type and the second candidate point of interest being triggered, multiple users can not may be implemented in this way for party by simultaneous display
The asynchronous process of scheme.
Step 409, in response to user for it is described selection interface trigger action, by the selection interface corresponding second
Candidate point of interest is as target point of interest;
In practical applications, the multiple users being related to that meet can be held consultation by instant messaging mode, will with determination
Which the second candidate point of interest is as target point of interest.
Step 410, generate and show the user location point to the target point of interest target route.
Wherein, each user to attend a party can check the user location point and row of other users by map
Route is walked, also, the embodiment of the present invention can provide the functions such as instant messaging or real time phone call by location-based service APP.
To sum up, the position service method of the embodiment of the present invention, the multiple users that can be met under scene by more people determine more
Corresponding at least two user location point of a user, and obtain target polygon and target according at least two user location point
Location point provides source location corresponding location-based service, so that the user is obtained based on the source location decision to the user
To the target point of interest as assembly place;Due to the embodiment of the present invention can make multiple users by unified operation interface come
Party processing is carried out, therefore the process flow of party scheme can be simplified, improves the treatment effeciency of party scheme.
It should be noted that for embodiment of the method, for simple description, therefore it is dynamic to be all expressed as a series of movement
It combines, but those skilled in the art should understand that, the embodiment of the present invention is not limited by described athletic performance sequence
System, because of embodiment according to the present invention, certain steps can be performed in other orders or simultaneously.Secondly, art technology
Personnel should also know that embodiment described in this description belongs to preferred embodiment, and involved athletic performance simultaneously differs
Surely it is necessary to the embodiment of the present invention.
Device embodiment
With reference to Fig. 5, shows a kind of structure diagram of position service apparatus embodiment of the present invention, can specifically include:
User location point determining module 501, graph generation module 502, source location determining module 503 and service providing module 504.
Wherein, user location point determining module 501, for determining at least two user location points;
Graph generation module 502, for according at least two user location point, corresponding target to be generated on map
Closed figure;
Source location determining module 503, for according to the target closed figure, determining source location;And
Service providing module 504, for providing a user the corresponding location-based service of the source location.
Optionally, the source location is determined based on following factor:It is the geometric center point of the target closed figure, each
Distance central point between user location point or time-consuming central point.
Optionally, the service providing module 504 may include:
First service provides submodule, for searching the distance between described source location no more than distance threshold
First candidate point of interest, and show the source location and the first candidate point of interest on map;Or
Second service provides submodule, for showing at least one party type, in response to user for the party class
First trigger action of type searches the mesh using the corresponding party type of first trigger action as target party type
Mark party type is corresponding and is no more than the second candidate point of interest of distance threshold with the distance between the source location,
And show the source location and the second candidate point of interest on map.
Optionally, described device can also include:
Interface display module is selected, for for the first candidate point of interest or the second candidate interest showed on map
Point shows corresponding selection interface;
Target point of interest determining module, for receiving user by the selection interface for the described first candidate point of interest
Either the second trigger action of the second candidate point of interest will the corresponding first candidate's point of interest of second trigger action or the
Two candidate points of interest, as target point of interest.
Optionally, described device can also include:
First sharing module, for sharing the target point of interest to preset user.
Optionally, the source location determining module 503 may include:
Candidate shows submodule, for showing source location candidate on map;
Candidate confirms submodule, will be described true for the confirmation operation according to user for source location candidate
The candidate corresponding position of the corresponding source location of operation is recognized as the source location.
Optionally, the user location point determining module 501 may include:
First display sub-module adds interface for display location;
First determination sub-module adds the first position point that interface inputs, by institute for receiving user by the position
First position point is stated as user location point.
Optionally, the user location point determining module 501 can also include:
Second display sub-module changes interface for display location;
Second determination sub-module changes the second position point that interface inputs, by institute for receiving user by the position
Second position point is stated as user location point.
Optionally, described device can also include:
Route Generation interface display module shows Route Generation interface for being directed to the location point;
Route display module, the target point of interest for being selected according to the source location for the user, display
Target route of the location point to the target point of interest;
Second sharing module, for sharing the target route to preset user.
Optionally, described device can also include:
Service creation interface display module, for showing service creation interface;
Service creation module, for, for the trigger action of the service creation interface, generating party clothes in response to user
Business, and show the operation interface of the party service;
Third sharing module, for sharing the party service to preset user, so that the preset user passes through triggering
The party service shows the operation interface of the party service.
For device embodiments, since it is basically similar to the method embodiment, so fairly simple, the correlation of description
Place illustrates referring to the part of embodiment of the method.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiment, the same or similar parts between the embodiments can be referred to each other.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 6 be a kind of device for location-based service shown according to an exemplary embodiment as intelligent terminal when frame
Figure.For example, device 900 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console puts down
Panel device, Medical Devices, body-building equipment, personal digital assistant etc..
With reference to Fig. 6, device 900 may include following one or more components:Processing component 902, memory 904, power supply
Component 906, multimedia component 908, audio component 910, the interface 912 of input/output (I/O), sensor module 914, and
Communication component 916.
The integrated operation of 902 usual control device 900 of processing component, such as with display, call, data communication, phase
Machine operates and record operates associated operation.Processing element 902 may include that one or more processors 920 refer to execute
It enables, to perform all or part of the steps of the methods described above.In addition, processing component 902 may include one or more modules, just
Interaction between processing component 902 and other assemblies.For example, processing component 902 may include multi-media module, it is more to facilitate
Interaction between media component 908 and processing component 902.
Memory 904 is configured as storing various types of data to support the operation in equipment 900.These data are shown
Example includes instruction for any application program or method that are operated on device 900, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 904 can be by any kind of volatibility or non-volatile memory device or their group
It closes and realizes, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile
Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 906 provides electric power for the various assemblies of device 900.Power supply module 906 may include power management system
System, one or more power supplys and other generated with for device 900, management and the associated component of distribution electric power.
Multimedia component 908 is included in the screen of one output interface of offer between described device 900 and user.One
In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings
Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding motion
The boundary of action, but also detect duration and pressure associated with the touch or slide operation.In some embodiments,
Multimedia component 908 includes a front camera and/or rear camera.When equipment 900 is in operation mode, mould is such as shot
When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting
Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 910 is configured as output and/or input audio signal.For example, audio component 910 includes a Mike
Wind (MIC), when device 900 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone by with
It is set to reception external audio signal.The received audio signal can be further stored in memory 904 or via communication set
Part 916 is sent.In some embodiments, audio component 910 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 912 provide interface between processing component 902 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor module 914 includes one or more sensors, and the state for providing various aspects for device 900 is commented
Estimate.For example, sensor module 914 can detect the state that opens/closes of equipment 900, and the relative positioning of component, for example, it is described
Component is the display and keypad of device 900, and sensor module 914 can be with 900 1 components of detection device 900 or device
Position change, the existence or non-existence that user contacts with device 900,900 orientation of device or acceleration/deceleration and device 900
Temperature change.Sensor module 914 may include proximity sensor, be configured to detect without any physical contact
Presence of nearby objects.Sensor module 914 can also include optical sensor, such as CMOS or ccd image sensor, at
As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 916 is configured to facilitate the communication of wired or wireless way between device 900 and other equipment.Device
900 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.In an exemplary implementation
In example, communication component 916 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 916 further includes near-field communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 900 can be believed by one or more application application-specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of
Such as include the memory 904 of instruction, above-metioned instruction can be executed by the processor 920 of device 900 to complete the above method.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
Fig. 7 is the structure diagram of server in some embodiments of the present invention.The server 1900 can be because of configuration or performance
It is different and generate bigger difference, may include one or more central processing units (central processing
Units, CPU) 1922 (for example, one or more processors) and memory 1932, one or more storage applications
The storage medium 1930 (such as one or more mass memory units) of program 1942 or data 1944.Wherein, memory
1932 and storage medium 1930 can be of short duration storage or persistent storage.The program for being stored in storage medium 1930 may include one
A or more than one module (diagram does not mark), each module may include to the series of instructions operation in server.More into
One step, central processing unit 1922 could be provided as communicating with storage medium 1930, and storage medium is executed on server 1900
Series of instructions operation in 1930.
Server 1900 can also include one or more power supplys 1926, one or more wired or wireless nets
Network interface 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, one or
More than one operating system 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM
Etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is held by the processor of device
When row so that device is able to carry out a kind of position service method, the method includes:Determine at least two user location points;According to
According at least two user location point, corresponding target closed figure is generated on map;According to the target closed figure,
Determine source location;Provide a user the corresponding location-based service of the source location.
Optionally, the source location is determined based on following factor:It is the geometric center point of the target closed figure, each
Distance central point between user location point or time-consuming central point
It is optionally, described to provide a user the corresponding location-based service of the source location according to the source location,
Including:
The first candidate point of interest that the distance between described source location is no more than distance threshold is searched, and in map
On show the source location and the first candidate point of interest;And/or
Show at least one party type, it, will be described in response to user for the first trigger action of the party type
The corresponding party type of first trigger action is met type as target, search target party type it is corresponding and with institute
Second candidate point of interest of the distance between the source location no more than distance threshold is stated, and shows the target position on map
It sets a little and the second candidate point of interest.
Optionally, described device be also configured to by one either more than one processor execute it is one or one
Procedure above includes the instruction for being operated below:It is waited for the first candidate point of interest showed on map or second
Point of interest is selected, shows corresponding selection interface;Receive user by the selection interface for it is described first candidate point of interest or
Second trigger action of the candidate point of interest of person second, by the corresponding first candidate point of interest or second of second trigger action
Candidate point of interest, as target point of interest.
Optionally, described device be also configured to by one either more than one processor execute it is one or one
Procedure above includes the instruction for being operated below:Share the target point of interest to preset user.
Optionally, the determination source location, including:Show source location candidate on map;According to use
Family for source location candidate confirmation operation, by the candidate corresponding position of the corresponding source location of the confirmation operation
It sets as the source location.
Optionally, at least two user location point of the determination, including:Add interface in display location;User is received to pass through
The first position point of the position addition interface input, using the first position point as user location point.
Optionally, at least two user location point of the determination further includes:Change interface in display location;It is logical to receive user
The second position point for crossing the position modification interface input, using the second position point as user location point.
Optionally, the method further includes:For the user location point, Route Generation interface is shown;For the use
Family determine target point of interest, show the user location point to the target point of interest target route;To preset user point
Enjoy the target route.
Optionally, described device be also configured to by one either more than one processor execute it is one or one
Procedure above includes the instruction for being operated below:Show service creation interface;In response to user for the waiter
At the trigger action of interface, party service is generated, and shows the operation interface of the party service;Share to preset user described
Party service shows the operation interface of the party service so that the preset user services by triggering the party.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the present invention
Its embodiment.The present invention is directed to cover the present invention any variations, uses, or adaptations, these modifications, purposes or
Person's adaptive change follows the general principle of the present invention and includes the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be understood that the invention is not limited in the precision architectures for being described above and being shown in the accompanying drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.
It a kind of takes above to a kind of position service method provided by the present invention, a kind of position service apparatus and for position
The device of business, is described in detail, and specific case used herein explains the principle of the present invention and embodiment
It states, the explanation of above example is only intended to facilitate the understanding of the method and its core concept of the invention;Meanwhile for this field
Those skilled in the art, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, to sum up institute
It states, the content of the present specification should not be construed as limiting the invention.
Claims (12)
1. a kind of position service method, which is characterized in that including:
Determine at least two user location points;
According at least two user location point, corresponding target closed figure is generated on map;
According to the target closed figure, source location is determined;
Provide a user the corresponding location-based service of the source location.
2. according to the method described in claim 1, it is characterized in that, determining the target location based on following at least one factor
Point:Distance central point between the geometric center point of the target closed figure, each user location point or time-consuming central point.
3. according to the method described in claim 1, it is characterized in that, described provide a user the corresponding position of the source location
The service of setting, including:
It searches the distance between described source location and is no more than the first candidate point of interest of distance threshold, and opened up on map
The existing source location and the first candidate point of interest;Or
Show at least one party type, in response to user for the first trigger action of the party type, by described first
The corresponding party type of trigger action is met type as target, search target party type it is corresponding and with the mesh
The distance between cursor position point is no more than the second candidate point of interest of distance threshold, and shows the source location on map
With the described second candidate point of interest.
4. according to the method described in claim 3, it is characterized in that, the method further includes:
For the first candidate point of interest or the second candidate point of interest showed on map, corresponding selection interface is shown;
User is received to touch for the second of the described first candidate point of interest or the second candidate point of interest by the selection interface
Hair operation, by the corresponding first candidate point of interest of second trigger action or the second candidate point of interest, as target interest
Point.
5. according to the method described in claim 4, it is characterized in that, the method further includes:
Share the target point of interest to preset user.
6. according to any method in claim 1 to 5, which is characterized in that it is described according to the target closed figure, really
Set the goal location point, including:
Show source location candidate on map;
According to user for the confirmation operation of source location candidate, the corresponding source location of the confirmation operation is waited
Select corresponding position as the source location.
7. according to any method in claim 1 to 5, which is characterized in that at least two user location point of the determination,
Including:
Add interface in display location;
The first position point that user adds interface input by the position is received, using the first position point as user location
Point.
8. the method according to the description of claim 7 is characterized in that at least two user location point of the determination, further includes:
Change interface in display location;
The second position point that user changes interface input by the position is received, using the second position point as user location
Point.
9. according to any method in claim 1 to 5, which is characterized in that the method further includes:
For the user location point, Route Generation interface is shown;
For the target point of interest that the user determines, show the user location point to the target road of the target point of interest
Line;
Share the target route to preset user.
10. according to any method in claim 1 to 5, which is characterized in that the method further includes:
Show service creation interface;
In response to user for the trigger action of the service creation interface, party service is generated, and shows the party service
Operation interface;
Share the party service to preset user, so that the preset user services by triggering the party, described in display
The operation interface of party service.
11. a kind of position service apparatus, which is characterized in that including:
User location point determining module, for determining at least two user location points;
Graph generation module, for according at least two user location point, corresponding target Closed Graph to be generated on map
Shape;
Source location determining module, for according to the target closed figure, determining source location;And
Service providing module, for providing a user the corresponding location-based service of the source location.
12. a kind of device for location-based service, which is characterized in that include memory and one or more than one
Program, either more than one program is stored in memory and is configured to by one or more than one processing for one of them
It includes the instruction for being operated below that device, which executes the one or more programs,:
Determine at least two user location points;
According at least two user location point, corresponding target closed figure is generated on map;
According to the target closed figure, source location is determined;
Provide a user the corresponding location-based service of the source location.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710142871.0A CN108572979A (en) | 2017-03-10 | 2017-03-10 | A kind of position service method and device, a kind of device for location-based service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710142871.0A CN108572979A (en) | 2017-03-10 | 2017-03-10 | A kind of position service method and device, a kind of device for location-based service |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108572979A true CN108572979A (en) | 2018-09-25 |
Family
ID=63578105
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710142871.0A Pending CN108572979A (en) | 2017-03-10 | 2017-03-10 | A kind of position service method and device, a kind of device for location-based service |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108572979A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110427572A (en) * | 2019-07-15 | 2019-11-08 | 奇酷互联网络科技(深圳)有限公司 | Find good friend's method, mobile terminal and storage medium |
CN110572310A (en) * | 2019-07-10 | 2019-12-13 | 上海易点时空网络有限公司 | Address book-based driving test route sharing method, terminal and storage medium |
CN111210293A (en) * | 2018-11-22 | 2020-05-29 | 北京嘀嘀无限科技发展有限公司 | Invoice guiding method and device, electronic equipment and computer readable storage medium |
CN113038405A (en) * | 2020-06-10 | 2021-06-25 | 深圳市拓安信计控仪表有限公司 | Pipe network facility positioning method, pipe network facility positioning device and mobile terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102506884A (en) * | 2011-10-28 | 2012-06-20 | 百度在线网络技术(北京)有限公司 | Method, system and device for recommending gathering places for multiple users on basis of maps |
CN105184615A (en) * | 2015-09-29 | 2015-12-23 | 袁汉宁 | Restaurant recommendation method |
US20150371196A1 (en) * | 2014-06-18 | 2015-12-24 | Naver Corporation | Method, system, and non-transitory recording medium for meeting place recommendation using locations and preferences of users and file distribution system |
CN105678552A (en) * | 2014-11-20 | 2016-06-15 | 比亚迪股份有限公司 | Gathering place recommending method, server and gathering place recommending system |
CN105871969A (en) * | 2015-11-02 | 2016-08-17 | 乐卡汽车智能科技(北京)有限公司 | Method and device for travel path calculation of a plurality of users |
-
2017
- 2017-03-10 CN CN201710142871.0A patent/CN108572979A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102506884A (en) * | 2011-10-28 | 2012-06-20 | 百度在线网络技术(北京)有限公司 | Method, system and device for recommending gathering places for multiple users on basis of maps |
US20150371196A1 (en) * | 2014-06-18 | 2015-12-24 | Naver Corporation | Method, system, and non-transitory recording medium for meeting place recommendation using locations and preferences of users and file distribution system |
CN105678552A (en) * | 2014-11-20 | 2016-06-15 | 比亚迪股份有限公司 | Gathering place recommending method, server and gathering place recommending system |
CN105184615A (en) * | 2015-09-29 | 2015-12-23 | 袁汉宁 | Restaurant recommendation method |
CN105871969A (en) * | 2015-11-02 | 2016-08-17 | 乐卡汽车智能科技(北京)有限公司 | Method and device for travel path calculation of a plurality of users |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111210293A (en) * | 2018-11-22 | 2020-05-29 | 北京嘀嘀无限科技发展有限公司 | Invoice guiding method and device, electronic equipment and computer readable storage medium |
CN111210293B (en) * | 2018-11-22 | 2023-08-18 | 北京嘀嘀无限科技发展有限公司 | Order guiding method, apparatus, electronic device and computer readable storage medium |
CN110572310A (en) * | 2019-07-10 | 2019-12-13 | 上海易点时空网络有限公司 | Address book-based driving test route sharing method, terminal and storage medium |
CN110427572A (en) * | 2019-07-15 | 2019-11-08 | 奇酷互联网络科技(深圳)有限公司 | Find good friend's method, mobile terminal and storage medium |
CN113038405A (en) * | 2020-06-10 | 2021-06-25 | 深圳市拓安信计控仪表有限公司 | Pipe network facility positioning method, pipe network facility positioning device and mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102263125B1 (en) | Smart Carousel of Image Changers | |
KR102643417B1 (en) | Creation of a personalized map interface with improved icons | |
CN105787102B (en) | Searching method, device and the device for search | |
KR20200130401A (en) | Creation of collectible items based on location information | |
CN104268129B (en) | The method and device of message back | |
CN108362279A (en) | Based on the shopping air navigation aid of augmented reality AR, apparatus and system | |
CN111182453A (en) | Positioning method, positioning device, electronic equipment and storage medium | |
CN111506758B (en) | Method, device, computer equipment and storage medium for determining article name | |
CN103916473B (en) | Travel information processing method and relevant apparatus | |
CN110147467A (en) | A kind of generation method, device, mobile terminal and the storage medium of text description | |
CN103516780A (en) | Mobile terminal, server, system and method for controlling the same | |
CN110020148A (en) | A kind of information recommendation method, device and the device for information recommendation | |
CN108572979A (en) | A kind of position service method and device, a kind of device for location-based service | |
CN110399570B (en) | Geographic object recommendation method, device and storage medium | |
CN108345667A (en) | A kind of searching method and relevant apparatus | |
CN107784045A (en) | A kind of quickly revert method and apparatus, a kind of device for quickly revert | |
CN106504050A (en) | A kind of information comparison device and method | |
CN107402937B (en) | Searching method and device and electronic equipment | |
CN110096525A (en) | Calibrate method, apparatus, equipment and the storage medium of interest point information | |
CN111031391A (en) | Video dubbing method, device, server, terminal and storage medium | |
CN109388699A (en) | Input method, device, equipment and storage medium | |
CN105101078B (en) | Information prompting method, terminal and server | |
CN110472158A (en) | A kind of sort method and device of search entry | |
CN106484822B (en) | Map amending method and terminal | |
CN109521888A (en) | A kind of input method, device and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180925 |