CN104135718B - The acquisition methods and device of a kind of location information - Google Patents

The acquisition methods and device of a kind of location information Download PDF

Info

Publication number
CN104135718B
CN104135718B CN201410404057.8A CN201410404057A CN104135718B CN 104135718 B CN104135718 B CN 104135718B CN 201410404057 A CN201410404057 A CN 201410404057A CN 104135718 B CN104135718 B CN 104135718B
Authority
CN
China
Prior art keywords
position information
candidate position
information
candidate
positioning
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.)
Active
Application number
CN201410404057.8A
Other languages
Chinese (zh)
Other versions
CN104135718A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201410404057.8A priority Critical patent/CN104135718B/en
Publication of CN104135718A publication Critical patent/CN104135718A/en
Application granted granted Critical
Publication of CN104135718B publication Critical patent/CN104135718B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Position Fixing By Use Of Radio Waves (AREA)
  • Navigation (AREA)

Abstract

An embodiment of the present invention provides a kind of acquisition methods of location information, including:According to the history of M candidate location information and terminal positioning record, the location data for each candidate location information is obtained, M is the integer more than 1;According to the history of M candidate location information and terminal positioning record, the location data for each candidate location information is obtained, M is the integer more than 1;Temperature information according to each candidate location information, N number of candidate location information is selected from the M candidate location information, using as target position information, the target position information is used to determine the position of setting up of point of interest, N is the positive integer less than or equal to M;The embodiment of the present invention also provides a kind of acquisition device of location information.The technical solution provided according to embodiments of the present invention can realize the reliability for improving and obtaining position.

Description

