CN109525664A - Location acquiring method, device and storage medium - Google Patents

Location acquiring method, device and storage medium Download PDF

Info

Publication number
CN109525664A
CN109525664A CN201811363061.9A CN201811363061A CN109525664A CN 109525664 A CN109525664 A CN 109525664A CN 201811363061 A CN201811363061 A CN 201811363061A CN 109525664 A CN109525664 A CN 109525664A
Authority
CN
China
Prior art keywords
built
foundations
laid
expectation
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.)
Granted
Application number
CN201811363061.9A
Other languages
Chinese (zh)
Other versions
CN109525664B (en
Inventor
唐军
杨宇帆
周亚东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201811363061.9A priority Critical patent/CN109525664B/en
Publication of CN109525664A publication Critical patent/CN109525664A/en
Application granted granted Critical
Publication of CN109525664B publication Critical patent/CN109525664B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Navigation (AREA)

Abstract

The present invention provides a kind of location acquiring method, device and storage medium, this method comprises: sending the position requests of object yet to be built to multiple terminals, position requests show electronic map for triggering each terminal;The expectation for receiving the object yet to be built that each terminal is sent is laid foundations position, and the expectation of object yet to be built position of laying foundations is position that the corresponding user of each terminal selects on the electronic map;It is laid foundations position according to multiple expectations of object yet to be built, determines that the target of object yet to be built is laid foundations position.The location acquiring method of object yet to be built provided by the invention can be in conjunction with the suggestion of user, so that the position of the object yet to be built obtained can satisfy the demand of user.

Description

Location acquiring method, device and storage medium
Technical field
The present invention relates to technical field of data processing more particularly to a kind of location acquiring methods, device and storage medium.
Background technique
" internet+" represents a kind of new economic form, that is, gives full play to optimization of the internet in production factors configuration With integrated effect, by the innovation achievement depth integration of internet among each field of economic society.Currently in order to making full use of view Frequency cloud resource relies on " internet+" technology, provides real time service information for user;Such as the camera being arranged in city, can obtain Real-time road condition information is taken, provides service for user's trip.
In the prior art, the setting of the camera of video is acquired, whether friendship is generally had according to region by professional technician Whether logical thoroughfare, flow of the people meet the setting area of the factors such as preset quantity, the scale in region selection camera.
But this planning mode relies primarily on the subjective opinion of technical staff, if to arrive in some non-traffic, flow of the people it is small Or the position of region small scale needs to be arranged camera, this mode can not be met the needs of users.
Summary of the invention
The present invention provides a kind of location acquiring method, device and storage medium, can be in conjunction with the suggestion of user, so that obtaining The position of object yet to be built can satisfy the demand of user.
The first aspect of the present invention provides a kind of location acquiring method, comprising:
The position requests of object yet to be built are sent to multiple terminals, the position requests are shown for triggering each terminal Electronic map;
The expectation for receiving the object yet to be built that each terminal is sent is laid foundations position, and the expectation of the object yet to be built is built Point position is the position that the corresponding user of each terminal selects on the electronic map;
It is laid foundations position according to multiple expectations of the object yet to be built, determines that the target of the object yet to be built is laid foundations position.
Optionally, multiple expectations according to the object yet to be built are laid foundations position, determine the target of the object yet to be built It lays foundations position, comprising:
Obtain the first distance that multiple expectations of the object yet to be built are laid foundations in position between two two positions;
According to the first distance, determine that the target of the object yet to be built is laid foundations position.
Optionally, described according to the first distance, determine that the target of the object yet to be built is laid foundations position, comprising:
Whether step 1 judges the minimum value in the first distance less than the second pre-determined distance;
If so, executing step 2, if not, it is determined that multiple expectations of the object yet to be built position of laying foundations is candidate bit It sets, executes step 4;
Step 2: corresponding two positions of minimum value in the first distance are merged, and will be in the first distance The centers of corresponding two positions of minimum value lay foundations position as new expectation;
Step 3 obtains laying foundations in position comprising lay foundations all expectations of position of the new expectation for the object yet to be built The first distance between two two positions;It after having executed the step 3, returns and executes the step 1, until the institute The first distance for having expectation to lay foundations in position between two two positions is greater than second pre-determined distance, obtains multiple candidate bits It sets, executes step 4;
Step 4: determining that the target of the object yet to be built is laid foundations according to multiple position candidates of the object yet to be built Position.
Optionally, it after position is laid foundations in the expectation for receiving the object yet to be built that each terminal is sent, also wraps It includes:
Receive the user information that each terminal is sent;
Multiple position candidates according to the object yet to be built determine that the target of the object yet to be built is laid foundations position It sets, comprising:
In the user information that multiple terminals are sent, the user information of each position candidate is obtained;
In preset position information library, the attribute information of each position candidate is obtained;
According to the user information and attribute information of each position candidate, determine that the target of the object yet to be built is laid foundations position It sets.
Optionally, the user information and attribute information according to each position candidate, determines the object yet to be built Target lay foundations position, comprising:
According to the user information of each position candidate, the weight of the user information, and, each candidate bit The weight of the attribute information, the attribute information set obtains the score value of each position candidate;
According to the score value of each position candidate, determine that the target of the object yet to be built is laid foundations position.
Optionally, the score value according to each position candidate determines that the target of the object yet to be built is laid foundations position, Include:
The position candidate that score value is greater than point threshold is laid foundations position as the target of the object yet to be built.
Optionally, the expectation of the object yet to be built lays foundations position as longitude and latitude of the object yet to be built in terrestrial coordinate system Coordinate;Multiple expectations according to the object yet to be built are laid foundations position, determine the target of the object yet to be built lay foundations position it Before, further includes:
It lays foundations in position in multiple expectations of the object yet to be built, the latitude and longitude coordinates for deleting the object yet to be built are unsatisfactory for The position of default precision;And/or
It lays foundations in position in multiple expectations of the object yet to be built, deletes the latitude and longitude coordinates of the object yet to be built default Position outside region;And/or
It lays foundations in position in multiple expectations of the object yet to be built, it is small at a distance from built object to delete the object yet to be built In the position of the first pre-determined distance.
Optionally, multiple position candidates according to the object yet to be built, determine the target of the object yet to be built It lays foundations before position, further includes:
The quantity of the corresponding terminal of each position candidate is obtained, and the position candidate for being less than preset quantity is deleted.
The second aspect of the present invention provides a kind of location acquiring method, comprising:
Receive the position requests for the object yet to be built that position acquisition device is sent;
Show electronic map;
Capture operation of the user to the electronic map, determine the user selected on the electronic map described in The expectation for building object is laid foundations position;
The expectation for sending the object yet to be built to the position acquisition device is laid foundations position.
Optionally, it after position is laid foundations in the expectation for sending the object yet to be built to the position acquisition device, also wraps It includes:
Show user information input interface;
User information is sent to the position acquisition device.
The third aspect of the present invention provides a kind of position acquisition device, comprising:
Position requests sending module, for sending the position requests of object yet to be built to multiple terminals, the position requests are used Electronic map is shown in triggering each terminal;
It is expected that position receiving module of laying foundations, the expectation for receiving the object yet to be built that each terminal is sent is laid foundations Position, the expectation of the object yet to be built position of laying foundations is that the corresponding user of each terminal selects on the electronic map Position;
Target is laid foundations position receiving module, for being laid foundations position according to multiple expectations of the object yet to be built, determine described in The target of object yet to be built is laid foundations position.
Optionally, the target is laid foundations position receiving module, and multiple expectations specifically for obtaining the object yet to be built are built First distance in point position between two two positions;According to the first distance, determine that the target of the object yet to be built is laid foundations position It sets.
Optionally, the target is laid foundations position receiving module, is specifically used for:
Whether step 1 judges the minimum value in the first distance less than the second pre-determined distance;
If so, executing step 2, if not, it is determined that multiple expectations of the object yet to be built position of laying foundations is candidate bit It sets, executes step 4;
Step 2: corresponding two positions of minimum value in the first distance are merged, and will be in the first distance The centers of corresponding two positions of minimum value lay foundations position as new expectation;
Step 3 obtains laying foundations in position comprising lay foundations all expectations of position of the new expectation for the object yet to be built The first distance between two two positions;It after having executed the step 3, returns and executes the step 1, until the institute The first distance for having expectation to lay foundations in position between two two positions is greater than second pre-determined distance, obtains multiple candidate bits It sets, executes step 4;
Step 4: determining that the target of the object yet to be built is laid foundations according to multiple position candidates of the object yet to be built Position.
Optionally, described device further include: user information receiving module;
The user information receiving module, the user information sent for receiving each terminal;
Optionally, the target is laid foundations position receiving module, specifically for the user information sent in multiple terminals In, obtain the user information of each position candidate;In preset position information library, the category of each position candidate is obtained Property information;According to the user information and attribute information of each position candidate, determine that the target of the object yet to be built is laid foundations position It sets.
Optionally, the target is laid foundations position receiving module, specifically for being believed according to the user of each position candidate The weight of breath, the user information, and, the weight of the attribute information of each position candidate, the attribute information obtains The score value of each position candidate;According to the score value of each position candidate, determine that the target of the object yet to be built is laid foundations Position.
Optionally, the target is laid foundations position receiving module, specifically for score value to be greater than to the position candidate of point threshold Target as the object yet to be built is laid foundations position.
Optionally, the expectation of the object yet to be built lays foundations position as longitude and latitude of the object yet to be built in terrestrial coordinate system Coordinate.
Optionally, described device further include: removing module;
The removing module deletes the object yet to be built for laying foundations in position in multiple expectations of the object yet to be built Latitude and longitude coordinates be unsatisfactory for the position of default precision;And/or
It lays foundations in position in multiple expectations of the object yet to be built, deletes the latitude and longitude coordinates of the object yet to be built default Position outside region;And/or
It lays foundations in position in multiple expectations of the object yet to be built, it is small at a distance from built object to delete the object yet to be built In the position of the first pre-determined distance.
Optionally, the removing module is also used to obtain the quantity of the corresponding terminal of each position candidate, and will be small It is deleted in the position candidate of preset quantity.
The fourth aspect of the present invention provides a kind of terminal, comprising:
Position requests receiving module, the position requests of the object yet to be built for receiving the transmission of position acquisition device;
Display module, for showing electronic map;
It is expected that position determination module of laying foundations determines that the user exists for capturing operation of the user to the electronic map The expectation of the object yet to be built selected on the electronic map is laid foundations position;
Sending module, the expectation for sending the object yet to be built to the position acquisition device are laid foundations position.
Optionally, the display module is also used to show user information input interface;
Optionally, the sending module is also used to send user information to the position acquisition device.
The fifth aspect of the present invention provides a kind of position acquisition device, comprising: at least one processor and memory;
The memory stores computer executed instructions;
At least one described processor executes the computer executed instructions of the memory storage, so that the position acquisition Device executes the location acquiring method of above-mentioned first aspect.
The sixth aspect of the present invention provides a kind of terminal, comprising: at least one processor and memory;
The memory stores computer executed instructions;
At least one described processor executes the computer executed instructions of the memory storage, so that the terminal executes The location acquiring method of above-mentioned second aspect.
The seventh aspect of the present invention provides a kind of computer readable storage medium, deposits on the computer readable storage medium Computer executed instructions are contained, when the computer executed instructions are executed by processor, realize the position of above-mentioned first aspect Acquisition methods.
The eighth aspect of the present invention provides a kind of computer readable storage medium, deposits on the computer readable storage medium Computer executed instructions are contained, when the computer executed instructions are executed by processor, realize the position of above-mentioned second aspect Acquisition methods.
The present invention provides a kind of location acquiring method, device and storage medium, this method comprises: to multiple terminals send to The position requests of object are built, position requests show electronic map for triggering each terminal;Receive the yet to be built of each terminal transmission The expectation of object is laid foundations position, and the expectation of object yet to be built position of laying foundations is that the corresponding user of each terminal selects on the electronic map Position;It is laid foundations position according to multiple expectations of object yet to be built, determines that the target of object yet to be built is laid foundations position.It is provided by the invention The location acquiring method of object yet to be built can be in conjunction with the suggestion of user, so that the position of the object yet to be built obtained can satisfy user Demand.
Detailed description of the invention
Fig. 1 is the schematic diagram of a scenario that location acquiring method provided by the invention is applicable in;
Fig. 2 is the flow diagram one of location acquiring method provided by the invention;
Fig. 3 is that terminal interface provided by the invention changes schematic diagram one;
Fig. 4 is that the target of determination provided by the invention object yet to be built is laid foundations the flow diagram one of position;
Fig. 5 is the schematic diagram of position candidate provided by the invention;
Fig. 6 is that the target of determination provided by the invention object yet to be built is laid foundations the flow diagram two of position;
Fig. 7 is that terminal interface provided by the invention changes schematic diagram two;
Fig. 8 is the surface chart after the choice box in interface 701 is selected;
Fig. 9 is the structural schematic diagram one of position acquisition device provided by the invention;
Figure 10 is the structural schematic diagram two of position acquisition device provided by the invention;
Figure 11 is the structural schematic diagram three of position acquisition device provided by the invention;
Figure 12 is the structural schematic diagram one of terminal provided by the invention;
Figure 13 is the structural schematic diagram two of terminal provided by the invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with the embodiment of the present invention, to this Technical solution in inventive embodiments is clearly and completely described, it is clear that described embodiment is that a part of the invention is real Example is applied, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creation Property labour under the premise of every other embodiment obtained, shall fall within the protection scope of the present invention.
Fig. 1 is the schematic diagram of a scenario that location acquiring method provided by the invention is applicable in, as shown in Figure 1, provided by the invention It include: position acquisition device and terminal in the applicable scene of location acquiring method.
Position acquisition device in the present invention can be mobile device or fixed equipment;Wherein, mobile device can be hand Machine, personal digital assistant (Personal Digital Assistant, referred to as: PDA), tablet computer, portable equipment (for example, Portable computer, pocket computer or handheld computer) etc. mobile devices;Fixed equipment can be desktop computer etc. Fixed equipment.
Currently, user goes on a journey for convenience, need that camera is arranged in multiple positions, service equipment is real-time according to camera Traffic information is obtained, is timely feedbacked to user;The object yet to be built for the position that position acquisition device in the present invention obtains can be Camera.It is envisioned that if desired establishing a market, market yet to be built can also be obtained using method provided by the invention Position.Location acquiring method provided by the invention applies also for the position acquisition of other objects yet to be built.
Wherein, the position acquisition device in the present invention can be asked to the position that terminal sends object yet to be built in several ways It asks.Illustratively, multiple application software are installed in terminal, position acquisition device can by the server of each application software to Corresponding application software sends the position requests of object yet to be built, and user obtains position acquisition device hair by logging in each application software The position requests of the object yet to be built sent.
The present embodiment is from the angle of position acquisition device and terminal interaction, in conjunction with Fig. 2 to position acquisition provided by the invention Method is illustrated, and Fig. 2 is the flow diagram one of location acquiring method provided by the invention, as shown in Fig. 2, the present embodiment mentions The location acquiring method of confession may include:
S201, position acquisition device send the position requests of object yet to be built to multiple terminals.
In the present embodiment, when the position to object yet to be built being needed to be determined, position acquisition device is sent to multiple terminals The position requests of object yet to be built;Specifically, position acquisition device can be by the servers of multiple application software to multiple terminals The position requests are sent, so that user obtains the position requests when logging in each application program.Wherein, the position of object yet to be built asks It include the mark of object yet to be built in asking.Illustratively, such as object yet to be built is camera, then wraps in the position requests of the object yet to be built Include the title or picture of object yet to be built.
Wherein, which shows electronic map for triggering each terminal.The electronic map can be pacifies in terminal The application software that can show electronic map of dress;It is envisioned that if electronic map can be shown by not installing in terminal Application software, the position acquisition device in the present embodiment can receive the response message that can not be shown of terminal return, in turn Position acquisition device can send the link information etc. of downloading electronic map to terminal, so that terminal shows electronic map.
S202, terminal show electronic map.
Terminal shows electronic map after receiving the position requests of object yet to be built of position acquisition device transmission.It is optional , the position of user can be shown on the electronic map, and, the selection of the optional object yet to be built near the position of user Region;Alternatively, the optional selection region of object yet to be built and the information in each region can be shown on the electronic map, Such as title, flow of the people information;Alternatively, can show that the expectation of the object yet to be built selected is laid foundations position on the electronic map The user set selects situation, lays foundations at this as XX user selected;It is envisioned that user can by sliding or The operation such as dragging, selects lay foundations position of any one position as object yet to be built on the electronic map.
Fig. 3 is that terminal interface provided by the invention changes schematic diagram one, as shown in figure 3, the interface 301 in Fig. 3 is exemplary Show the position of user, and, the selection situation of the neighbouring other users of user location, the position that such as " black circles " are user It sets, in each position, correspondence shows the number being easily selected by a user;If the A quantity selected in position is 20 times, position B by The quantity selected is 100 times, and the quantity that position C has been selected is 3 times.
S203, terminal capture operation of the user to electronic map, determine the object yet to be built that user selects on the electronic map Expectation lay foundations position.
In the present embodiment, terminal can capture operation of the user to electronic map, such as: capturing user and drags to electronic map Operation is dragged, that is, determines user in the region for the electronic map for changing observation;Amplifying operation of the user to electronic map is captured, i.e., really Determining user may expect to lay foundations in the region of the electronic map;User is captured to the clicking operation of electronic map, is determined The expectation for the object yet to be built that user selects on the electronic map is laid foundations position.Can also be used capture user to electronic map other Operation determines that the expectation for the object yet to be built that user selects on the electronic map is laid foundations position, and above-mentioned the present embodiment is a kind of example.
It is worth noting that, same user can carry out multiple expectations to object yet to be built and lay foundations the choosing of position in the present embodiment It selects, the position that can also lay foundations to the same expectation of object yet to be built is repeatedly selected.Each terminal can record user to yet to be built right The expectation of elephant is laid foundations the result of position.
It is laid foundations after position selects in user to the expectation of object yet to be built, terminal interface jumps to interface by interface 301 Interface 302 in 302, Fig. 3 illustratively shows user and further confirms that interface, such as shows and " whether determines selection XX It is set to position of laying foundations ", and selection control is shown, corresponding includes two controls of "Yes" and "No";In the present embodiment, work as user After click or other operation selection "Yes" controls, terminal interface jumps to interface 303, and corresponding, interface 303 is shown Printed words such as " chosen successfully ", to remind user's selection it is expected position success of laying foundations.Wherein, when user passes through click or other behaviour After the "No" that elects control, terminal interface can jump back to interface 301 again, or exit electronic map.
S204, terminal are laid foundations position to the expectation that position acquisition device sends object yet to be built.
In the present embodiment, the expectation of object yet to be built position of laying foundations is that the corresponding user of each terminal selects on the electronic map Position.After the selection operation that terminal obtains user, the expectation for sending object yet to be built to position acquisition device is laid foundations position.
Specifically, it includes at least one phase in position that terminal is laid foundations in the expectation for sending object yet to be built to position acquisition device Hope the number of the terminal selection for position of laying foundations, illustratively, table one shows terminal A and lays foundations position to the expectation of object yet to be built Selection result:
Table one
It is expected that position of laying foundations Number
A 1
B 1
C 1
Shown in table one as above, terminal A has carried out 3 selections to object yet to be built, and position of each laying foundations successively is selected, i.e., Pair position B is laid foundations and the expectation position C that lays foundations has carried out 1 selection respectively in lay foundations position A, expectation of expectation to object yet to be built, i.e., It is expected that the position A that lays foundations, expectation lay foundations position B and the expectation position C that lays foundations has thrown 1 ticket respectively.
S205, position acquisition device are laid foundations position according to multiple expectations of object yet to be built, determine that the target of object yet to be built is built Point position.
In the present embodiment, position acquisition device is laid foundations in the expectation for obtaining multiple terminals transmissions behind position, according to multiple phases Prestige is laid foundations position, determines that the target of object yet to be built is laid foundations position.It is envisioned that position acquisition device available each end One or more expectation that end is sent is laid foundations position, further, also each expectation of the available each terminal to selection It lays foundations the ballot number of position.
The number of the corresponding terminal in position specifically, each expectation of the available object yet to be built of position acquisition device is laid foundations Amount;It first obtains each expectation of selection to lay foundations the quantity of position, and obtains each terminal and lay foundations the throwing of position to the expectation of selection Poll amount, to selecting the lay foundations ballot number of position terminal quantity and each terminal of same expectation to count, it is yet to be built right to obtain Each expectation of elephant lay foundations position ballot sum.
In the present embodiment, the target that object yet to be built is previously stored in position acquisition device is laid foundations the preset quantity of position, Can according to it is multiple expectation lay foundations position ballot sum it is descending be ranked up, by before ranking preset quantity it is expected lay foundations It lays foundations position as target position.
It is worth noting that, the first preset threshold of ballot quantity is previously stored in position acquisition device, to multiple It is expected that after position of laying foundations is ranked up, judge whether the lay foundations ballot quantity of position of each expectation is greater than the first of ballot quantity in advance If threshold value;If preset quantity expectation, which is laid foundations, before ranking has the first default threshold that ballot quantity is less than ballot quantity in position Value then lays foundations in target and deletes the expectation of the first preset threshold that the ballot quantity is less than ballot quantity in position and lay foundations position.
Optionally, in the present embodiment each expectation to object yet to be built lay foundations the ballot position of position count when, Can also by same terminal to it is same expectation lay foundations position ballot quantity greater than more than the second preset threshold number of votes not It counts, determines that the ballot is voted for malice.
Location acquiring method provided in this embodiment includes: the position requests that object yet to be built is sent to multiple terminals, position Request shows electronic map for triggering each terminal;The expectation for receiving the object yet to be built that each terminal is sent is laid foundations position, to The expectation position of laying foundations for building object is position that the corresponding user of each terminal selects on the electronic map;According to object yet to be built Multiple expectations are laid foundations position, determine that the target of object yet to be built is laid foundations position.The position acquisition of object yet to be built provided in this embodiment Method can be in conjunction with the suggestion of user, so that the position of the object yet to be built obtained can satisfy the demand of user.
Below with reference to Fig. 4 to how to lay foundations position according to multiple expectations in the present invention, determine that the target of object yet to be built is built Point position is described in detail, and Fig. 4 is that the target of determination provided by the invention object yet to be built is laid foundations the flow diagram one of position, As shown in figure 4, the target of determination object yet to be built provided in this embodiment is laid foundations, position be may include steps of:
S401, multiple expectations that position acquisition device obtains object yet to be built lay foundations in position between two two positions first away from From.
In the present embodiment, position acquisition device is laid foundations position in the multiple expectations for obtaining object yet to be built, specially yet to be built right As the latitude and longitude coordinates in terrestrial coordinate system.Position acquisition device is laid foundations in the multiple expectations of acquisition behind position, in multiple phase Prestige is laid foundations in position, is obtained and is met the expectations of preset rules and lay foundations position.
Specifically, can be previously stored with default precision in position acquisition device, position acquisition device obtains each expectation Lay foundations the precision of position, the specific can be that obtain each expectation lay foundations position longitude and latitude precision, in the more of object yet to be built A expectation is laid foundations in position, and the latitude and longitude coordinates for deleting object yet to be built are unsatisfactory for the position of default precision;Illustratively, essence is preset Degree be 1 meter, user select in electronic map expectation lay foundations position when, may due to maloperation acquisition object yet to be built expectation Lay foundations position latitude and longitude coordinates lower than 1 meter, i.e. the expectation of selection position range of laying foundations is excessive, does not meet actual demand, position Acquisition device deletes the expectation for being unsatisfactory for default precision position of laying foundations.
Can be previously stored with predeterminable area in position acquisition device, i.e., in advance to the region of suitable setting object yet to be built into Row storage, when position acquisition device is laid foundations in position in multiple expectations in object yet to be built, the longitude and latitude for deleting object yet to be built is sat It is marked on the position outside predeterminable area, i.e., deletes the expectation not in predeterminable area that user selects position of laying foundations.
Position and the first pre-determined distance of multiple built objects can also be previously stored in position acquisition device;Specifically , position acquisition device is laid foundations in multiple expectations of object yet to be built in position, and it is small at a distance from built object to delete object yet to be built In the position of the first pre-determined distance.One object yet to be built, the function for the object yet to be built that can not only make are set i.e. in the same area It can maximize, avoid the waste of resource.
Above-mentioned preset rules are respectively default precision, predeterminable area and the first pre-determined distance, and position acquisition device can be with Multiple expectations position of laying foundations is judged using three kinds of rules simultaneously, it can also be using one such or two kinds are sentenced It is disconnected;Or may also set up other preset rules, so that the expectation that position acquisition device obtains is laid foundations, position is more accurate.
In the present embodiment, lays foundations after position screens, obtain remaining in multiple expectations of the position acquisition device to acquisition The first distance laid foundations in position between two two positions of multiple expectations.Specifically, the position that can be laid foundations according to each expectation Latitude and longitude coordinates obtain the first distance between two two positions.Wherein, obtain multiple expectations lay foundations in position two two positions it Between first distance after, can determine that the target of object yet to be built is laid foundations position according to the first distance.
Specifically, the corresponding expectation of the first distance for being less than pre-determined distance can be laid foundations position as a cluster, by this Multiple expectations are laid foundations position of the center as the cluster of position in cluster, are laid foundations position using the position of the cluster as target.
Illustratively, pre-determined distance 10m, position acquisition device obtain multiple expectations lay foundations position be respectively A, B, C, D and E obtains the first distance between two two positions respectively;As the distance between A and B, C, D, E be respectively 5m, 15m, 20m, 25m;The distance between B and C, D, E are respectively 35m, 15m, 20m;The distance between C and D, E are respectively 25m, 15m;D and E it Between distance be 43m.It is 10m since the distance between A and B 5m are less than pre-determined distance, using A and B as a cluster, by A With the center of B as new position F, lay foundations position using C, D, E and the new position F as target.This kind of implementation It is that the present invention may be implemented first distance and obtain target to lay foundations a kind of mode that can be implemented of position.
Whether S402, position acquisition device judge the minimum value in first distance less than the second pre-determined distance;If so, holding Row S403, if not, it is determined that multiple expectations of object yet to be built position of laying foundations is position candidate, executes S405.
In the present embodiment, the second pre-determined distance is previously stored in position acquisition device, if acquisition multiple first away from When minimum value from is less than the second pre-determined distance, determine that multiple expectations are laid foundations in position and existed between two positions of it is expected to lay foundations Distance it is close, an object yet to be built can be set at two positions;If the minimum in multiple first distances of acquisition When value is all larger than the second pre-determined distance, determine two expectations that multiple expectations are laid foundations in position lay foundations the distance between position compared with Greatly, it determines that multiple expectations of object yet to be built position of laying foundations is position candidate, can be respectively set at multiple position candidates Object yet to be built.
S403, position acquisition device merge corresponding two positions of minimum value in first distance, and by first distance In the centers of corresponding two positions of minimum value lay foundations position as new expectation.
Based on multiple first distances that above-mentioned S402 is obtained, position acquisition device obtains the minimum in multiple first distances Value, and corresponding two positions of minimum value in the first distance are merged, forms a cluster, and by two place-centric positions It lays foundations position, the i.e. position of the cluster as new expectation.
S404, position acquisition device obtain laying foundations position comprising lay foundations all expectations of position of new expectation for object yet to be built In first distance between two two positions;After having executed S404, one is returned to step, until all expectations are laid foundations in position First distance between two two positions is greater than the second pre-determined distance, obtains multiple position candidates, executes S405.
Position acquisition device is laid foundations behind position obtaining new expectation, is then obtained and is laid foundations the institute of position comprising new expectation There is expectation to lay foundations the first distance in position between two two positions, i.e. the position of acquisition cluster and remaining expectation lays foundations the first of position Distance, and, the first distance that residue expectation is laid foundations in position between two two positions;And in multiple first distance, according to The mode of above-mentioned S402-S403 judge the minimum value in new first distance whether less than the second pre-determined distance, if so, according to The mode that cluster is constructed in S403, obtains new cluster, and obtain the position of each cluster.
Iteration executes S404, S402, S403, first between two two positions until all expectations obtained are laid foundations in position Distance is greater than the second pre-determined distance, by the position of the cluster finally merged, and, the expectation not merged lays foundations position as time Bit selecting is set.
Illustratively, multiple expectations position of laying foundations as position acquisition device obtains is respectively A, B, C, D and E;For the first time The first distance of A and B is minimum value in the first distance of two two positions obtained, and less than the second pre-determined distance, just by A and B As a cluster, and using the center F of A and B as the position of the cluster;The first of second of acquisition two two positions of F, C, D and E Distance, if the first distance of F and C is minimum value, and less than the second pre-determined distance, just using F and C as a cluster, and by F and C Position of the center G as the cluster;Then third time in the same way obtain two two positions of G, D and E first away from From if there is also minimum values less than the second pre-determined distance, just continuing to merge cluster, obtain first distance again and judged, directly The second pre-determined distance is all larger than to first distance;If G, the first distance of two two positions of D and E is all larger than the second pre-determined distance, Using the position of G, D and E as position candidate.
Fig. 5 is the schematic diagram of position candidate provided by the invention, as shown in figure 5, a circle represents a cluster, it is exemplary , the center of cluster 1 is the position of G, specifically, including it is expected lay foundations position A, B and C in the cluster 1, specific expectation is laid foundations The center of position A, B and C are the position of G, the i.e. center of the cluster 1.Still it can be seen that there are also not formed clusters in Fig. 5 It is expected that lay foundations position D and E.
S405, position acquisition device determine that the target of object yet to be built is laid foundations position according to multiple position candidates of object yet to be built It sets.
In the present embodiment, position acquisition device can determine after obtaining multiple position candidates in multiple position candidates The target of object yet to be built is laid foundations position.It lays foundations position specifically, multiple position candidates can be disposed as to target;Alternatively, It lays foundations position in multiple position candidates using the most position of number of voting as target;Alternatively, descending according to ballot number Sequence position candidate is ranked up, lay foundations position using preset quantity position candidate before ranking as target.
In the present embodiment, multiple expectations that position acquisition device obtains object yet to be built in the way of iteration are laid foundations in position First distance between two two positions, the minimum value in first distance are to build corresponding expectation less than the second pre-determined distance Point position merges, and the lay foundations center of position of this two expectations is laid foundations position as new expectation, constantly into Row iteration, the first distance until all expectations are laid foundations in position between two two positions are greater than the second pre-determined distance, obtain candidate Position obtains target in position candidate and lays foundations position.Target in the present embodiment is laid foundations the acquisition modes of position, is avoided Multiple to carry out the setting of object yet to be built apart from close expectation position of laying foundations, the function for the object yet to be built that can make maximizes, Avoid the waste of resource.
In order to enable obtain target lay foundations position can be more accurate, and more with theoretical foundation support, below The mesh of object yet to be built is determined in conjunction with Fig. 6 to how according to multiple position candidates from the angle of terminal and the interaction of position acquisition device The lay foundations method of position of mark is specifically described, and Fig. 6 is that the target of determination provided by the invention object yet to be built is laid foundations the stream of position Journey schematic diagram two is laid foundations position in terminal to the expectation that position acquisition device sends object yet to be built as shown in fig. 6, in the present embodiment After setting, following steps can also be carried out:
S601, terminal show user information input interface.
The present embodiment is illustrated with the angle that a terminal is interacted with position acquisition device, it is contemplated that Each terminal is identical as the mode of position acquisition device interaction.Specifically, terminal is capturing operation of the user to electronic map, really It is expected of fixed object yet to be built lays foundations position and after determination lays foundations position to the expectation that position acquisition device sends the object yet to be built, Terminal shows user information input interface.
Fig. 7 is that terminal interface provided by the invention changes schematic diagram two, if the interface 701 in Fig. 7 is by above-described embodiment In interface 303 jump;The information for needing that typing or selection are carried out by user is illustratively shown in interface 701, such as Input user's phone number input frame, input expectation lay foundations position lay foundations reason and user's occupation choice box;Tool Body, user's occupation can be top managers, public security officer, common people etc., wherein Fig. 8 is that the choice box in interface 701 is selected Surface chart afterwards, as shown in figure 8, choice box of the user to user's occupation in interface 701 click or other operation Afterwards, multiple sub- choice boxs shown in fig. 8 are shown as, include a variety of occupations in sub- choice box, user clicks corresponding choice box User's occupation is selected.User part message is only shown in interface 701, it is contemplated that can also be arranged more Choice box or input frame carry out user information typing.
Specifically, interface 701 also shows determining control, user finishes by the user information typing in the interface 701 Afterwards, the determination control is selected, terminal interface jumps to interface 702;Illustratively, interface 702 shows words such as " sending successfully " Sample, to remind user that typing finishes.
S602, terminal send user information to position acquisition device.
After user's typing user information, i.e. when jumping to interface 702, as terminal obtains terminal interface to position Device is taken to send user information.
S603, position acquisition device obtain user's letter of each position candidate in the user information that multiple terminals are sent Breath.
Correspondingly, position acquisition device, can should after obtaining the user information that multiple terminals are sent in the present embodiment Multiple user informations are stored;After position acquisition device obtains multiple position candidates, in multiple user informations of storage It inquires (such as being inquired according to the mark of the title of user or terminal), obtains each position candidate in multiple position candidate Corresponding user information selects the user of each position candidate and the user information of user's typing.
S604, position acquisition device obtain the attribute information of each position candidate in preset position information library.
Can become one setting in position acquisition device with preset position information library, alternatively, position acquisition device with Preset position information library is separately provided;Wherein, the attribute information of multiple positions is stored in preset position information library, specifically, Multiple position includes all positions in electronic map, that is, includes built position and position candidate.The attribute of each position Information may include the information such as road quality classification at the position, community or commercial circle grade, flow of the people, specifically, each position Flow of the people information is that the base station as belonging to the position is obtained according to the registration information of terminal.
S604 and S603 in the present embodiment do not have the differentiation of sequencing, and the two may be performed simultaneously.
S605, position acquisition device determine object yet to be built according to the user information and attribute information of each position candidate Target is laid foundations position.
In the present embodiment, position acquisition device will also obtain the quantity of the corresponding terminal of each position candidate, and will be less than The position candidate of preset quantity is deleted.Wherein, it in the case of this kind, can only vote 1 time a position candidate when each terminal, i.e., The quantity representative of the corresponding terminal of each position candidate gained vote quantity of each position candidate.In the present embodiment, obtained in position It takes and is previously stored with preset quantity in device, after the quantity for obtaining the corresponding terminal of each position candidate, will be less than default The position candidate of quantity is deleted, and target is carried out in remaining position candidate and is laid foundations the determination of position.
Specifically, position acquisition device is according to the user information of each position candidate, the weight of user information, and, often The weight of the attribute information of a position candidate, attribute information, obtains the score value of each position candidate;Further according to each position candidate Score value, determine that the target of object yet to be built is laid foundations position.
Wherein, the user information of each position candidate includes: user's occupation;Each of which user's occupation has corresponding point Value, illustratively, as top managers are 10 points, public security officer is 8 points, the common people 6 divide;The attribute information packet of each position candidate It includes: ballot quantity, road quality classification, community or commercial circle grade and flow of the people grade;Illustratively, if ballot quantity is in 500 tickets The above are be 8 points between 10 points, 400-500 ticket, 300-400 ticket is 6 points, 200-300 ticket is 4 points, 100-200 ticket 2 is point and 100 tickets are once 1 point;As road quality classification high speed be 10 points, national highway is 8 points, major urban arterial highway be 6 points and it is other be 4 points;Such as society Area or commercial circle grade: important commercial circle and community are 10 points, and other is 8 points;It is 10 points as flow of the people is higher than the first quartile Q1, the Between two quartile Q2 and the first quartile Q1 be 8 points, between third quartile Q3 and the second quartile Q2 for 6 points, it is other be 4 Point.
Illustratively, the weight of the user information of the first position candidate are as follows: point of the user information of first position candidate The ratio of value and the score value summation of the user information of all position candidates;Correspondingly, in the attribute information of the first position candidate Ballot quantity weight are as follows: the ballot quantity of the score value of the ballot quantity of first position candidate and all position candidates The ratio of score value summation;The weight of road quality classification in the attribute information of first position candidate are as follows: the public affairs of first position candidate The ratio of the score value summation of the road quality classification of the score value of road grade and all position candidates;The attribute information of first position candidate In community or commercial circle grade weight are as follows: the score value and all candidate bits of the community of first position candidate or commercial circle grade The ratio of the score value summation of the community or commercial circle grade set;The weight of flow of the people in the attribute information of first position candidate are as follows: The ratio of the score value summation of the score value of the flow of the people of first position candidate and the flow of the people of all position candidates.
Position acquisition device according to the user information of each position candidate, the weight of user information, and, each candidate bit The weight of the attribute information, attribute information set, the mode for obtaining the score value of each position candidate can enter shown in lower formula one:
St=S1·W1+S2·W2+S3·W3+S4·W4+S5·W5Formula one
Wherein, StFor the score value of any one position candidate, S1For the score value of the user information of any one position candidate, W1For the weight of the user information of any one position candidate, S2For the score value of the ballot quantity of any one position candidate, W2For The weight of the ballot quantity of any one position candidate, S3For the score value of the road quality classification of any one position candidate, W3It is any The weight of the road quality classification of one position candidate, S4For the community of any one position candidate or the score value of commercial circle grade, W4To appoint It anticipates the community an of position candidate or the weight of commercial circle grade, S5For the score value of the flow of the people of any one position candidate, W5To appoint The weight of the flow of the people for a position candidate of anticipating.
Specifically, position acquisition device is previously provided with point threshold, score value is greater than to the position candidate of point threshold Target as object yet to be built is laid foundations position.And correspondingly, the score value of position candidate is bigger, then the priority laid foundations is also bigger.
In the present embodiment, position acquisition device obtains the user information and attribute information of each position candidate, and according to pre- If score is regular, the score value of the user information of each position candidate and the score value of attribute information are obtained, and obtain user information The weight of weight and attribute information, further according to the user information of each position candidate, the weight of user information, and, The weight of the attribute information of each position candidate, attribute information obtains the score value of each position candidate, and score value is greater than score value The position candidate of threshold value is laid foundations position as the target of object yet to be built.Location acquiring method provided in this embodiment is participated in user On the basis of ballot, in conjunction with each position candidate user information and attribute information and user information and attribute information respectively Weight so that obtain target lay foundations position with stronger data support and theoretical foundation.
Fig. 9 is the structural schematic diagram one of position acquisition device provided by the invention, as shown in figure 9, the position acquisition device 900 include: that position requests sending module 901, expectation lay foundations position receiving module 902 and target is laid foundations position receiving module 903.
Position requests sending module 901, for sending the position requests of object yet to be built to multiple terminals, position requests are used for It triggers each terminal and shows electronic map.
It is expected that position receiving module 902 of laying foundations, the expectation for receiving the object yet to be built that each terminal is sent is laid foundations position, The expectation of object yet to be built position of laying foundations is position that the corresponding user of each terminal selects on the electronic map.
Target is laid foundations position receiving module 903, is laid foundations position for multiple expectations according to object yet to be built, it is yet to be built right to determine The target of elephant is laid foundations position.
Position acquisition device provided in this embodiment is similar with principle and technical effect that above-mentioned location acquiring method is realized, Therefore not to repeat here.
Optionally, Figure 10 is the structural schematic diagram two of position acquisition device provided by the invention, as shown in Figure 10, the position Acquisition device 900 further include: user information receiving module 904 and removing module 905.
Optionally, target is laid foundations position receiving module 903, and multiple expectations specifically for obtaining object yet to be built are laid foundations position In first distance between two two positions;According to first distance, determine that the target of object yet to be built is laid foundations position.
Optionally, target is laid foundations position receiving module 903, is specifically used for:
Whether step 1 judges the minimum value in first distance less than the second pre-determined distance;
If so, executing step 2, if not, it is determined that multiple expectations of object yet to be built position of laying foundations is position candidate, Execute step 4;
Step 2: corresponding two positions of minimum value in first distance are merged, and by the minimum value in first distance It lays foundations position as new expectation the center of corresponding two positions;
Step 3 obtains laying foundations two two positions in position comprising lay foundations all expectations of position of new expectation for object yet to be built Between first distance;After executing the step three, one is returned to step, two two positions in position until all expectations are laid foundations Between first distance be greater than the second pre-determined distance, obtain multiple position candidates, execute step 4;
Step 4: according to multiple position candidates of object yet to be built, determine that the target of object yet to be built is laid foundations position.
User information receiving module 904, the user information sent for receiving each terminal;
Optionally, target is laid foundations position receiving module 903, specifically for obtaining in the user information that multiple terminals are sent Take the user information of each position candidate;In preset position information library, the attribute information of each position candidate is obtained;According to every The user information and attribute information of a position candidate determine that the target of object yet to be built is laid foundations position.
Optionally, target is laid foundations position receiving module 903, specifically for according to the user information of each position candidate, use The weight of family information, and, the weight of the attribute information of each position candidate, attribute information obtains point of each position candidate Value;According to the score value of each position candidate, determine that the target of object yet to be built is laid foundations position.
Optionally, target is laid foundations position receiving module 903, and the position candidate specifically for score value to be greater than to point threshold is made It lays foundations position for the target of object yet to be built.
Optionally, the expectation of object yet to be built lays foundations position as latitude and longitude coordinates of the object yet to be built in terrestrial coordinate system.
Removing module 905 is laid foundations in position for multiple expectations in object yet to be built, and the longitude and latitude for deleting object yet to be built is sat Mark is unsatisfactory for the position of default precision;And/or
It lays foundations in position in multiple expectations of object yet to be built, deletes the latitude and longitude coordinates of object yet to be built outside predeterminable area Position;And/or
It lays foundations in position in multiple expectations of object yet to be built, it is pre- less than first at a distance from built object to delete object yet to be built If the position of distance.
Optionally, removing module 905 are also used to obtain the quantity of the corresponding terminal of each position candidate, and will be less than pre- If the position candidate of quantity is deleted.
Figure 11 is the structural schematic diagram three of position acquisition device provided by the invention, which for example can be Terminal device, such as smart phone, tablet computer, computer etc..As shown in figure 11, which includes: to deposit Reservoir 1101 and at least one processor 1102.
Memory 1101, for storing program instruction.
Processor 1102, it is specific real for being performed the location acquiring method realized in the present embodiment in program instruction Existing principle can be found in above-described embodiment, and details are not described herein again for the present embodiment.
The position acquisition device 1100 can also include and input/output interface 1103.
Input/output interface 1103 may include independent output interface and input interface, or integrated input and The integrated interface of output.Wherein, output interface is used for output data, and input interface is used to obtain the data of input, above-mentioned output Data be the general designation that exports in above method embodiment, the data of input are the general designation inputted in above method embodiment.
The present invention also provides a kind of readable storage medium storing program for executing, it is stored with and executes instruction in readable storage medium storing program for executing, work as position acquisition When at least one processor of device executes this and executes instruction, when computer executed instructions are executed by processor, realize above-mentioned Location acquiring method in embodiment.
The present invention also provides a kind of program product, the program product include execute instruction, this execute instruction be stored in it is readable In storage medium.At least one processor of position acquisition device can read this from readable storage medium storing program for executing and execute instruction, at least One processor executes this and executes instruction so that position acquisition device implements the position acquisition that above-mentioned various embodiments provide Method.
Figure 12 is the structural schematic diagram one of terminal provided by the invention, and as shown in figure 12, which includes: that position asks It seeks receiving module 1201, display module 1202, it is expected lay foundations position determination module 1203 and sending module 1204.
Position requests receiving module 1201, the position requests of the object yet to be built for receiving the transmission of position acquisition device.
Display module 1202, for showing electronic map.
It is expected that position determination module 1203 of laying foundations determines user in electronics for capturing operation of the user to electronic map The expectation of the object yet to be built selected on map is laid foundations position.
Sending module 1204, the expectation for sending object yet to be built to position acquisition device are laid foundations position.
Terminal provided in this embodiment is similar with principle and technical effect that above-mentioned location acquiring method is realized, does not make herein It repeats.
Figure 13 is the structural schematic diagram two of terminal provided by the invention, and as shown in figure 13, which includes: memory 1301 and at least one processor 1302.
Memory 1301, for storing program instruction.
Processor 1302, it is specific real for being performed the location acquiring method realized in the present embodiment in program instruction Existing principle can be found in above-described embodiment, and details are not described herein again for the present embodiment.
The terminal 1300 can also include and input/output interface 1303.
Input/output interface 1303 may include independent output interface and input interface, or integrated input and The integrated interface of output.Wherein, output interface is used for output data, and input interface is used to obtain the data of input, above-mentioned output Data be the general designation that exports in above method embodiment, the data of input are the general designation inputted in above method embodiment.
The present invention also provides a kind of readable storage medium storing program for executing, be stored with and execute instruction in readable storage medium storing program for executing, when terminal extremely When a few processor executes this and executes instruction, when computer executed instructions are executed by processor, realize in above-described embodiment Location acquiring method.
The present invention also provides a kind of program product, the program product include execute instruction, this execute instruction be stored in it is readable In storage medium.At least one processor of terminal can read this from readable storage medium storing program for executing and execute instruction, at least one processing Device executes this and executes instruction so that terminal implements the location acquiring method that above-mentioned various embodiments provide.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) or processor (English: processor) execute this hair The part steps of bright each embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviation: ROM), random access memory (English: Random Access Memory, letter Claim: RAM), the various media that can store program code such as magnetic or disk.
In the embodiment of the above-mentioned network equipment or terminal device, it should be appreciated that processor can be central processing unit (English: Central Processing Unit, referred to as: CPU), it can also be other general processors, digital signal processor (English: Digital Signal Processor, abbreviation: DSP), specific integrated circuit (English: Application Specific Integrated Circuit, referred to as: ASIC) etc..General processor can be microprocessor or the processor It is also possible to any conventional processor etc..Hardware handles can be embodied directly in conjunction with the step of method disclosed in the present application Device executes completion, or in processor hardware and software module combination execute completion.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (16)

