Content of the invention
For overcoming problem present in correlation technique, the disclosure to provide a kind of position information processing method, device and terminal.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of position information processing method, including:
Obtain the geographic coordinate information of coordinates of targets point corresponding to destination object;
The default rectangular area is located at by the coordinates of targets point is judged according to the geographic coordinate information;The default squareShape region is corresponding with the geographic area of closing of the frontier;The default rectangular area is the rectangle for including corresponding geographic areaRegion;
If the coordinates of targets point is only belonged in a default rectangular area, will be right for the default rectangular area instituteThe geographic area that answers is defined as the target geographical area corresponding with the destination object;
If the coordinates of targets point belongs in multiple default rectangular areas, obtain belonging to the coordinates of targets pointMultiple described default rectangular area corresponding to geographic area border geography information;
According to the geographic coordinate information and the border geography information, the target ground corresponding to the destination object is determinedReason region.
In conjunction with a first aspect, in first aspect in the first possible implementation, if coordinates of targets point belongs to manyIn the individual default rectangular area, methods described also includes:
Obtain a references object for having determined that target geographical area;
Judge whether the coordinates of targets point is located at the default square corresponding to the target geographical area with the references objectIn shape region;
If the coordinates of targets point be located at the default rectangular area corresponding to the references object in, according to the meshThe border geography information of the target geographical area of the geographic coordinate information and the references object of mark coordinate points, judges the targetWhether coordinate points are located in the target geographical area of the references object;
If the coordinates of targets point is located in the target geographical area of the references object, it is determined that the references objectTarget geographical area is the target geographical area of the destination object;
If the coordinates of targets point is not located in the target geographical area of the references object, according to the coordinates of targetsThe border of the geographic area corresponding to the geographic coordinate information of point and the default rectangular area belonging to other described destination objectsGeography information, determines the target geographical area corresponding to the destination object.
The first possible implementation in conjunction with first aspect, in second possible implementation of first aspect, instituteOne references object for having determined that target geographical area of acquisition is stated, including:
On object order, an immediate object for having determined that target geographical area is with the destination object for acquisitionThe references object;Time that the object order is taken according to object, the creation time of object, object number and/or rightAs storage location is ranked up.
The first possible implementation in conjunction with first aspect, in first aspect in the third possible implementation, instituteOne references object for having determined that target geographical area of acquisition is stated, including:
Obtain each geographic coordinate information corresponding to default object in default list object;In the default list objectDefault object determine;
According to the geographic coordinate information of the geographic coordinate information and each default object of the coordinates of targets point, calculate describedThe distance between coordinates of targets point and each default object respective coordinates point;
It is references object to obtain closest default object between coordinate points and coordinates of targets point.
The third possible implementation in conjunction with first aspect, in the 4th kind of possible implementation of first aspect, instituteOne references object for having determined that target geographical area of acquisition is stated, is also included:
Judge the minimum range between the coordinates of targets point and each default object respective coordinates point whether less than defaultDistance threshold,
If the minimum range between the coordinates of targets point and each default object respective coordinates point is less than predeterminable range thresholdValue, executes described the step of to obtain closest default object between coordinate points and coordinates of targets point be references object.
The third possible implementation in conjunction with first aspect, in the 5th kind of possible implementation of first aspect, instituteStating method also includes:
The destination object for determining target geographical area is added to the top of the default list object, and from describedDelete a default object in the bottom of default list object.
In conjunction with a first aspect, in the 6th kind of possible implementation of first aspect, the side of the default rectangular area isGeographic meridian or geographical parallel.
In conjunction with first aspect or first aspect the first or second or the third or the 4th kind or the 5th kind or the 6th kindPossible implementation, in the 7th kind of possible implementation of first aspect, methods described also includes:
Using the target geographical area as the attribute information of the destination object, the destination object is marked.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of position information process device, including:
First geographic coordinate information acquiring unit, believes for obtaining the geographical coordinate of coordinates of targets point corresponding to destination objectBreath;
First judging unit, for judging default square that the coordinates of targets point is located at according to the geographic coordinate informationShape region;The default rectangular area is corresponding with the geographic area of closing of the frontier;The default rectangular area is to include phaseThe rectangular area of corresponding geographic area;
First determining unit, for when the coordinates of targets point is only belonged in a default rectangular area, by instituteState the geographic area corresponding to default rectangular area and be defined as the target geographical area corresponding with the destination object;
Border geography information acquisition unit, for belonging in multiple default rectangular areas when the coordinates of targets pointWhen, obtain the border geography letter of the geographic area corresponding to the multiple described default rectangular area belonging to the coordinates of targets pointBreath;
Second determining unit, for according to the geographic coordinate information and the border geography information, determining the targetTarget geographical area corresponding to object.
In conjunction with second aspect, in second aspect in the first possible implementation, described device also includes:
References object acquiring unit, for when the coordinates of targets point belongs in multiple default rectangular areas, obtainingTake a references object for having determined that target geographical area;
Second judging unit, for judging whether the coordinates of targets point is located at the target geographic area with the references objectIn default rectangular area corresponding to domain;
3rd judging unit, for being located at and the default rectangle region corresponding to the references object when the coordinates of targets pointWhen in domain, geographical according to the border of the target geographical area of the geographic coordinate information and the references object of the coordinates of targets pointInformation, judges whether the coordinates of targets point is located in the target geographical area of the references object;
3rd determining unit, for when the coordinates of targets point be located at the references object target geographical area in when,The target geographical area for then determining the references object is the target geographical area of the destination object;
4th determining unit, for not being located in the target geographical area of the references object when the coordinates of targets pointWhen, the side of the geographic area according to corresponding to the geographic coordinate information of the coordinates of targets point and multiple default rectangular areasBoundary's geography information, determines the target geographical area corresponding to the destination object.
The first possible implementation in conjunction with second aspect, in second possible implementation of second aspect, instituteStating references object acquiring unit includes:
First references object obtains subelement, for obtaining with the destination object immediate one on object orderHave determined that target geographical area object be the references object;Time that the object order is taken according to object, objectCreation time, object number and/or object storage location be ranked up.
The first possible implementation in conjunction with second aspect, in second aspect in the third possible implementation, instituteStating references object acquiring unit includes:
Second geographic coordinate information obtains subelement, for obtaining in default list object corresponding to each default objectGeographic coordinate information;Default object in the default list object determines targetedly reason region;
Computation subunit, sits for the geographic coordinate information according to the coordinates of targets point and the geographical of each default objectMark information, calculates the distance between the coordinates of targets point and each default object respective coordinates point;
Second references object obtains subelement, closest pre- between coordinate points and coordinates of targets point for obtainingIf object is references object.
The third possible implementation in conjunction with second aspect, in the 4th kind of possible implementation of second aspect, instituteStating references object acquiring unit also includes:
Judgment sub-unit, for judging the most narrow spacing between the coordinates of targets point and each default object respective coordinates pointPredeterminable range threshold value is less than from whether,
Second references object obtains subelement and is additionally operable to when the coordinates of targets point that default object is corresponding sits with eachWhen minimum range between punctuate is less than predeterminable range threshold value, obtain closest between coordinate points and coordinates of targets pointDefault object is references object.
The third possible implementation in conjunction with second aspect, in the 5th kind of possible implementation of second aspect, instituteStating device also includes:
List adjustment unit, for being added to the default object column by the destination object for determining target geographical areaThe top of table, and a default object is deleted from the bottom of the default list object.
In conjunction with second aspect or second aspect the first or second or the third or the 4th kind or the 5th kind of possible realityExisting mode, in the 6th kind of possible implementation of second aspect, described device also includes:
Indexing unit, for using the target geographical area as the destination object attribute information, to the targetObject is marked.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of terminal, including:
Processor;
For storing the memorizer of processor executable;
Wherein, the processor is configured to:
Obtain the geographic coordinate information of coordinates of targets point corresponding to destination object;
The default rectangular area is located at by the coordinates of targets point is judged according to the geographic coordinate information;The default squareShape region is corresponding with the geographic area of closing of the frontier;The default rectangular area is the rectangle for including corresponding geographic areaRegion;
If the coordinates of targets point is only belonged in a default rectangular area, will be right for the default rectangular area instituteThe geographic area that answers is defined as the target geographical area corresponding with the destination object;
If the coordinates of targets point belongs in multiple default rectangular areas, obtain belonging to the coordinates of targets pointMultiple described default rectangular area corresponding to geographic area border geography information;
According to the geographic coordinate information and the border geography information, the target ground corresponding to the destination object is determinedReason region.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of server, including:
Processor;
For storing the memorizer of processor executable;
Wherein, the processor is configured to:
Obtain the geographic coordinate information of coordinates of targets point corresponding to destination object;
The default rectangular area is located at by the coordinates of targets point is judged according to the geographic coordinate information;The default squareShape region is corresponding with the geographic area of closing of the frontier;The default rectangular area is the rectangle for including corresponding geographic areaRegion;
If the coordinates of targets point is only belonged in a default rectangular area, will be right for the default rectangular area instituteThe geographic area that answers is defined as the target geographical area corresponding with the destination object;
If the coordinates of targets point belongs in multiple default rectangular areas, obtain belonging to the coordinates of targets pointMultiple described default rectangular area corresponding to geographic area border geography information;
According to the geographic coordinate information and the border geography information, the target ground corresponding to the destination object is determinedReason region.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:
Target, after the geographic coordinate information of coordinates of targets point corresponding to destination object is got, is sat by the method firstThe geographic coordinate information of punctuate is compared with default rectangular area, and then can primarily determine that coordinates of targets point is located at one in advanceIf rectangular area or multiple default advance regions, when coordinates of targets point is only belonged in a default rectangular area, determine meshThe corresponding target geographical area of mark object is the geographic area corresponding to default rectangular area, when coordinates of targets point belongs to manyDuring individual default rectangular area, then it is compared with the geographic area in each default rectangular area respectively, final determination target pairAs corresponding target geographical area.
Compared with correlation technique, the method is carried out slightly first with default rectangular area when target geographical area is determinedPositioning, and when coarse positioning does not determine target geographical area, i.e., coordinates of targets point is located at multiple default rectangular areas, thenExisting positioning mode is recycled, respectively by the border of coordinates of targets point and the geographic area corresponding to multiple default rectangular areasPoint is compared, and carries out fine positioning, finally gives the target geographical area corresponding to destination object.
For each geographic area, due to all setting a default rectangular area, so when coarse positioning is carried out, as long as willThe coordinate points at four angles of coordinates of targets point and the default rectangular area are compared, and this causes the fortune needed during coarse positioningCalculation amount is little, time-consuming shorter, especially when the side of default rectangular area is geographic meridian or geographical parallel, now only needs to presetTwo diagonal coordinate points of rectangular area can just complete coarse positioning, and this can cause the amount of budget needed during coarse positioning less,The time-consuming of coarse positioning can be reduced, the efficiency of geographical zone location that destination object is located is greatly enhanced.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, notThe disclosure can be limited.
Specific embodiment
Here in detail exemplary embodiment will be illustrated, its example is illustrated in the accompanying drawings.Explained below is related toDuring accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodimentDescribed in embodiment do not represent and the consistent all embodiments of the present invention.Conversely, they be only with as appended byThe example of consistent apparatus and method in terms of some being described in detail in claims, of the invention.
Fig. 1 is a kind of flow chart of the position information processing method according to an exemplary embodiment, as shown in figure 1,The method is used in terminal or server, comprises the following steps.
In step S101, the geographic coordinate information of coordinates of targets point corresponding to destination object is obtained.
Destination object can include:Image, video or surveying and mapping data etc., would generally will generate ground when destination object is generatedThe geographical coordinate of point is preserved as property parameters of destination object, and the generation place of destination object is exactly that destination object is correspondingCoordinates of targets point.
In disclosure other embodiments, destination object can also have the file of geographical coordinate attribute for other.
In step s 102, the default rectangle region is located at by the coordinates of targets point is judged according to the geographic coordinate informationDomain.
In the disclosed embodiments, it is corresponding with the geographic area of a closing of the frontier in map that rectangular area is preset, andAnd the default rectangular area is the rectangular area for including corresponding geographic area, for example:Default rectangular area can be correspondingOne circumscribed rectangle of geographic area.Further optionally, the side for presetting rectangular area is geographic meridian or geographical parallel, such as Fig. 2Shown, figure includes:First geographic area 1, second geographic area the 2, first default rectangular area 3 and the second default rectangular area4, wherein:First presets the circumscribed rectangle that rectangular area 3 is for the 1 of the first geographic area, and first presets the outer of rectangular area 3Side is respectively warp and parallel;Second presets the circumscribed rectangle that rectangular area 4 is for the 2 of the second geographic area, and second presetsThe outside of rectangular area 4 is respectively warp and parallel.
From fig. 2 it can be seen that when all geographic areas on map are both provided with default rectangular area, for mapOn some coordinate points for, the coordinate points have two kinds of possibility, the first situation:Coordinate points are only located in a geographic regionIn the default rectangular area in domain, as shown in Fig. 2 coordinate points A are only located in the first default rectangular area 3 in figure, second feelingsCondition:Coordinate points are located in the default rectangular area of two or more geographic areas, as shown in Fig. 2 coordinate points B position in figureIn the first default rectangular area 3 and the second default 4 equitant region of rectangular area.
When the coordinates of targets point is only belonged in a default rectangular area, in step s 103, will be described pre-If the geographic area corresponding to rectangular area is defined as the target geographical area corresponding with the destination object.
When coordinates of targets point is only belonged in a default rectangular area, can have determined that coordinates of targets point uniquely belongs to the rectangleThe corresponding geographic area in region, so, directly the geographic area corresponding to the default rectangular area can be made in the stepIt is target geographical area corresponding with destination object.
When the coordinates of targets point belongs in multiple default rectangular areas, in step S104, the mesh is obtainedThe border geography information of the geographic area corresponding to multiple described default rectangular area belonging to mark coordinate points.
Shown in Figure 2, when coordinates of targets point is coordinate points B, now only by determining that being located at first presets rectangle regionDomain 3 and the second default rectangular area 4, cannot also accurately determine that coordinate points B are belonging to the first geographic area 1, still fall within theTwo geographic areas 2.It is therefore desirable to acquisition the first default rectangular area 3 and the second default rectangular area 4 are distinguished correspondingly respectivelyThe border geography information in reason region.
In the disclosed embodiments, border geography information can be geographic area multiple boundary points coordinate figure, or,The coordinate figure of all boundary points of geographic area.
In step S105, according to the geographic coordinate information and the border geography information, the destination object is determinedCorresponding target geographical area.
The coordinate figure of coordinates of targets point is extracted from geographic coordinate information, and then the coordinate figure of coordinates of targets point is distinguishedIt is compared with the coordinate figure of the boundary point in the geography information of border, and then the geographic region at coordinates of targets point place can be had determined thatDomain, and the target geographical area corresponding to the geographic area as destination object that coordinates of targets point is located.
The method that the embodiment of the present disclosure is provided, when the geographical coordinate for getting coordinates of targets point corresponding to destination object is believedAfter breath, first the geographic coordinate information of coordinates of targets point and default rectangular area are compared, and then mesh can be primarily determined thatMark coordinate points are located at a default rectangular area or multiple default advance regions, when coordinates of targets point only belongs to a default squareWhen in shape region, determine that the corresponding target geographical area of destination object is the geographic area corresponding to default rectangular area,When coordinates of targets point belongs to multiple default rectangular areas, then compared with the geographic area in each default rectangular area respectivelyCompared with the final target geographical area determined corresponding to destination object.
Compared with correlation technique, the method is carried out slightly first with default rectangular area when target geographical area is determinedPositioning, and when coarse positioning does not determine target geographical area, i.e., coordinates of targets point is located at multiple default rectangular areas, thenExisting positioning mode is recycled, respectively by the border of coordinates of targets point and the geographic area corresponding to multiple default rectangular areasPoint is compared, and carries out fine positioning, finally gives the target geographical area corresponding to destination object.
For each geographic area, due to all setting a default rectangular area, so when coarse positioning is carried out, as long as willThe coordinate points at four angles of coordinates of targets point and the default rectangular area are compared, and this causes the fortune needed during coarse positioningCalculation amount is little, time-consuming shorter, especially when the side of default rectangular area is geographic meridian or geographical parallel, now only needs to presetTwo diagonal coordinate points of rectangular area can just complete coarse positioning, and this can cause the amount of budget needed during coarse positioning less,The time-consuming of coarse positioning can be reduced, the efficiency of geographical zone location that destination object is located is greatly enhanced.
Additionally, in another embodiment of the disclosure, after the target geographical area corresponding to destination object is determined, such as schemingShown in 3, the method can also be comprised the following steps:
In step s 106, using the target geographical area as the destination object attribute information, to the targetObject is marked.
As the method can be quickly positioned to the target geographical area that destination object is located, so working as the method pairWhen the corresponding target geographical area of destination object is marked, efficiency can be greatly improved, and reduce the time that labelling is consumed, especiallyFor server, on the objects such as photo, video can be uploaded onto the server by a large number of users, server is to these magnanimityWhen photo or Video processing, the labelling to object place target geographical area can be rapidly completed using the method.
Fig. 4 is a kind of flow chart of the position information processing method according to further example embodiment, shown in Fig. 1On the basis of embodiment, as shown in figure 4, the method is used in terminal or server, comprise the following steps.
When the coordinate of ground point belongs in multiple default rectangular areas, in step s 201, obtain one to have determined thatThe references object of target geographical area.
The effect of references object be auxiliary destination object is quickly positioned, shorten destination object is positioned whenBetween.
Consider that object, when creating, may continuously create multiple objects, as a example by shooting photo, user travels at oneSight spot, it will usually shoot substantial amounts of photo, so when positioning to destination object, immediate when sorting with destination objectObject has determined target geographical area, then just can be preferentially closest with the sequence and the target geographic area that has determinedThe object in domain as references object, due to the probability that the references object and destination object belong to same geographic area larger, instituteSo that the efficiency positioned by destination object place geographic area can be improved to a certain extent, shorten positioning time.
For this purpose, in disclosure one embodiment, step S201 can include:
Step a1, obtains and has determined that target geographical area with the destination object for immediate one on object orderObject is the references object.
In addition, when positioning to a large amount of objects, the object for completing can be positioned recently and is constituted a default objectList, each default object determines targetedly reason region in the default list object, and each default object have one rightThe coordinate points that answers.This equally allows for when being processed to a large amount of objects successively, mutually close on destination object sequence itsIts object, has larger possibility to belong to same geographic area with destination object, equally, is improved to destination object to a certain extentThe efficiency positioned by place geographic area, shortens positioning time.
For this purpose, in the disclosure another embodiment, step S201 can also include:
Step b1, obtains each geographic coordinate information corresponding to default object in default list object.
The geographic coordinate information of each default object corresponding to coordinate points is obtained.
Step b2, according to the geographic coordinate information of the geographic coordinate information and each default object of the coordinates of targets point,Calculate the distance between the coordinates of targets point and each default object respective coordinates point.
Step b3, it is references object to obtain closest default object between coordinate points and coordinates of targets point.
Due to closest coordinate points between coordinates of targets point, there is larger possibility to be located at coordinates of targets point sameGeographic area, so be defined as references object by corresponding for closest between coordinates of targets point coordinate points default object.
When shooting great amount of images and positioning at some sight spot to user, by the side of above-mentioned default list objectFormula, can significantly increase the efficiency positioned by destination object place geographic area, shorten positioning time.But when user existsMultiple sight spots have all shot a large amount of pictures, for example:Through Beijing, Langfang and Tianjin in user's tourist map, then when existing to userAfter the completion of the geographic area positioning of the image that Beijing shoots, when positioning to first image shot in Langfang, now lead toIt is probably Beijing to cross above-mentioned default list object and find the possible geographic area of the default object nearest apart from the image, thenIf still geographic area is the default object in Pekinese as references object, it is clear that the later use references object can be caused to carry outIt is all wrong to calculate, the time-consuming increase for causing the geographic area for being located destination object to be positioned.
For this purpose, between above-mentioned steps b2 and step b3, step S201 can also include:
Step b4, judges whether the minimum range between the coordinates of targets point and each default object respective coordinates point is littleIn predeterminable range threshold value.
Only when the minimum range between the coordinates of targets point and each default object respective coordinates point less than default away fromFrom threshold value when, just carry out step b3.
By step b4 can in default list object the corresponding coordinate points of all default objects and impact point spacingFrom when exceeding predeterminable range threshold value, refuse selection references object from default list object, it is to avoid consumption caused by meaningless computingShi Zengjia.
In step S202, judge whether the coordinates of targets point is located at the target geographical area institute with the references objectIn corresponding default rectangular area.
Due to references object have larger may with destination object be located at same geographic area, it is possible to first determine whether targetWhether coordinate points are located at the default rectangular area that be located between the target geographical area of references object.
When the coordinates of targets point be located at the default rectangular area corresponding to the references object in when, in step S203In, according to the border geography letter of the target geographical area of the geographic coordinate information and the references object of the coordinates of targets pointBreath, judges whether the coordinates of targets point is located in the target geographical area of the references object.
Once it is determined that coordinates of targets point is located at in the default rectangular area corresponding to the references object, then target is describedCoordinate points have the larger target geographical area being likely located at corresponding to references object, so remaining a need for according to coordinates of targets pointCoordinate figure is compared with the border point coordinates of the target geographical area of references object, accurately coordinates of targets point is carried out with reachingPositioning.
When the coordinates of targets point is located in the target geographical area of the references object, in step S204, determineThe target geographical area of the references object is the target geographical area of the destination object.
When the coordinates of targets point is not located in the target geographical area of the references object, or, when the target is satPunctuate be located at the default rectangular area corresponding to the references object in when, in step 205, according to the coordinates of targetsThe border of the geographic area corresponding to the geographic coordinate information of point and the default rectangular area belonging to other described destination objectsGeography information, determines the target geographical area corresponding to the destination object.
If it is determined that coordinates of targets point is not located at the target geographical area of references object, illustrating can be by the mesh of references objectMark geographic area discharges, then respectively by coordinates of targets point and default rectangular area belonging to other described destination objectsBoundary point is compared, the final target geographical area determined corresponding to destination object.
Additionally, in the disclosed embodiments, fixed when being carried out to destination object place geographic area using default list objectDuring position, in order to ensure the real-time that object is preset in default list object, default list object can be designed as one and be similar toThe structure of storehouse, and after step S204 or step S205, as shown in figure 5, the method can also be comprised the following steps:
In step S206, the destination object for determining target geographical area is added to the default list objectTop, and a default object is deleted from the bottom of the default list object.
By the step, when positioning to a large amount of object places geographic area, can cause in default list objectDefault object can upgrade in time with positioning, the position fixing process for subsequent object place geographic area provides help, to the greatest extent may be usedEnergy ground improves the location efficiency of subsequent object, shortens positioning time.Additionally, in concrete application, default list object can be adoptedWith LRU (Least Recently Used, LRU) queue, LRU queues caching is recently determined target geographicThe object in region is default object.
In said method embodiment, identical step mutually can be referred to, and different steps can be combined with each other, for example:Step S106 in embodiment illustrated in fig. 3 can be carried out the step of embodiment illustrated in fig. 4 after S2O4 or step S205, andAnd the scheme obtained after combining, fall within the protection domain of the disclosure.
Embodiment of the method shown in corresponding Fig. 1, the embodiment of the present disclosure provide a kind of geographical location information processing meanss, Fig. 6It is a kind of block diagram of the geographical location information processing meanss according to an exemplary embodiment.With reference to Fig. 6, the device includes:First geographic coordinate information acquiring unit 11, the first judging unit 12, the first determining unit 13, border geography information acquisition unit14 and second determining unit 15.
The first geographic coordinate information acquiring unit 11 is configured to the ground for obtaining coordinates of targets point corresponding to destination objectReason coordinate information.
First judging unit 12 is configured to judge that the coordinates of targets point is located at according to the geographic coordinate informationDefault rectangular area;The default rectangular area is corresponding with the geographic area of closing of the frontier;The default rectangular area isInclude the rectangular area of corresponding geographic area.
First determining unit 13 is configured as the coordinates of targets point and only belongs in a default rectangular areaWhen, the geographic area corresponding to the default rectangular area is defined as the target geographic area corresponding with the destination objectDomain.
The border geography information acquisition unit 14 is configured as the coordinates of targets point and belongs to multiple default rectanglesWhen in region, the border of the geographic area corresponding to the multiple described default rectangular area belonging to the coordinates of targets point is obtainedGeography information.
Second determining unit 15 is configured to, according to the geographic coordinate information and the border geography information, determine instituteState the target geographical area corresponding to destination object.
The device carries out coarse positioning first with default rectangular area, and slightly ought determine when target geographical area is determinedWhen position does not determine target geographical area, i.e., coordinates of targets point is located at multiple default rectangular areas, and it is existing fixed then to recyclePosition mode, respectively the boundary point by coordinates of targets point with the geographic area corresponding to multiple default rectangular areas compare, enterRow fine positioning, finally gives the target geographical area corresponding to destination object.
For each geographic area, due to all setting a default rectangular area, so when coarse positioning is carried out, as long as willThe coordinate points at four angles of coordinates of targets point and the default rectangular area are compared, and this causes the fortune needed during coarse positioningCalculation amount is little, time-consuming shorter, especially when the side of default rectangular area is geographic meridian or geographical parallel, now only needs to presetTwo diagonal coordinate points of rectangular area can just complete coarse positioning, and this can cause the amount of budget needed during coarse positioning less,The time-consuming of coarse positioning can be reduced, the efficiency of geographical zone location that destination object is located is greatly enhanced.
In another embodiment of the disclosure, as shown in fig. 7, the device can also include:Indexing unit 16.
The indexing unit 16 be configured to using the target geographical area as the destination object attribute information, to instituteState destination object to be marked.
Embodiment of the method shown in corresponding above-mentioned Fig. 4, in the another embodiment of the disclosure, as shown in figure 8, the device can be withIncluding:References object acquiring unit 21, the second judging unit 22, the 3rd judging unit 23, the 3rd determining unit 24 and the 4th are trueOrder unit 25.
The references object acquiring unit 21 is configured as the coordinates of targets point and belongs to multiple default rectangular areasWhen interior, a references object for having determined that target geographical area is obtained.
In disclosure one embodiment, references object acquiring unit 21 can include:It is single that first references object obtains sonUnit, first references object obtain subelement and are configured to obtain with the destination object immediate one on object orderHave determined that target geographical area object be the references object;Time that the object order is taken according to object, objectCreation time, object number and/or object storage location be ranked up.
In the disclosure another embodiment, as shown in figure 9, references object acquiring unit 21 can include:Second is geographicalCoordinate information obtains subelement 211, computation subunit 212 and the second references object and obtains subelement 213.
Second geographic coordinate information obtains subelement 211 and is configured to obtain each default object in default list objectCorresponding geographic coordinate information;Default object in the default list object determines targetedly reason region.
The computation subunit 212 is configured to geographic coordinate information and each default object according to the coordinates of targets pointGeographic coordinate information, calculate the distance between the coordinates of targets point and each default object respective coordinates point.
Second references object obtains subelement 213 and is configured to obtain distance between coordinate points and coordinates of targets pointNearest default object is references object.
In addition, as shown in Figure 10, the references object acquiring unit 21 can also include:Judgment sub-unit 214.
The judgment sub-unit 214 is configured to judge between the coordinates of targets point and each default object respective coordinates pointMinimum range whether be less than predeterminable range threshold value.
And when the minimum range between the coordinates of targets point and each default object respective coordinates point less than default away fromFrom threshold value when, second references object obtain subelement 213 just obtain closest between coordinate points and coordinates of targets pointDefault object be references object.
Second judging unit 22 is configured to judge whether the coordinates of targets point is located at the mesh with the references objectIn default rectangular area corresponding to mark geographic area.
3rd judging unit 23 be configured as the coordinates of targets point be located at pre- corresponding to the references objectIf when in rectangular area, according to the target geographical area of the geographic coordinate information of the coordinates of targets point and the references objectBorder geography information, judges whether the coordinates of targets point is located in the target geographical area of the references object.
3rd determining unit 24 is configured as the coordinates of targets point positioned at the target geographic area of the references objectWhen in domain, it is determined that the target geographical area of the references object is the target geographical area of the destination object.
4th determining unit 25 be configured as the coordinates of targets point be located at corresponding to the references objectWhen in default rectangular area, or, when the coordinates of targets point is not located in the target geographical area of the references object, according toThe border of the geographic area corresponding to the geographic coordinate information of the coordinates of targets point and multiple default rectangular areas is geographicalInformation, determines the target geographical area corresponding to the destination object.
On the basis of Fig. 9 or Figure 10 shown device embodiments, the device can also include:List adjustment unit.
The list adjustment unit is configured to for the destination object for determining target geographical area to be added to described presettingThe top of list object, and a default object is deleted from the bottom of the default list object.
Device in regard to above-described embodiment, wherein modules execute the concrete mode of operation in relevant the methodEmbodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 11 is a kind of block diagram of the terminal 800 for position information process according to an exemplary embodiment.ExampleSuch as, terminal 800 can be mobile phone, and computer, digital broadcast terminal, messaging devices, game console, flat board setStandby, armarium, body-building equipment, personal digital assistant etc..
With reference to Figure 11, terminal 800 can include following one or more assemblies:Process assembly 802, memorizer 804, power supplyComponent 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, andCommunication component 816.
The integrated operation of 802 usual control terminal 800 of process assembly, such as with display, call, data communication, phaseThe associated operation of machine operation and record operation.Process assembly 802 can refer to execute including one or more processors 820Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 802 can include one or more modules, justInteraction between process assembly 802 and other assemblies.For example, process assembly 802 can include multi-media module, many to facilitateInteraction between media component 808 and process assembly 802.
Memorizer 804 is configured to store various types of data to support the operation in terminal 800.These data are shownExample includes the instruction of any application program for operating in terminal 800 or method, and contact data, telephone book data disappearBreath, picture, video etc..Memorizer 804 can be by any kind of volatibility or non-volatile memory device or their groupClose and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) erasable are compiledJourney read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flashDevice, disk or CD.
Power supply module 806 provides electric power for the various assemblies of terminal 800.Power supply module 806 can include power management systemSystem, one or more power supplys, and other generate, manage and distribute the component that electric power is associated with for terminal 800.
Multimedia groupware 808 is included in the screen of one output interface of offer between the terminal 800 and user.OneIn a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screenCurtain may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch sensingsDevice is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding actionBorder, but also detect and the touch or slide related persistent period and pressure.In certain embodiments, many matchmakersBody component 808 includes a front-facing camera and/or post-positioned pick-up head.When terminal 800 be in operator scheme, such as screening-mode orDuring video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera andPost-positioned pick-up head can be a fixed optical lens system or there is focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured to output and/or input audio signal.For example, audio-frequency assembly 810 includes a MikeWind (MIC), when terminal 800 is in operator scheme, such as call model, logging mode and speech recognition mode, mike is matched somebody with somebodyIt is set to reception external audio signal.The audio signal for being received can be further stored in memorizer 804 or via communication setPart 816 sends.In certain embodiments, audio-frequency assembly 810 also includes a speaker, for exports audio signal.
I/O interfaces 812 are to provide interface between process assembly 802 and peripheral interface module, and above-mentioned peripheral interface module canTo be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lockDetermine button.
Sensor cluster 814 includes one or more sensors, comments for providing the state of various aspects for terminal 800Estimate.For example, sensor cluster 814 can detect the opening/closed mode of terminal 800, and the relative localization of component is for example describedDisplay and keypad of the component for terminal 800, sensor cluster 814 can be with 800 1 components of detection terminal 800 or terminalPosition change, user is presence or absence of with what terminal 800 was contacted, 800 orientation of terminal or acceleration/deceleration and terminal 800Temperature change.Sensor cluster 814 can include proximity transducer, be configured to detect when without any physical contactThe presence of object nearby.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, for intoUsed in as application.In certain embodiments, the sensor cluster 814 can also include acceleration transducer, gyro sensorsDevice, Magnetic Sensor, pressure transducer or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between terminal 800 and other equipment.Terminal800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary enforcementIn example, communication component 816 receives the broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.In one exemplary embodiment, the communication component 816 also includes near-field communication (NFC) module, to promote junction service.ExampleSuch as, NFC module can be based on RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology,Bluetooth (BT) technology and other technologies are realizing.
In the exemplary embodiment, terminal 800 can be by one or more application specific integrated circuits (ASIC), numeral letterNumber processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally providedSuch as include that the memorizer 804 for instructing, above-mentioned instruction can be executed by the processor 820 of terminal 800 to complete said method.For example,The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy diskWith optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is held by the processor of terminalDuring row so that terminal is able to carry out a kind of position information processing method, methods described includes:
Obtain the geographic coordinate information of coordinates of targets point corresponding to destination object;
The default rectangular area is located at by the coordinates of targets point is judged according to the geographic coordinate information;The default squareShape region is corresponding with the geographic area of closing of the frontier;The default rectangular area is the rectangle for including corresponding geographic areaRegion;
If the coordinates of targets point is only belonged in a default rectangular area, will be right for the default rectangular area instituteThe geographic area that answers is defined as the target geographical area corresponding with the destination object;
If the coordinates of targets point belongs in multiple default rectangular areas, obtain belonging to the coordinates of targets pointMultiple described default rectangular area corresponding to geographic area border geography information;
According to the geographic coordinate information and the border geography information, the target ground corresponding to the destination object is determinedReason region.
Alternatively, the method can also include:
When the coordinates of targets point belongs in multiple default rectangular areas, obtain one and have determined that target geographic areaThe references object in domain;
Judge whether the coordinates of targets point is located at the default square corresponding to the target geographical area with the references objectIn shape region;
If the coordinates of targets point be located at the default rectangular area corresponding to the references object in, according to the meshThe border geography information of the target geographical area of the geographic coordinate information and the references object of mark coordinate points, judges the targetWhether coordinate points are located in the target geographical area of the references object;
If the coordinates of targets point is located in the target geographical area of the references object, it is determined that the references objectTarget geographical area is the target geographical area of the destination object;
If the coordinates of targets point is not located in the target geographical area of the references object, according to the coordinates of targetsThe border of the geographic area corresponding to the geographic coordinate information of point and the default rectangular area belonging to other described destination objectsGeography information, determines the target geographical area corresponding to the destination object.
Figure 12 is a kind of server 1900 for geographical location information process according to an exemplary embodimentBlock diagram.For example, server 1900 may be provided in a server.With reference to Figure 12, server 1900 includes process assembly 1922,Which further includes one or more processors, and the memory resource representated by memorizer 1932, can be by for storageThe instruction of the execution of process assembly 1922, such as application program.The application program stored in memorizer 1932 can include oneOr more than one each corresponding to one group of instruction module.Additionally, process assembly 1922 is configured to execute instruction, to holdRow said method.
Server 1900 can also include that a power supply module 1926 is configured to the power management of execute server 1900,One wired or wireless network interface 1950 is configured to for server 1900 to be connected to network, and an input and output (I/O)Interface 1958.Server 1900 can be operated based on the operating system for being stored in memorizer 1932, such as WindowsServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processor of serverDuring execution so that server is able to carry out a kind of position information processing method, methods described includes:
Obtain the geographic coordinate information of coordinates of targets point corresponding to destination object;
The default rectangular area is located at by the coordinates of targets point is judged according to the geographic coordinate information;The default squareShape region is corresponding with the geographic area of closing of the frontier;The default rectangular area is the rectangle for including corresponding geographic areaRegion;
If the coordinates of targets point is only belonged in a default rectangular area, will be right for the default rectangular area instituteThe geographic area that answers is defined as the target geographical area corresponding with the destination object;
If the coordinates of targets point belongs in multiple default rectangular areas, obtain belonging to the coordinates of targets pointMultiple described default rectangular area corresponding to geographic area border geography information;
According to the geographic coordinate information and the border geography information, the target ground corresponding to the destination object is determinedReason region.
Alternatively, the method can also include:
When the coordinates of targets point belongs in multiple default rectangular areas, obtain one and have determined that target geographic areaThe references object in domain;
Judge whether the coordinates of targets point is located at the default square corresponding to the target geographical area with the references objectIn shape region;
If the coordinates of targets point be located at the default rectangular area corresponding to the references object in, according to the meshThe border geography information of the target geographical area of the geographic coordinate information and the references object of mark coordinate points, judges the targetWhether coordinate points are located in the target geographical area of the references object;
If the coordinates of targets point is located in the target geographical area of the references object, it is determined that the references objectTarget geographical area is the target geographical area of the destination object;
If the coordinates of targets point is not located in the target geographical area of the references object, according to the coordinates of targetsThe border of the geographic area corresponding to the geographic coordinate information of point and the default rectangular area belonging to other described destination objectsGeography information, determines the target geographical area corresponding to the destination object.
Those skilled in the art will readily occur to its of the present invention after considering description and putting into practice invention disclosed hereinIts embodiment.The application is intended to any modification of the present invention, purposes or adaptations, these modifications, purposes orPerson's adaptations follow the general principle of the present invention and including the undocumented common knowledge in the art of the disclosureOr conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by followingClaim is pointed out.
It should be appreciated that the precision architecture for being described above and being shown in the drawings is the invention is not limited in, andAnd various modifications and changes can carried out without departing from the scope.The scope of the present invention is only limited by appended claim.