Position information acquisition method and device
[ technical field ] A method for producing a semiconductor device
The present invention relates to the field of positioning technologies, and in particular, to a method and an apparatus for acquiring location information.
[ background of the invention ]
At present, when a new Point of Interest (POI) needs to be established, such as establishing a new business, infrastructure, road, base station, or wireless hotspot, a suitable geographical location needs to be selected for the POI to be established.
In the prior art, a method for selecting a geographical location for a point of interest to be established is as follows: and manually carrying out operations of investigation, field investigation, comparison, reference of similar interest points and the like on the candidate positions, then carrying out comprehensive consideration according to the investigation result, the comparison result and the like, and selecting one geographical position from the candidate geographical positions for establishing the interest points. However, when the geographical location is manually selected, objective data is lacked as a selection basis, so that the reliability of the currently obtained geographical location is low.
[ summary of the invention ]
In view of this, embodiments of the present invention provide a method and an apparatus for acquiring location information, which can improve reliability of acquiring a location.
The embodiment of the invention provides a method for acquiring position information, which comprises the following steps:
obtaining positioning data for each candidate position information according to M candidate position information and a historical positioning record of the terminal, wherein M is an integer larger than 1;
obtaining heat information of each candidate position information according to the positioning data aiming at each candidate position information;
and selecting N pieces of candidate position information from the M pieces of candidate position information as target position information according to the heat information of each piece of candidate position information, wherein the target position information is used for determining the set position of the interest point, and N is a positive integer less than or equal to M.
In the above method, the obtaining the positioning data for each candidate position information according to the M candidate position information and the historical positioning record of the terminal includes:
obtaining a historical positioning record of the terminal aiming at each candidate position information according to the historical positioning record of the terminal, wherein the historical positioning record of the terminal comprises positioning time and corresponding position information;
obtaining a historical positioning record of the terminal aiming at each candidate position information in at least one preset time period;
and obtaining the positioning times of each candidate position information according to the historical positioning record of the terminal aiming at each candidate position information in the at least one time period to be used as the positioning data.
In the above method, the obtaining the heat information of each candidate location information according to the positioning data for each candidate location information includes:
obtaining an average value of the positioning times of each candidate position information according to the historical positioning record of the terminal aiming at each candidate position information in the at least one time period;
and obtaining the heat information of each candidate position information according to the average value of the positioning times aiming at each candidate position information.
In the above method, the obtaining the heat information of each candidate location information according to the average value of the positioning times for each candidate location information includes:
obtaining heat information of each of the candidate position information using the following formula:
wherein HiRepresenting the heat information of the ith candidate position information, wherein the value of i is an integer from 1 to M; viAn average value representing the number of times of positioning with respect to the ith candidate position information; vminA minimum value representing an average value obtained from the average value of the number of times of positioning for each of the candidate position information; vmaxrepresents a maximum value of an average value obtained from an average value of the number of times of positioning for each of the candidate position information, and β represents a preset normalization coefficient.
In the above method, the selecting N pieces of candidate location information from the M pieces of candidate location information as target location information according to the degree of heat information of each piece of candidate location information includes:
according to the heat information of each candidate position information, sorting the M candidate position information according to the sequence of the heat information from big to small to obtain a sorting result, and obtaining N candidate position information which is ranked at the top in the sorting result and is used as target position information; or,
and obtaining N candidate position information of which the heat information is greater than or equal to the heat threshold in the M candidate position information as target position information according to the heat information of each candidate position information and a preset heat threshold.
In the above method, the selecting N pieces of candidate location information from the M pieces of candidate location information as target location information according to the degree of heat information of each piece of candidate location information includes:
according to the heat information of each candidate position information and a preset first weight value of each candidate position information, obtaining a second weight value of each candidate position information;
sequencing the M candidate position information according to the sequence of the second weight values from large to small to obtain a sequencing result, and obtaining N candidate position information ranked at the top in the sequencing result to be used as target position information; or obtaining N pieces of candidate position information of which the second weight value is greater than or equal to the weight threshold value in the M pieces of candidate position information according to the second weight value of each piece of candidate position information and a preset weight threshold value, and using the N pieces of candidate position information as target position information.
The embodiment of the present invention further provides an apparatus for acquiring location information, including:
the data acquisition unit is used for acquiring positioning data aiming at each candidate position information according to M candidate position information and a historical positioning record of the terminal, wherein M is an integer larger than 1;
the heat obtaining unit is used for obtaining heat information of each candidate position information according to the positioning data aiming at each candidate position information;
and the information selection unit is used for selecting N pieces of candidate position information from the M pieces of candidate position information according to the heat information of each piece of candidate position information to be used as target position information, the target position information is used for determining the set position of the interest point, and N is a positive integer less than or equal to M.
In the above apparatus, the data obtaining unit is specifically configured to:
obtaining a historical positioning record of the terminal aiming at each candidate position information according to the historical positioning record of the terminal, wherein the historical positioning record of the terminal comprises positioning time and corresponding position information;
obtaining a historical positioning record of the terminal aiming at each candidate position information in at least one preset time period;
and obtaining the positioning times of each candidate position information according to the historical positioning record of the terminal aiming at each candidate position information in the at least one time period to be used as the positioning data.
In the above apparatus, the heat obtaining unit is specifically configured to:
obtaining an average value of the positioning times of each candidate position information according to the historical positioning record of the terminal aiming at each candidate position information in the at least one time period;
and obtaining the heat information of each candidate position information according to the average value of the positioning times aiming at each candidate position information.
In the above apparatus, the obtaining the heat information of each candidate location information according to the average value of the positioning times for each candidate location information specifically includes:
obtaining heat information of each of the candidate position information using the following formula:
wherein HiRepresenting the heat information of the ith candidate position information, wherein the value of i is an integer from 1 to M; viAn average value representing the number of times of positioning with respect to the ith candidate position information; vminA minimum value representing an average value obtained from the average value of the number of times of positioning for each of the candidate position information; vmaxrepresents a maximum value of an average value obtained from an average value of the number of times of positioning for each of the candidate position information, and β represents a preset normalization coefficient.
In the above apparatus, the information selecting unit is specifically configured to:
according to the heat information of each candidate position information, sorting the M candidate position information according to the sequence of the heat information from big to small to obtain a sorting result, and obtaining N candidate position information which is ranked at the top in the sorting result and is used as target position information; or,
and obtaining N candidate position information of which the heat information is greater than or equal to the heat threshold in the M candidate position information as target position information according to the heat information of each candidate position information and a preset heat threshold.
In the above apparatus, the information selecting unit is specifically configured to:
according to the heat information of each candidate position information and a preset first weight value of each candidate position information, obtaining a second weight value of each candidate position information;
sequencing the M candidate position information according to the sequence of the second weight values from large to small to obtain a sequencing result, and obtaining N candidate position information ranked at the top in the sequencing result to be used as target position information; or obtaining N pieces of candidate position information of which the second weight value is greater than or equal to the weight threshold value in the M pieces of candidate position information according to the second weight value of each piece of candidate position information and a preset weight threshold value, and using the N pieces of candidate position information as target position information.
According to the technical scheme, the embodiment of the invention has the following beneficial effects:
according to the technical scheme provided by the embodiment of the invention, the positioning data of each candidate position information can be obtained, then the heat information is obtained according to the positioning data of the candidate position information, and finally the target position information is selected according to the heat information.
According to the technical scheme provided by the embodiment of the invention, the server can automatically select the target position information according to the historical positioning record and the candidate position information of the terminal, and compared with a method for manually selecting the geographical position in the prior art, the method can improve the geographical position acquisition efficiency and reduce the acquisition cost.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
FIG. 1 is a schematic diagram of a system for use with the solution provided by the embodiment of the present invention;
fig. 2 is a schematic flowchart of a method for acquiring location information according to an embodiment of the present invention;
fig. 3 is a functional block diagram of an apparatus for acquiring location information according to an embodiment of the present invention.
[ detailed description ] embodiments
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It should be understood that although the terms first, second, etc. may be used to describe the weight values in the embodiments of the present invention, the weight values should not be limited to these terms. These terms are only used to distinguish the weight values from each other. For example, the first weight value may also be referred to as a second weight value, and similarly, the second weight value may also be referred to as a first weight value without departing from the scope of the embodiments of the present invention.
The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
The system used in the technical scheme provided by the embodiment of the invention is shown in fig. 1 and mainly comprises a terminal and a server, and the method and the device provided by the embodiment of the invention are realized at the server side.
It is understood that the terminal may include a Personal Computer (PC), a notebook Computer, a mobile phone, or a tablet Computer.
An embodiment of the present invention provides a method for acquiring location information, please refer to fig. 2, which is a schematic flow chart of the method for acquiring location information according to the embodiment of the present invention, and as shown in the figure, the method includes the following steps:
s201, obtaining positioning data aiming at each candidate position information according to M candidate position information and a historical positioning record of the terminal, wherein M is an integer larger than 1.
Specifically, first, the server may obtain a historical positioning record of the terminal for each candidate position information of the M candidate position information according to the historical positioning record of the terminal.
The historical positioning record of the terminal may include the positioning time and the corresponding position information (x, y).
Wherein M is an integer greater than 1.
Wherein, the M candidate position information may be preset. For example, M pieces of candidate location information may be selected by the user from the recommended candidate location information.
The past positioning record of the terminal for the candidate position information refers to a past positioning record in which the position indicated by the included position information is within the range corresponding to the candidate position information.
For example, the shape of the uterus is a rectangle, so the range information of the uterus can be determined by the coordinates (x) of four vertices1,y1)、(x2,y2)、(x3,y3) And (x)4,y4) Obtaining if a terminal has location information (x) contained in a history of location records0,y0) The indicated position is within the range determined by the four coordinates, and the historic location record is considered as the historic location record for the candidate position information "the home palace".
For another example, for a certain candidate position information, a historical positioning record containing position information with a distance less than or equal to 500 meters from the candidate position information may be obtained.
For another example, for a certain candidate location information, the range information of the street where the candidate location information is located may be used as the range information of the candidate location information.
Then, the server obtains a historical positioning record of the terminal aiming at each candidate position information in at least one preset time period.
Wherein the time period may include yearly, quarterly, monthly, daily, or hourly, etc.
For example, in units of each day, historical location records for the ith candidate location information of the M candidate location information at each day in the latest period of time may be obtained.
As another example, a historical position fix record is obtained for each candidate location information for each time period within a recent period of time. If the time period includes 0 point to 6 points, 6 points to 11 points, 11 points to 14 points, 14 points to 18 points, and 18 points to 24 points, the historical positioning record of the ith candidate position information in the M candidate position information in the latest time period in each time period is obtained.
It should be noted that the preset time period may be dynamically adjusted according to the type of the point of interest. For example, for a breakfast type of point of interest, a positioning history for each candidate location information within the morning hours needs to be obtained; for another example, for a bar type point of interest, a positioning history for each candidate location information in the evening and morning hours needs to be obtained. As another example, for a scenic spot type of interest, a location history for each candidate location information needs to be obtained for each quarter.
Optionally, since the data volume of the historical positioning record of the terminal is very large, in order to quickly obtain the required data, a spatial index may be established according to the time dimension and the historical positioning record of the terminal, so as to obtain the positioning historical record of the terminal corresponding to each time period. Therefore, when the historical positioning records of the terminal aiming at the candidate position information need to be obtained, the historical positioning records of the terminal aiming at the candidate position information can be obtained by searching in the spatial index according to the preset time period, so that the historical positioning records of all the terminals corresponding to the time period can be obtained, and then the historical positioning records of the terminal aiming at the candidate position information can be obtained from the historical positioning records of all the terminals corresponding to the time period according to the candidate position information. Therefore, it can be seen that the search time of the historical positioning record of the terminal for the candidate position information can be reduced by establishing the spatial index, and the search efficiency is improved.
Finally, the server may obtain, in each time period, the number of times of positioning for each candidate location information according to the historical positioning record of the terminal for each candidate location information in the at least one time period, and use the number of times of positioning as the positioning data.
S202, obtaining the heat information of each candidate position information according to the positioning data aiming at each candidate position information.
Specifically, after obtaining the number of times of positioning for each candidate location information in each time period, the server may obtain an average value of the number of times of positioning for each candidate location information according to a historical positioning record of the terminal for each candidate location information in at least one time period. Then, the server obtains the heat information of each candidate position information according to the average value of the positioning times of each candidate position information.
For example, the average value of the number of times of positioning for a certain candidate position information is obtained by accumulating the number of times of positioning for the candidate position information in each time period of 0 to 6 points, 6 to 11 points, 11 to 14 points, 14 to 18 points, and 18 to 24 points, and dividing the obtained accumulated value by 5.
For another example, the number of times of positioning for a certain candidate position information in the last 30 days is accumulated, and the obtained accumulated sum is divided by 30 to obtain an average value of the number of times of positioning for the candidate position information.
For example, the method for obtaining the heat information of each candidate position information by the server according to the average value of the positioning times for each candidate position information may include:
the heat information of each of the candidate location information may be obtained using the following formula:
wherein HiAnd the heat information represents the ith candidate position information, and the value of i is an integer from 1 to M.
Wherein,Vian average value representing the number of times of positioning with respect to the i-th candidate position information.
Wherein, VminThe minimum value representing the average value obtained from the average value of the number of times of positioning for each of the pieces of candidate position information, that is, the average value of the number of times of positioning for each of the pieces of candidate position information is obtained for each of the M pieces of candidate position information, so that the minimum value of the average values thereof can be obtained by comparing the magnitudes of the average values.
Wherein, VmaxThe maximum value representing the average value obtained from the average value of the number of times of positioning for each of the candidate position information, that is, the average value of the number of times of positioning for each of the M candidate position information is obtained for each of the candidate position information, so that the maximum value of the average value thereof can be obtained by comparing the magnitudes of the average values.
for example, if the heat information of the candidate position information needs to be within a range of 0 to 100, the normalization coefficient β may be equal to 100, for example, if the heat information of the candidate position information needs to be within a range of 0 to 1000, the normalization coefficient β may be equal to 1000, for example, the normalization coefficient β may also be equal to 1.
It can be understood that, according to the above formula, it can be known that the more the number of times of positioning the candidate position information is, the greater the popularity information of the candidate position information is, the greater the traffic volume of people representing the geographical position indicated by the candidate position information is, and it is better to set an interest point at the geographical position indicated by the candidate position information.
S203, selecting N candidate position information from the M candidate position information as target position information according to the heat information of each candidate position information, wherein the target position information is used for determining the set position of the interest point, and N is a positive integer less than or equal to M.
Specifically, for example, the method for the server to select N pieces of candidate location information from the M pieces of candidate location information according to the popularity information of each piece of candidate location information, so as to serve as the target location information, may include the following four methods:
the first method comprises the following steps: the server sorts the M candidate position information according to the heat information of each candidate position information in the M candidate position information and the sequence of the heat information from big to small to obtain a sorting result, then obtains N candidate position information with the top rank in the sorting result, and takes the N candidate position information as the target position information.
And the second method comprises the following steps: the server compares the heat degree information of each candidate position information with a heat degree threshold value according to the heat degree information of each candidate position information and a preset heat degree threshold value, so that N candidate position information of which the heat degree information is greater than or equal to the heat degree threshold value in the M candidate position information can be obtained, and the N candidate position information is used as target position information.
And the third is that: and the server obtains a second weight value of each candidate position information according to the heat information of each candidate position information and a preset first weight value of each candidate position information.
For example, the server may calculate the second weight value for each candidate location information using the following formula:
Wi=Hi×α+wi×γ
wherein, WiA second weight value representing the ith candidate position information; hiHeat information indicating the ith candidate position information; w is aia first weight value representing the ith candidate position information, a is a preset first weight adjusting factor, and gamma is a preset second weight valueAnd adjusting the weight factor.
Then, the server sorts the M pieces of candidate position information according to the sequence of the second weight values from large to small so as to obtain a sorting result; and the server obtains N pieces of candidate position information ranked at the top in the sorting result, and takes the N pieces of candidate position information as target position information.
And fourthly: and the server obtains a second weight value of each candidate position information according to the heat information of each candidate position information and a preset first weight value of each candidate position information. Then, the server compares the second weight value of each candidate position information with a weight threshold value according to the second weight value of each candidate position information and a preset weight threshold value, so as to obtain N candidate position information of which the second weight value is greater than or equal to the weight threshold value in the M candidate position information, and the N candidate position information is used as target position information.
Wherein N is a positive integer less than or equal to M.
After obtaining the target position information, the server may provide the target position information to the user through the terminal, so as to be used for determining the setup position of the interest point according to the target position information provided by the server. The technical scheme provided by the embodiment of the invention can be suitable for position selection scenes of various interest points, such as position selection of merchants, position selection of basic settings, position selection of newly-built roads, position selection of base stations or position selection of wireless hotspots and the like.
The embodiment of the invention further provides an embodiment of a device for realizing the steps and the method in the embodiment of the method.
Please refer to fig. 3, which is a functional block diagram of an apparatus for acquiring location information according to an embodiment of the present invention. As shown, the apparatus comprises:
a data obtaining unit 301, configured to obtain location data for each candidate location information according to M candidate location information and a historical location record of the terminal, where M is an integer greater than 1;
a heat obtaining unit 302, configured to obtain heat information of each candidate location information according to the positioning data for each candidate location information;
an information selecting unit 303, configured to select, as target location information, N pieces of candidate location information from the M pieces of candidate location information according to the heat information of each piece of candidate location information, where the target location information is used to determine a setup location of a point of interest, and N is a positive integer less than or equal to M.
Preferably, the data obtaining unit 301 is specifically configured to:
obtaining a historical positioning record of the terminal aiming at each candidate position information according to the historical positioning record of the terminal, wherein the historical positioning record of the terminal comprises positioning time and corresponding position information;
obtaining a historical positioning record of the terminal aiming at each candidate position information in at least one preset time period;
and obtaining the positioning times of each candidate position information according to the historical positioning record of the terminal aiming at each candidate position information in the at least one time period to be used as the positioning data.
Preferably, the heat obtaining unit 302 is specifically configured to:
obtaining an average value of the positioning times of each candidate position information according to the historical positioning record of the terminal aiming at each candidate position information in the at least one time period;
and obtaining the heat information of each candidate position information according to the average value of the positioning times aiming at each candidate position information.
Preferably, the obtaining the heat information of each candidate location information according to the average value of the positioning times for each candidate location information specifically includes:
obtaining heat information of each of the candidate position information using the following formula:
wherein HiRepresenting the heat information of the ith candidate position information, wherein the value of i is an integer from 1 to M; viAn average value representing the number of times of positioning with respect to the ith candidate position information; vminA minimum value representing an average value obtained from the average value of the number of times of positioning for each of the candidate position information; vmaxrepresents a maximum value of an average value obtained from an average value of the number of times of positioning for each of the candidate position information, and β represents a preset normalization coefficient.
Preferably, the information selecting unit 303 is specifically configured to:
according to the heat information of each candidate position information, sorting the M candidate position information according to the sequence of the heat information from big to small to obtain a sorting result, and obtaining N candidate position information which is ranked at the top in the sorting result and is used as target position information; or,
and obtaining N candidate position information of which the heat information is greater than or equal to the heat threshold in the M candidate position information as target position information according to the heat information of each candidate position information and a preset heat threshold.
Preferably, the information selecting unit 303 is specifically configured to:
according to the heat information of each candidate position information and a preset first weight value of each candidate position information, obtaining a second weight value of each candidate position information;
sequencing the M candidate position information according to the sequence of the second weight values from large to small to obtain a sequencing result, and obtaining N candidate position information ranked at the top in the sequencing result to be used as target position information; or obtaining N pieces of candidate position information of which the second weight value is greater than or equal to the weight threshold value in the M pieces of candidate position information according to the second weight value of each piece of candidate position information and a preset weight threshold value, and using the N pieces of candidate position information as target position information.
Since each unit in the present embodiment can execute the method shown in fig. 2, reference may be made to the related description of fig. 2 for a part of the present embodiment that is not described in detail.
The technical scheme of the embodiment of the invention has the following beneficial effects:
1. according to the technical scheme provided by the embodiment of the invention, the positioning data of each candidate position information can be obtained, then the heat information is obtained according to the positioning data of the candidate position information, and finally the target position information is selected according to the heat information.
2. According to the technical scheme provided by the embodiment of the invention, the server can automatically select the target position information according to the historical positioning record and the candidate position information of the terminal, and compared with a method for manually selecting the geographical position in the prior art, the method can improve the geographical position acquisition efficiency and reduce the acquisition cost.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a Processor (Processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for acquiring position information, the method comprising:
obtaining positioning data for each candidate position information according to M candidate position information and a historical positioning record of the terminal, wherein M is an integer larger than 1;
obtaining an average value of the positioning times for each candidate position information according to the positioning data for each candidate position information;
obtaining the heat information of each candidate position information according to the average value of the positioning times of each candidate position information, wherein the heat information of each candidate position information is obtained by using the following formula:
wherein HiRepresenting the heat information of the ith candidate position information, wherein the value of i is an integer from 1 to M; viAn average value representing the number of times of positioning with respect to the ith candidate position information; vminA minimum value representing an average value obtained from the average value of the number of times of positioning for each of the candidate position information; vmaxrepresents a maximum value of an average value obtained from an average value of the number of times of positioning for each of the candidate position information;
and selecting N pieces of candidate position information from the M pieces of candidate position information as target position information according to the heat information of each piece of candidate position information, wherein the target position information is used for determining the set position of the interest point, and N is a positive integer less than or equal to M.
2. The method according to claim 1, wherein said obtaining positioning data for each of the M candidate position information according to the M candidate position information and a history positioning record of the terminal comprises:
obtaining a historical positioning record of the terminal aiming at each candidate position information according to the historical positioning record of the terminal, wherein the historical positioning record of the terminal comprises positioning time and corresponding position information;
obtaining a historical positioning record of the terminal aiming at each candidate position information in at least one preset time period;
and obtaining the positioning times of each candidate position information according to the historical positioning record of the terminal aiming at each candidate position information in the at least one time period to be used as the positioning data.
3. The method according to claim 2, wherein said obtaining an average value of the number of positioning times for each of the candidate location information according to the positioning data for each of the candidate location information comprises:
and obtaining an average value of the positioning times of each candidate position information according to the historical positioning record of the terminal aiming at each candidate position information in the at least one time period.
4. The method according to claim 1, wherein the selecting N candidate location information from the M candidate location information as the target location information according to the degree of heat information of each candidate location information comprises:
according to the heat information of each candidate position information, sorting the M candidate position information according to the sequence of the heat information from big to small to obtain a sorting result, and obtaining N candidate position information which is ranked at the top in the sorting result and is used as target position information; or,
and obtaining N candidate position information of which the heat information is greater than or equal to the heat threshold in the M candidate position information as target position information according to the heat information of each candidate position information and a preset heat threshold.
5. The method according to claim 1, wherein the selecting N candidate location information from the M candidate location information as the target location information according to the degree of heat information of each candidate location information comprises:
according to the heat information of each candidate position information and a preset first weight value of each candidate position information, obtaining a second weight value of each candidate position information;
sequencing the M candidate position information according to the sequence of the second weight values from large to small to obtain a sequencing result, and obtaining N candidate position information ranked at the top in the sequencing result to be used as target position information; or obtaining N pieces of candidate position information of which the second weight value is greater than or equal to the weight threshold value in the M pieces of candidate position information according to the second weight value of each piece of candidate position information and a preset weight threshold value, and using the N pieces of candidate position information as target position information.
6. An apparatus for acquiring location information, the apparatus comprising:
the data acquisition unit is used for acquiring positioning data aiming at each candidate position information according to M candidate position information and a historical positioning record of the terminal, wherein M is an integer larger than 1;
the heat acquisition unit is used for acquiring the average value of the positioning times of each candidate position information according to the positioning data of each candidate position information; and obtaining the heat information of each candidate position information according to the average value of the positioning times of each candidate position information, wherein the heat information of each candidate position information is obtained by using the following formula:
wherein HiRepresenting the heat information of the ith candidate position information, wherein the value of i is an integer from 1 to M; viAn average value representing the number of times of positioning with respect to the ith candidate position information; vminA minimum value representing an average value obtained from the average value of the number of times of positioning for each of the candidate position information; vmaxrepresents a maximum value of an average value obtained from an average value of the number of times of positioning for each of the candidate position information;
and the information selection unit is used for selecting N pieces of candidate position information from the M pieces of candidate position information according to the heat information of each piece of candidate position information to be used as target position information, the target position information is used for determining the set position of the interest point, and N is a positive integer less than or equal to M.
7. The apparatus according to claim 6, wherein the data acquisition unit is specifically configured to:
obtaining a historical positioning record of the terminal aiming at each candidate position information according to the historical positioning record of the terminal, wherein the historical positioning record of the terminal comprises positioning time and corresponding position information;
obtaining a historical positioning record of the terminal aiming at each candidate position information in at least one preset time period;
and obtaining the positioning times of each candidate position information according to the historical positioning record of the terminal aiming at each candidate position information in the at least one time period to be used as the positioning data.
8. The apparatus according to claim 7, wherein the heat obtaining unit is specifically configured to, when obtaining an average of the number of times of positioning for each of the candidate location information based on the positioning data for each of the candidate location information:
and obtaining an average value of the positioning times of each candidate position information according to the historical positioning record of the terminal aiming at each candidate position information in the at least one time period.
9. The apparatus according to claim 6, wherein the information selecting unit is specifically configured to:
according to the heat information of each candidate position information, sorting the M candidate position information according to the sequence of the heat information from big to small to obtain a sorting result, and obtaining N candidate position information which is ranked at the top in the sorting result and is used as target position information; or,
and obtaining N candidate position information of which the heat information is greater than or equal to the heat threshold in the M candidate position information as target position information according to the heat information of each candidate position information and a preset heat threshold.
10. The apparatus according to claim 6, wherein the information selecting unit is specifically configured to:
according to the heat information of each candidate position information and a preset first weight value of each candidate position information, obtaining a second weight value of each candidate position information;
sequencing the M candidate position information according to the sequence of the second weight values from large to small to obtain a sequencing result, and obtaining N candidate position information ranked at the top in the sequencing result to be used as target position information; or obtaining N pieces of candidate position information of which the second weight value is greater than or equal to the weight threshold value in the M pieces of candidate position information according to the second weight value of each piece of candidate position information and a preset weight threshold value, and using the N pieces of candidate position information as target position information.
CN201410404057.8A 2014-08-15 2014-08-15 The acquisition methods and device of a kind of location information Active CN104135718B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410404057.8A CN104135718B (en) 2014-08-15 2014-08-15 The acquisition methods and device of a kind of location information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410404057.8A CN104135718B (en) 2014-08-15 2014-08-15 The acquisition methods and device of a kind of location information

Publications (2)

Publication Number Publication Date
CN104135718A CN104135718A (en) 2014-11-05
CN104135718B true CN104135718B (en) 2018-07-10

Family

ID=51808226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410404057.8A Active CN104135718B (en) 2014-08-15 2014-08-15 The acquisition methods and device of a kind of location information

Country Status (1)

Country Link
CN (1) CN104135718B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105119743B (en) * 2015-08-07 2017-05-10 百度在线网络技术(北京)有限公司 Acquisition method of user behavior intention and apparatus
CN108495267B (en) * 2018-03-14 2021-09-14 维沃移动通信有限公司 POI information processing method and device
CN111698648B (en) * 2020-04-27 2022-05-31 汉海信息技术(上海)有限公司 Network positioning method and device, electronic equipment and storage medium
CN111867053A (en) * 2020-05-07 2020-10-30 北京嘀嘀无限科技发展有限公司 Positioning method and system
CN112199455A (en) * 2020-09-14 2021-01-08 汉海信息技术(上海)有限公司 Method and device for sorting geographic information points, electronic equipment and computer medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102506878A (en) * 2011-10-17 2012-06-20 深圳市路畅科技有限公司 Method for establishing point of interest (POI) in application of location based service (LBS)
CN103227821A (en) * 2013-04-03 2013-07-31 腾讯科技(深圳)有限公司 Method and device for processing position data of target user

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101592316B1 (en) * 2009-10-22 2016-02-05 엘지전자 주식회사 Navigation method of mobile terminal and apparatus thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102506878A (en) * 2011-10-17 2012-06-20 深圳市路畅科技有限公司 Method for establishing point of interest (POI) in application of location based service (LBS)
CN103227821A (en) * 2013-04-03 2013-07-31 腾讯科技(深圳)有限公司 Method and device for processing position data of target user

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于地理位置的移动终端区域引导***设计与实现;陶文寅等;《软件导刊》;20140131;第13卷(第1期);全文 *

Also Published As

Publication number Publication date
CN104135718A (en) 2014-11-05

Similar Documents

Publication Publication Date Title
CN104135718B (en) The acquisition methods and device of a kind of location information
CN106709606B (en) Personalized scene prediction method and device
US10848903B2 (en) Determining timing for determination of applicable geo-fences
JP6158162B2 (en) Method and apparatus for displaying points of interest
WO2020168767A1 (en) Determination of geo-fence based on user position
CN110020221B (en) Job distribution confirmation method, apparatus, server and computer readable storage medium
CN109949063B (en) Address determination method and device, electronic equipment and readable storage medium
JP2017510104A (en) Identifying entities associated with wireless network access points
CN112069281B (en) Method and device for determining position of interest point, computer equipment and storage medium
CN108122012B (en) Method, device and equipment for determining center point of stationary point and storage medium
CN106708837B (en) Interest point searching method and device
US11966424B2 (en) Method and apparatus for dividing region, storage medium, and electronic device
CN111757464B (en) Region contour extraction method and device
CN106210163B (en) IP address-based localization method and device
CN103279539A (en) Interest point set displaying method, electronic map displaying method, interest point set displaying device and electronic map displaying device
CN104239453B (en) Data processing method and device
CN105592120A (en) Method and apparatus for providing geographic position information
US9811539B2 (en) Hierarchical spatial clustering of photographs
CN112579718A (en) Urban land function identification method and device and terminal equipment
CN103487057B (en) Paths planning method based on end points extension and device
CN108388636B (en) Streetscape method for retrieving image and device based on adaptive segmentation minimum circumscribed rectangle
US9949069B2 (en) Population estimation apparatus, program and population estimation method
CN111380558B (en) Method, device, server and storage medium for ordering points of interest
CN108985898B (en) Site scoring method and device and computer readable storage medium
CN113079703A (en) Real world query for geo-referenced information using image sensors

Legal Events

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