1. a kind of location acquiring method characterized by comprising
The position requests of object yet to be built are sent to multiple terminals, the position requests show electronics for triggering each terminal Map;
The expectation for receiving the object yet to be built that each terminal is sent is laid foundations position, and the expectation of the object yet to be built is laid foundations position Setting is position that the corresponding user of each terminal selects on the electronic map;
It is laid foundations position according to multiple expectations of the object yet to be built, determines that the target of the object yet to be built is laid foundations position.
2. the position the method according to claim 1, wherein multiple expectations according to the object yet to be built are laid foundations It sets, determines that the target of the object yet to be built is laid foundations position, comprising:
Obtain the first distance that multiple expectations of the object yet to be built are laid foundations in position between two two positions;
According to the first distance, determine that the target of the object yet to be built is laid foundations position.
3. according to the method described in claim 2, it is described yet to be built right to determine it is characterized in that, described according to the first distance The target of elephant is laid foundations position, comprising:
Whether step 1 judges the minimum value in the first distance less than the second pre-determined distance;
If so, executing step 2, if not, it is determined that multiple expectations of the object yet to be built position of laying foundations is position candidate, Execute step 4;
Step 2: corresponding two positions of minimum value in the first distance are merged, and by the first distance most It lays foundations position as new expectation the center of corresponding two positions of small value;
Step 3 obtains laying foundations in position two-by-two comprising lay foundations all expectations of position of the new expectation for the object yet to be built The first distance between position;It after having executed the step 3, returns and executes the step 1, until all phases It hopes the first distance in position of laying foundations between two two positions be greater than second pre-determined distance, obtains multiple position candidates, Execute step 4;
Step 4: according to multiple position candidates of the object yet to be built, determine that the target of the object yet to be built is laid foundations position.
4. according to the method described in claim 3, it is characterized in that, described receive the described yet to be built right of each terminal transmission The expectation of elephant is laid foundations after position, further includes:
Receive the user information that each terminal is sent;
Multiple position candidates according to the object yet to be built determine that the target of the object yet to be built is laid foundations position, packet It includes:
In the user information that multiple terminals are sent, the user information of each position candidate is obtained;
In preset position information library, the attribute information of each position candidate is obtained;
According to the user information and attribute information of each position candidate, determine that the target of the object yet to be built is laid foundations position.
5. according to the method described in claim 4, it is characterized in that, the user information according to each position candidate and Attribute information determines that the target of the object yet to be built is laid foundations position, comprising:
According to the user information of each position candidate, the weight of the user information, and, each position candidate The weight of attribute information, the attribute information obtains the score value of each position candidate;
According to the score value of each position candidate, determine that the target of the object yet to be built is laid foundations position.
6. according to the method described in claim 5, it is characterized in that, the score value according to each position candidate, determines The target of the object yet to be built is laid foundations position, comprising:
The position candidate that score value is greater than point threshold is laid foundations position as the target of the object yet to be built.
7. method according to claim 1-6, which is characterized in that the expectation of the object yet to be built position of laying foundations is Latitude and longitude coordinates of the object yet to be built in terrestrial coordinate system;Multiple expectations according to the object yet to be built are laid foundations position It sets, determines that the target of the object yet to be built is laid foundations before position, further includes:
It lays foundations in position in multiple expectations of the object yet to be built, the latitude and longitude coordinates for deleting the object yet to be built are unsatisfactory for presetting The position of precision;And/or
It lays foundations in position in multiple expectations of the object yet to be built, deletes the latitude and longitude coordinates of the object yet to be built in predeterminable area Outer position;And/or
It lays foundations in position in multiple expectations of the object yet to be built, deletes the object yet to be built at a distance from built object less than the The position of one pre-determined distance.
8. according to the method described in claim 3, it is characterized in that, multiple candidate bits according to the object yet to be built It sets, determines that the target of the object yet to be built is laid foundations before position, further includes:
The quantity of the corresponding terminal of each position candidate is obtained, and the position candidate for being less than preset quantity is deleted.
9. a kind of location acquiring method characterized by comprising
Receive the position requests for the object yet to be built that position acquisition device is sent;
Show electronic map;
Operation of the user to the electronic map is captured, determine that the user selects on the electronic map is described yet to be built right The expectation of elephant is laid foundations position;
The expectation for sending the object yet to be built to the position acquisition device is laid foundations position.
10. according to the method described in claim 9, it is characterized in that, described described yet to be built to position acquisition device transmission The expectation of object is laid foundations after position, further includes:
Show user information input interface;
User information is sent to the position acquisition device.
11. a kind of position acquisition device characterized by comprising
Position requests sending module, for sending the position requests of object yet to be built to multiple terminals, the position requests are for touching Terminal that send out each described shows electronic map;
It is expected that position receiving module of laying foundations, the expectation for receiving the object yet to be built that each terminal is sent is laid foundations position It sets, the expectation of the object yet to be built position of laying foundations is position that the corresponding user of each terminal selects on the electronic map It sets;
Target is laid foundations position receiving module, for being laid foundations position according to multiple expectations of the object yet to be built, is determined described yet to be built The target of object is laid foundations position.
12. a kind of terminal characterized by comprising
Position requests receiving module, the position requests of the object yet to be built for receiving the transmission of position acquisition device;
Display module, for showing electronic map;
It is expected that position determination module of laying foundations determines the user described for capturing operation of the user to the electronic map The expectation of the object yet to be built selected on electronic map is laid foundations position;
Sending module, the expectation for sending the object yet to be built to the position acquisition device are laid foundations position.
13. a kind of position acquisition device characterized by comprising at least one processor and memory;
The memory stores computer executed instructions;
At least one described processor executes the computer executed instructions of the memory storage, so that the position acquisition device Perform claim requires the described in any item methods of 1-8.
14. a kind of terminal characterized by comprising at least one processor and memory;
The memory stores computer executed instructions;
At least one described processor executes the computer executed instructions of the memory storage, so that the terminal perform claim It is required that method described in 9 or 10.
15. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium It executes instruction, when the computer executed instructions are executed by processor, realizes the described in any item methods of claim 1-8.
16. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium It executes instruction, when the computer executed instructions are executed by processor, realizes method described in claim 9 or 10.
CN201811363061.9A 2018-11-15 2018-11-15 Position acquisition method, device and storage medium Active CN109525664B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811363061.9A CN109525664B (en) 2018-11-15 2018-11-15 Position acquisition method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811363061.9A CN109525664B (en) 2018-11-15 2018-11-15 Position acquisition method, device and storage medium

Publications (2)

Publication Number Publication Date
CN109525664A true CN109525664A (en) 2019-03-26
CN109525664B CN109525664B (en) 2021-06-01

Family

ID=65778175

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811363061.9A Active CN109525664B (en) 2018-11-15 2018-11-15 Position acquisition method, device and storage medium

Country Status (1)

Country Link
CN (1) CN109525664B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103438895A (en) * 2013-08-05 2013-12-11 北京百度网讯科技有限公司 Method and device for providing recommended destination information for mobile terminal
US20140094194A1 (en) * 2012-10-01 2014-04-03 Mastercard International Incorporated Method and system for providing location services
CN105808609A (en) * 2014-12-31 2016-07-27 高德软件有限公司 Discrimination method and equipment of point-of-information data redundancy
CN105912702A (en) * 2016-04-26 2016-08-31 南京酷派软件技术有限公司 Position recommendation method and system
CN106484748A (en) * 2015-09-02 2017-03-08 阿里巴巴集团控股有限公司 A kind of method and device for determining that point of interest POI lays demand

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140094194A1 (en) * 2012-10-01 2014-04-03 Mastercard International Incorporated Method and system for providing location services
CN103438895A (en) * 2013-08-05 2013-12-11 北京百度网讯科技有限公司 Method and device for providing recommended destination information for mobile terminal
CN105808609A (en) * 2014-12-31 2016-07-27 高德软件有限公司 Discrimination method and equipment of point-of-information data redundancy
CN106484748A (en) * 2015-09-02 2017-03-08 阿里巴巴集团控股有限公司 A kind of method and device for determining that point of interest POI lays demand
CN105912702A (en) * 2016-04-26 2016-08-31 南京酷派软件技术有限公司 Position recommendation method and system

Also Published As

Publication number Publication date
CN109525664B (en) 2021-06-01

Similar Documents

Publication Publication Date Title
CN110726418B (en) Method, device and equipment for determining interest point region and storage medium
CN103563404B (en) For collecting and the system and method that provide map image
CN103997505B (en) A kind of information recommendation method and device of the self-carry point of business object
CN106101224B (en) Identify the method and device of the classification of user geographic location
JP2009134280A (en) Method for generating and providing map image for creating virtual space representing real world, server computer, and three-dimensional map image generating device
DE202011110877U1 (en) View-dependent methods to determine a user's interest in a feature in a 3-D application
US10083186B2 (en) System and method for large scale crowdsourcing of map data cleanup and correction
US20020055926A1 (en) Open platform information on universal maps
CN107179923A (en) Applied program processing method, device and computer equipment
CN106682755A (en) Electronic device and method for realizing travel route planning
CN101339486A (en) Method and apparatus for providing picture file
Mourafetis et al. Enhancing cadastral surveys by facilitating the participation of owners
CN108712712A (en) Wireless Fidelity WiFi network related information display methods and device
DE202012013436U1 (en) SYSTEM FOR PROVIDING INFORMATION BASED ON THE ROAD ADDRESS
CN103383263A (en) Interactive dynamic cloud navigation system
CN107038620A (en) Based on user call a taxi preference information push and device
CN107291784B (en) Method and device for acquiring geo-fence categories and business equipment
DE202016007836U1 (en) Systems for facilitating the transmission of user images of locations
CN109635063A (en) Information processing method and device for address library, electronic equipment and storage medium
CN110298687B (en) Regional attraction assessment method and device
JP2003316808A (en) Map information retrieving, counting and distributing system
CN106060865A (en) Method for establishing user portrait based on wifi information
CN111459723A (en) Terminal data processing system
CN106488402B (en) Ground is made an inventory rendering method and relevant device
CN109525664A (en) Location acquiring method, device and storage 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
GR01 Patent grant
GR01 Patent grant