CN105893998A - Method and device for estimating density of real points in assigned area - Google Patents

Method and device for estimating density of real points in assigned area Download PDF

Info

Publication number
CN105893998A
CN105893998A CN201610192946.1A CN201610192946A CN105893998A CN 105893998 A CN105893998 A CN 105893998A CN 201610192946 A CN201610192946 A CN 201610192946A CN 105893998 A CN105893998 A CN 105893998A
Authority
CN
China
Prior art keywords
real
point
points
density
grid
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610192946.1A
Other languages
Chinese (zh)
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 Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201610192946.1A priority Critical patent/CN105893998A/en
Publication of CN105893998A publication Critical patent/CN105893998A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/10Pre-processing; Data cleansing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Multimedia (AREA)
  • Navigation (AREA)

Abstract

The invention discloses a method and device for estimating the density of real points in an assigned area. The method comprises steps of: acquiring the coordinate information of each real point in the assigned area and generating a distribution map of the real points in the assigned area; generating uniformly distributed grids on the distribution map and using the cross points of grid lines as imaginary point; connecting each real point in the distribution map with each imaginary point on the contour of the grid where the real point is located, wherein each connection is used as a side; computing the number of the sides connected with each imaginary point; and marking the number of the sides connected with each imaginary point on the distribution map to obtain an estimated distribution map of the density of the real points in the assigned area. The method and the device may rapidly estimate the density of the real points in the assigned area and have high accuracy and small calculated quantity.

Description

Method and device for estimating density of real points in designated area
Technical Field
The invention relates to the field of calculation, in particular to a method and a device for estimating density of real points in a specified area.
Background
In real life, a large number of things of the same type can be regarded as one 'point' to be counted. For example, poi (point of interest), which is an important information in a geographic information system, may even be referred to as a cornerstone of the entire map navigation industry. In the geographic information system, one piece of POI data may be a house, a shop, a mailbox, a bus station, etc., which are relatively fixed points. As another example, a taxi driving on a road may be considered a moving point.
When the number of the points in the designated area changes, the density of the points in the area cannot be obtained in real time, and the estimation of the density of the points in the designated area has great significance, for example, taxi-taking software can further set the service cost required for calling a taxi according to the density of taxis in the designated area. There are many cases such as this, and therefore, a method capable of estimating the density of dots in a specified area is required.
Disclosure of Invention
In view of the above, the present invention has been made to provide a density estimation method and apparatus for real points within a specified area that overcomes or at least partially solves the above-mentioned problems.
According to an aspect of the present invention, there is provided a method for estimating density of real points in a designated area, comprising:
acquiring coordinate information of each real point in the designated area, and generating a distribution diagram of the real points in the designated area;
generating uniformly distributed grids on the distribution diagram, and taking the intersection points of grid lines as virtual points;
for each real point on the distribution diagram, connecting the real point with each virtual point on the contour of the grid where the real point is located, wherein each connection is an edge; calculating the number of edges connected by each virtual point;
and marking the number of edges connected with each virtual point on the distribution diagram to obtain the density estimation distribution diagram of the real points in the designated area.
Optionally, the method further comprises:
receiving a request to query for real point density at a particular location within the specified area;
acquiring corresponding real point density information from the density estimation distribution map according to the coordinate information of the specific position;
and returning the acquired corresponding real point density information to the requester.
Optionally, the obtaining of the corresponding real-point density information from the density estimation distribution map includes:
determining the virtual point with the closest distance according to the coordinate information of the specific position, and taking the number of edges connected with the virtual point with the closest distance as corresponding real point density information;
or,
and determining the grid where the specific position is located according to the coordinate information of the specific position, calculating a weighted average value of the number of edges connected with each virtual point on the grid contour, and taking the weighted average value as corresponding real point density information.
Optionally, the method further comprises:
normalizing the number of edges connected with each virtual point to obtain a normalized value;
the marking the number of edges connected to each virtual point on the distribution map to obtain the density estimation distribution map of the real points in the designated area includes: and marking the normalization value corresponding to each virtual point on the distribution map to obtain the density estimation distribution map of the real points in the specified area.
Optionally, generating a uniformly distributed grid on the distribution map comprises:
and generating a uniformly distributed grid with the size corresponding to the specified step size parameter on the distribution diagram.
Optionally, the grid is square, regular triangle, or regular hexagon.
Optionally, generating a uniformly distributed grid on the distribution map, and taking the intersection points of the grid lines as virtual points includes:
and generating a uniformly distributed grid in a block with real points distributed on the distribution diagram, and taking the intersection points of grid lines as virtual points.
Optionally, the method further comprises: acquiring coordinate information of each real point in the designated area in real time, and updating a distribution map of the real points in the designated area in real time;
and updating the density estimation distribution diagram in real time according to the distribution diagram of the updated real points in the designated area.
According to another aspect of the present invention, there is provided an apparatus for estimating density of real points in a designated area, comprising:
the acquisition unit is suitable for acquiring coordinate information of each real point in the designated area and generating a distribution diagram of the real point in the designated area;
a density estimation unit adapted to generate a uniformly distributed grid on the distribution map, with intersection points of grid lines as imaginary points; for each real point on the distribution diagram, connecting the real point with each virtual point on the contour of the grid where the real point is located, wherein each connection is an edge; calculating the number of edges connected by each virtual point; and marking the number of edges connected with each virtual point on the distribution diagram to obtain the density estimation distribution diagram of the real points in the designated area.
Optionally, the apparatus further comprises:
a query processing unit adapted to receive a request to query for real point density at a particular location within the specified area; acquiring corresponding real point density information from the density estimation distribution map according to the coordinate information of the specific position; and returning the acquired corresponding real point density information to the requester.
Optionally, the query processing unit is adapted to determine a nearest virtual point according to the coordinate information of the specific location, and use the number of edges connected to the nearest virtual point as corresponding real point density information; or, the method is suitable for determining the grid where the specific position is located according to the coordinate information of the specific position, calculating a weighted average value of the number of edges connected with each virtual point on the grid contour, and taking the weighted average value as corresponding real point density information.
Optionally, the density estimation unit is further adapted to normalize the number of edges connected to each virtual point to obtain a normalized value, and mark the normalized value corresponding to each virtual point on the distribution map to obtain the density estimation distribution map of the real points in the designated area.
Optionally, the obtaining unit is adapted to generate a uniformly distributed grid on the distribution map, the grid having a size corresponding to the specified step size parameter.
Optionally, the grid is square, regular triangle, or regular hexagon. Optionally, the density estimation unit is adapted to generate a uniformly distributed grid in a block having a real point distribution on the distribution map, and an intersection of grid lines is taken as a virtual point.
Optionally, the obtaining unit is adapted to obtain coordinate information of each real point in the designated area, and update a distribution map of the real point in the designated area in real time; and the density estimation unit is suitable for updating the density estimation distribution map in real time according to the distribution map of the updated real points in the designated area.
As can be seen from the above description, according to the technical solution of the present invention, a distribution map of real points in a designated area is generated by obtaining coordinate information of each real point in the designated area, a grid is further generated with uniform distribution on the distribution map, an intersection point of grid lines is taken as an imaginary point, for each real point on the distribution map, the real point is connected to each imaginary point on a peripheral line of the grid on which the real point is located, each connection is taken as one side, the number of sides to which each imaginary point is connected is calculated, and the number of sides to which each imaginary point is connected is marked on the distribution map, thereby obtaining a density estimation distribution map of real points in the designated area. The technical scheme can quickly estimate the real point density in the designated area, and has high accuracy and small calculation amount.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 illustrates a flow diagram of a method for estimating the density of real points within a specified area, according to one embodiment of the invention;
fig. 2 is a schematic structural diagram illustrating a density estimation apparatus for real points in a designated area according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 shows a flowchart of a method for estimating density of real points in a designated area according to an embodiment of the present invention, wherein the method comprises:
in step S110, coordinate information of each real point in the designated area is acquired, and a distribution map of the real point in the designated area is generated.
The real points can correspond to WIFI hotspots, taxis, shops and the like according to application scenes. The method for acquiring the coordinate information comprises website data mining, user GPS information reporting and the like, wherein the coordinate information is longitude and latitude information. The distribution map may be generated based on an electronic map.
Step S120 is to generate a grid with uniform distribution on the distribution map, and to use the intersection points of the grid lines as virtual points.
Step S130, for each real point on the distribution diagram, connecting the real point with each virtual point on the contour of the grid where the real point is located, wherein each connection is an edge; the number of edges to which each imaginary point is connected is calculated.
In step S140, the number of edges connected to each virtual point is marked on the distribution map, so as to obtain the density estimation distribution map of the real points in the designated area.
Since the calculation of each virtual point is independent, each virtual point can be independently calculated by using a distributed calculation engine such as Spark, for example, the terminal in each distributed system calculates the virtual point in a certain block, and finally, the result is counted, and the number of edges connected to each virtual point is marked on the distribution map, so that the density estimation distribution map of the real points in the designated area can be obtained.
As can be seen, in the method shown in fig. 1, a distribution diagram of real points in a specified area is generated by obtaining coordinate information of each real point in the specified area, a grid with uniform distribution is further generated on the distribution diagram, an intersection point of grid lines is taken as an imaginary point, for each real point on the distribution diagram, the real point is connected with each imaginary point on a peripheral line of the grid where the real point is located, each connection is an edge, the number of edges connected to each imaginary point is calculated, and the number of edges connected to each imaginary point is marked on the distribution diagram, so as to obtain an estimated density distribution diagram of real points in the specified area. The technical scheme can quickly estimate the real point density in the designated area, and has high accuracy and small calculation amount.
In one embodiment of the present invention, the method shown in fig. 1 further comprises: receiving a request to query for real point density at a particular location within a specified area; acquiring corresponding real point density information from the density estimation distribution map according to the coordinate information of the specific position; and returning the acquired corresponding real point density information to the requester.
Taking an example that real points correspond to taxis, a user queries nearby taxi information through taxi taking software, a client of the taxi taking software sends a request for querying the density of a specific position (namely a user coordinate position, such as longitude and latitude information corresponding to XX number of the Zhongguan avenue) in a specified area to a server, and the server acquires corresponding taxi density information from a density estimation distribution map according to the user coordinate information and returns the acquired corresponding taxi density information to the client.
In an embodiment of the present invention, in the method, obtaining the corresponding real-point density information from the density estimation distribution map includes: determining the virtual point with the closest distance according to the coordinate information of the specific position, and taking the number of edges connected with the virtual point with the closest distance as corresponding real point density information; or, according to the coordinate information of the specific position, the grid where the specific position is located is determined, the weighted average value of the number of the sides connected with each virtual point on the grid contour is calculated, and the weighted average value is used as the corresponding real point density information.
It is easy to conclude that the virtual point closest to the specific position is necessarily one of the virtual points on the circumference of the grid on which the coordinate information of the specific position is located. For example, the grid has four virtual points, where the virtual point a is closest to the grid, the number of edges connected by the virtual point a can be directly used as corresponding real point density information (which can be regarded as positioning the specific position as a position of the virtual point in a fuzzy manner). In this case, the smaller the grid, the more accurate the density estimate. Certainly, to further improve the accuracy, the grid where the virtual point is located may be determined according to the coordinate information of the specific position, a weighted average of the number of edges connected to each virtual point on the grid contour may be calculated, and the weighted average may be used as the corresponding real point density information. The weight value can be determined experimentally according to actual requirements, because the weight value may change when the real point types are different.
In one embodiment of the present invention, the method shown in fig. 1 further comprises: normalizing the number of edges connected with each virtual point to obtain a normalized value; marking the number of edges connected by each virtual point on the distribution map, and obtaining a density estimation distribution map of real points in the designated area comprises: and marking the normalization value corresponding to each virtual point on the distribution map to obtain the density estimation distribution map of the real points in the designated area.
The value obtained by normalization is in the [0,1] interval, the number of the counted edges can be mapped into the interval by utilizing a normalization formula, and a user can conveniently know whether the density of real points in the area is large or small.
In one embodiment of the present invention, in the method shown in fig. 1, generating a uniformly distributed grid on the distribution map comprises: a uniformly distributed grid of sizes corresponding to the specified step size parameters is generated on the distribution map.
For example, the specified step size parameter may be set to be different from 10 meters to 100 meters according to the service requirement, and the specified step size parameter may be different for different services, and thus the generated grids are also different.
In one embodiment of the present invention, the method shown in fig. 1, the grid is a square, a regular triangle, or a regular hexagon.
In the aforementioned embodiment, it is mentioned that the grids may be uniformly distributed according to the specified step size parameter, and thus the grids may be regular N-sided polygons. However, in order to better cover the designated area and improve the estimation accuracy, it is preferable to set the mesh to be square, regular triangle, or regular hexagon.
In one embodiment of the present invention, in the method shown in fig. 1, generating a uniformly distributed grid on the distribution map, and taking the intersection points of the grid lines as imaginary points includes: a grid with uniform distribution is generated in a block with real points on the distribution diagram, and the intersection points of grid lines are used as virtual points.
In the embodiment, the grid with uniform distribution is generated only in the block with real point distribution, so that the waste of resources is avoided. That is, a virtual point is not generated within a block where no real point is distributed because even if a virtual point is generated, the virtual point has no meaning for density estimation. And the more dummy points, the more resources are required to store the dummy point information, and thus no meaningless dummy points should be generated.
In one embodiment of the present invention, the method shown in fig. 1 further comprises: acquiring coordinate information of each real point in the designated area in real time, and updating a distribution map of the real points in the designated area in real time; and updating the density estimation distribution diagram in real time according to the distribution diagram of the updated real points in the designated area.
For a real point at a fixed position such as a restaurant, the coordinate information may not change in real time, but for a real point such as a taxi, the position of the real point is changed in real time, so that the coordinate information of the real point is acquired in real time, the distribution diagram of the real point in the designated area is updated, and the density estimation distribution diagram is further updated according to the updated distribution diagram of the real point in the designated area, so that the accuracy of density estimation can be ensured.
Fig. 2 is a schematic structural diagram illustrating an apparatus for estimating density of real points in a specified area according to an embodiment of the present invention, and as shown in fig. 2, an apparatus 200 for estimating density of real points in a specified area includes:
the obtaining unit 210 is adapted to obtain coordinate information of each real point in the designated area, and generate a distribution map of the real point in the designated area.
The real points can correspond to WIFI hotspots, taxis, shops and the like according to application scenes. The method for acquiring the coordinate information comprises website data mining, user GPS information reporting and the like, wherein the coordinate information is longitude and latitude information. The distribution map may be generated based on an electronic map.
A density estimation unit 220 adapted to generate a uniformly distributed grid on the distribution map, taking the intersection points of the grid lines as imaginary points; for each real point on the distribution diagram, connecting the real point with each virtual point on the contour of the grid where the real point is located, wherein each connection is an edge; calculating the number of edges connected by each virtual point; and marking the number of edges connected with each virtual point on the distribution diagram to obtain the density estimation distribution diagram of the real points in the designated area.
Since the calculation of each virtual point is independent, each virtual point can be independently calculated by using a distributed calculation engine such as Spark, for example, a density estimation unit 220 is provided at each terminal in the distributed system, the virtual points in a certain block are calculated respectively, and finally, the result is counted, and the number of edges connected to each virtual point is marked on the distribution map, so that the density estimation distribution map of the real points in the designated area can be obtained.
As can be seen, the apparatus shown in fig. 2 obtains coordinate information of each real point in the designated area by the mutual cooperation of the units, generates a distribution map of the real points in the designated area, further generates a uniformly distributed grid on the distribution map, takes the intersection of grid lines as an imaginary point, connects, for each real point on the distribution map, the real point to each imaginary point on the peripheral line of the grid on which the real point is located, each connection being a side, calculates the number of sides to which each imaginary point is connected, and marks the number of sides to which each imaginary point is connected on the distribution map, thereby obtaining the density estimation distribution map of the real points in the designated area. The technical scheme can quickly estimate the real point density in the designated area, and has high accuracy and small calculation amount.
In one embodiment of the present invention, the apparatus shown in fig. 2 further comprises: a query processing unit adapted to receive a request to query for real point density at a particular location within a specified area; acquiring corresponding real point density information from the density estimation distribution map according to the coordinate information of the specific position; and returning the acquired corresponding real point density information to the requester.
Taking an example that real points correspond to taxis, a user queries nearby taxi information through taxi taking software, a client of the taxi taking software sends a request for querying the density of a specific position (namely a user coordinate position, such as longitude and latitude information corresponding to XX number of the Zhongguan avenue) in a specified area to a server, and the server acquires corresponding taxi density information from a density estimation distribution map according to the user coordinate information and returns the acquired corresponding taxi density information to the client.
In an embodiment of the present invention, in the above apparatus, the query processing unit is adapted to determine a nearest virtual point according to the coordinate information of the specific location, and use the number of edges connected to the nearest virtual point as corresponding real point density information; or, the method is suitable for determining the grid where the specific position is located according to the coordinate information of the specific position, calculating the weighted average value of the number of edges connected with each virtual point on the grid contour, and taking the weighted average value as the corresponding real point density information.
It is easy to conclude that the virtual point closest to the specific position is necessarily one of the virtual points on the circumference of the grid on which the coordinate information of the specific position is located. For example, the grid has four virtual points, where the virtual point a is closest to the grid, the number of edges connected by the virtual point a can be directly used as corresponding real point density information (which can be regarded as positioning the specific position as a position of the virtual point in a fuzzy manner). In this case, the smaller the grid, the more accurate the density estimate. Certainly, to further improve the accuracy, the grid where the virtual point is located may be determined according to the coordinate information of the specific position, a weighted average of the number of edges connected to each virtual point on the grid contour may be calculated, and the weighted average may be used as the corresponding real point density information. The weight value can be determined experimentally according to actual requirements, because the weight value may change when the real point types are different.
In an embodiment of the present invention, in the apparatus shown in fig. 2, the density estimation unit is further adapted to normalize the number of edges connected to each virtual point to obtain a normalized value, and mark the normalized value corresponding to each virtual point on the distribution map to obtain the density estimation distribution map of the real points in the designated area.
The value obtained by normalization is in the [0,1] interval, the number of the counted edges can be mapped into the interval by utilizing a normalization formula, and a user can conveniently know whether the density of real points in the area is large or small.
In an embodiment of the invention, in the apparatus shown in fig. 2, the acquisition unit is adapted to generate on the distribution map a grid of uniformly distributed size corresponding to the specified step size parameter.
For example, the specified step size parameter may be set to be different from 10 meters to 100 meters according to the service requirement, and the specified step size parameter may be different for different services, and thus the generated grids are also different.
In one embodiment of the invention, the grid in the device shown in fig. 2 is square, regular triangle or regular hexagon.
In the aforementioned embodiment, it is mentioned that the grids may be uniformly distributed according to the specified step size parameter, and thus the grids may be regular N-sided polygons. However, in order to better cover the designated area and improve the estimation accuracy, it is preferable to set the mesh to be square, regular triangle, or regular hexagon.
In an embodiment of the invention, in the apparatus shown in fig. 2, the density estimation unit is adapted to generate a uniformly distributed grid in a block having a distribution of real points on the distribution map, and to take the intersection points of grid lines as imaginary points.
In the embodiment, the grid with uniform distribution is generated only in the block with real point distribution, so that the waste of resources is avoided. That is, a virtual point is not generated within a block where no real point is distributed because even if a virtual point is generated, the virtual point has no meaning for density estimation. And the more dummy points, the more resources are required to store the dummy point information, and thus no meaningless dummy points should be generated.
In an embodiment of the present invention, in the above apparatus, the obtaining unit is adapted to obtain coordinate information of each real point in the designated area, and update a distribution map of the real point in the designated area in real time; and the density estimation unit is suitable for updating the density estimation distribution map in real time according to the distribution map of the updated real points in the designated area.
For a real point at a fixed position such as a restaurant, the coordinate information may not change in real time, but for a real point such as a taxi, the position of the real point is changed in real time, so that the coordinate information of the real point is acquired in real time, the distribution diagram of the real point in the designated area is updated, and the density estimation distribution diagram is further updated according to the updated distribution diagram of the real point in the designated area, so that the accuracy of density estimation can be ensured.
In summary, according to the technical solution of the present invention, a distribution map of real points in a designated area is generated by obtaining coordinate information of each real point in the designated area, a grid with uniform distribution is further generated on the distribution map, an intersection point of grid lines is taken as an imaginary point, for each real point on the distribution map, the real point is connected to each imaginary point on a peripheral line of the grid where the real point is located, each connection is a side, the number of sides connected to each imaginary point is calculated, and the number of sides connected to each imaginary point is marked on the distribution map, so as to obtain a density estimation distribution map of real points in the designated area. The technical scheme can quickly estimate the real point density in the designated area, and has high accuracy and small calculation amount.
It should be noted that:
the algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose devices may be used with the teachings herein. The required structure for constructing such a device will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of the density estimation device of real spots within a specified area in accordance with embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The invention discloses A1, a method for estimating the density of real points in a designated area, wherein the method comprises the following steps:
acquiring coordinate information of each real point in the designated area, and generating a distribution diagram of the real points in the designated area;
generating uniformly distributed grids on the distribution diagram, and taking the intersection points of grid lines as virtual points;
for each real point on the distribution diagram, connecting the real point with each virtual point on the contour of the grid where the real point is located, wherein each connection is an edge; calculating the number of edges connected by each virtual point;
and marking the number of edges connected with each virtual point on the distribution diagram to obtain the density estimation distribution diagram of the real points in the designated area.
A2, the method of a1, wherein the method further comprises:
receiving a request to query for real point density at a particular location within the specified area;
acquiring corresponding real point density information from the density estimation distribution map according to the coordinate information of the specific position;
and returning the acquired corresponding real point density information to the requester.
A3, the method as in a2, wherein obtaining corresponding real point density information from the density estimation profile comprises:
determining the virtual point with the closest distance according to the coordinate information of the specific position, and taking the number of edges connected with the virtual point with the closest distance as corresponding real point density information;
or,
and determining the grid where the specific position is located according to the coordinate information of the specific position, calculating a weighted average value of the number of edges connected with each virtual point on the grid contour, and taking the weighted average value as corresponding real point density information.
A4, the method of a1, wherein the method further comprises:
normalizing the number of edges connected with each virtual point to obtain a normalized value;
the marking the number of edges connected to each virtual point on the distribution map to obtain the density estimation distribution map of the real points in the designated area includes: and marking the normalization value corresponding to each virtual point on the distribution map to obtain the density estimation distribution map of the real points in the specified area.
A5, the method of a1, wherein generating a uniformly distributed grid on the distribution map comprises:
and generating a uniformly distributed grid with the size corresponding to the specified step size parameter on the distribution diagram.
A6 the method of A1, wherein,
the grid is square, regular triangle or regular hexagon.
A7, the method of a1, wherein generating a uniformly distributed grid on the distribution map, and taking the intersection of grid lines as an imaginary point comprises:
and generating a uniformly distributed grid in a block with real points distributed on the distribution diagram, and taking the intersection points of grid lines as virtual points.
A8, the method of any one of A1-A7, wherein the method further comprises:
acquiring coordinate information of each real point in the designated area in real time, and updating a distribution map of the real points in the designated area in real time;
and updating the density estimation distribution diagram in real time according to the distribution diagram of the updated real points in the designated area.
The invention also discloses B9, a device for estimating the density of real points in the designated area, wherein the device comprises:
the acquisition unit is suitable for acquiring coordinate information of each real point in the designated area and generating a distribution diagram of the real point in the designated area;
a density estimation unit adapted to generate a uniformly distributed grid on the distribution map, with intersection points of grid lines as imaginary points; for each real point on the distribution diagram, connecting the real point with each virtual point on the contour of the grid where the real point is located, wherein each connection is an edge; calculating the number of edges connected by each virtual point; and marking the number of edges connected with each virtual point on the distribution diagram to obtain the density estimation distribution diagram of the real points in the designated area.
B10, the apparatus of B9, wherein the apparatus further comprises:
a query processing unit adapted to receive a request to query for real point density at a particular location within the specified area; acquiring corresponding real point density information from the density estimation distribution map according to the coordinate information of the specific position; and returning the acquired corresponding real point density information to the requester.
B11, the device of B10, wherein,
the query processing unit is suitable for determining the virtual point with the closest distance according to the coordinate information of the specific position, and taking the number of edges connected with the virtual point with the closest distance as corresponding real point density information; or, the method is suitable for determining the grid where the specific position is located according to the coordinate information of the specific position, calculating a weighted average value of the number of edges connected with each virtual point on the grid contour, and taking the weighted average value as corresponding real point density information.
B12, the device of B9, wherein,
the density estimation unit is further adapted to normalize the number of edges connected to each virtual point to obtain a normalized value, and mark the normalized value corresponding to each virtual point on the distribution map to obtain a density estimation distribution map of real points in the designated area.
B13, the device of B9, wherein,
the acquisition unit is adapted to generate a grid of uniform distribution on the distribution map, the grid having a size corresponding to a specified step size parameter.
B14, the device of B9, wherein,
the grid is square, regular triangle or regular hexagon.
B15, the device as described in B9, wherein
The density estimation unit is adapted to generate a uniformly distributed grid in a block having a real point distribution on the distribution map, and an intersection of grid lines is taken as a virtual point.
B16, the device of any one of B9-B15, wherein,
the acquisition unit is suitable for acquiring coordinate information of each real point in the designated area and updating a distribution map of the real point in the designated area in real time;
and the density estimation unit is suitable for updating the density estimation distribution map in real time according to the distribution map of the updated real points in the designated area.

Claims (10)

1. A method of estimating a density of real points within a specified area, wherein the method comprises:
acquiring coordinate information of each real point in the designated area, and generating a distribution diagram of the real points in the designated area;
generating uniformly distributed grids on the distribution diagram, and taking the intersection points of grid lines as virtual points;
for each real point on the distribution diagram, connecting the real point with each virtual point on the contour of the grid where the real point is located, wherein each connection is an edge; calculating the number of edges connected by each virtual point;
and marking the number of edges connected with each virtual point on the distribution diagram to obtain the density estimation distribution diagram of the real points in the designated area.
2. The method of claim 1, wherein the method further comprises:
receiving a request to query for real point density at a particular location within the specified area;
acquiring corresponding real point density information from the density estimation distribution map according to the coordinate information of the specific position;
and returning the acquired corresponding real point density information to the requester.
3. The method of claim 2, wherein obtaining corresponding real-point density information from the density estimation profile comprises:
determining the virtual point with the closest distance according to the coordinate information of the specific position, and taking the number of edges connected with the virtual point with the closest distance as corresponding real point density information;
or,
and determining the grid where the specific position is located according to the coordinate information of the specific position, calculating a weighted average value of the number of edges connected with each virtual point on the grid contour, and taking the weighted average value as corresponding real point density information.
4. The method of claim 1, wherein the method further comprises:
normalizing the number of edges connected with each virtual point to obtain a normalized value;
the marking the number of edges connected to each virtual point on the distribution map to obtain the density estimation distribution map of the real points in the designated area includes: and marking the normalization value corresponding to each virtual point on the distribution map to obtain the density estimation distribution map of the real points in the specified area.
5. The method of claim 1, wherein generating a uniformly distributed grid over the distribution map comprises:
and generating a uniformly distributed grid with the size corresponding to the specified step size parameter on the distribution diagram.
6. The method of claim 1, wherein,
the grid is square, regular triangle or regular hexagon.
7. The method of claim 1, wherein generating a uniformly distributed grid on the distribution map, taking the intersection of grid lines as an imaginary point comprises:
and generating a uniformly distributed grid in a block with real points distributed on the distribution diagram, and taking the intersection points of grid lines as virtual points.
8. The method of any one of claims 1-7, wherein the method further comprises:
acquiring coordinate information of each real point in the designated area in real time, and updating a distribution map of the real points in the designated area in real time;
and updating the density estimation distribution diagram in real time according to the distribution diagram of the updated real points in the designated area.
9. An apparatus for estimating a density of real points in a specified area, wherein the apparatus comprises:
the acquisition unit is suitable for acquiring coordinate information of each real point in the designated area and generating a distribution diagram of the real point in the designated area;
a density estimation unit adapted to generate a uniformly distributed grid on the distribution map, with intersection points of grid lines as imaginary points; for each real point on the distribution diagram, connecting the real point with each virtual point on the contour of the grid where the real point is located, wherein each connection is an edge; calculating the number of edges connected by each virtual point; and marking the number of edges connected with each virtual point on the distribution diagram to obtain the density estimation distribution diagram of the real points in the designated area.
10. The apparatus of claim 9, wherein the apparatus further comprises:
a query processing unit adapted to receive a request to query for real point density at a particular location within the specified area; acquiring corresponding real point density information from the density estimation distribution map according to the coordinate information of the specific position; and returning the acquired corresponding real point density information to the requester.
CN201610192946.1A 2016-03-30 2016-03-30 Method and device for estimating density of real points in assigned area Pending CN105893998A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610192946.1A CN105893998A (en) 2016-03-30 2016-03-30 Method and device for estimating density of real points in assigned area

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610192946.1A CN105893998A (en) 2016-03-30 2016-03-30 Method and device for estimating density of real points in assigned area

Publications (1)

Publication Number Publication Date
CN105893998A true CN105893998A (en) 2016-08-24

Family

ID=57014106

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610192946.1A Pending CN105893998A (en) 2016-03-30 2016-03-30 Method and device for estimating density of real points in assigned area

Country Status (1)

Country Link
CN (1) CN105893998A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107862030A (en) * 2017-11-01 2018-03-30 平安科技(深圳)有限公司 The standby position that is in danger determines method, apparatus, computer equipment and storage medium
WO2018059315A1 (en) * 2016-09-30 2018-04-05 阿里巴巴集团控股有限公司 Method and device for determining areas of interest based on geolocation data
CN108628896A (en) * 2017-03-22 2018-10-09 腾讯科技(深圳)有限公司 It registers behavior temperature processing method and processing device
CN109359170A (en) * 2018-11-02 2019-02-19 百度在线网络技术(北京)有限公司 Method and apparatus for generating information

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104715127A (en) * 2013-12-11 2015-06-17 中国移动通信集团辽宁有限公司 Identification method and system for complaint hot spot region

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104715127A (en) * 2013-12-11 2015-06-17 中国移动通信集团辽宁有限公司 Identification method and system for complaint hot spot region

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
帕夫利迪斯: "《计算机图形显示和图象处理的算法》", 31 July 1987, 北京:科学出版社 *
田宇 等: "一种基于图像去噪的多密度网格聚类算法", 《智能计算机与应用》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018059315A1 (en) * 2016-09-30 2018-04-05 阿里巴巴集团控股有限公司 Method and device for determining areas of interest based on geolocation data
US10943364B2 (en) 2016-09-30 2021-03-09 Advanced New Technologies Co., Ltd. Method and device for determining areas of interest based on geolocation data
US11087490B2 (en) 2016-09-30 2021-08-10 Advanced New Technologies Co., Ltd. Method and device for determining areas of interest based on geolocation data
CN108628896A (en) * 2017-03-22 2018-10-09 腾讯科技(深圳)有限公司 It registers behavior temperature processing method and processing device
CN108628896B (en) * 2017-03-22 2023-04-07 腾讯科技(深圳)有限公司 Sign-in behavior heat processing method and device
CN107862030A (en) * 2017-11-01 2018-03-30 平安科技(深圳)有限公司 The standby position that is in danger determines method, apparatus, computer equipment and storage medium
CN109359170A (en) * 2018-11-02 2019-02-19 百度在线网络技术(北京)有限公司 Method and apparatus for generating information
CN109359170B (en) * 2018-11-02 2020-05-12 百度在线网络技术(北京)有限公司 Method and apparatus for generating information

Similar Documents

Publication Publication Date Title
JP6875510B2 (en) Methods and devices for determining areas of interest based on geolocation data
US9706515B1 (en) Location data from mobile devices
CN105893998A (en) Method and device for estimating density of real points in assigned area
CN106595682B (en) Differential updating method and system for map data and server
JP7162753B2 (en) Quantitative geospatial analysis of device location data
CN103347297B (en) Indoor positioning method, indoor positioning server and indoor positioning system
CN111507732B (en) System and method for identifying similar trajectories
CN108174350B (en) Positioning method and device
US8996551B2 (en) Managing geographic region information
US10523704B2 (en) Methods and apparatus for identification and ranking of synthetic locations for mobile applications
CN107291874B (en) Map point location aggregation method and device
US10692228B2 (en) Identifying spatial locations of images using location data from mobile devices
CN110287831B (en) Method and device for acquiring control point based on landmark and electronic equipment
CN112712690A (en) Vehicle electronic fence method and device and electronic equipment
CN111814069A (en) Information processing method, information processing apparatus, storage medium, and electronic device
US11523248B2 (en) Inference of logistical relationships from device location data
US8694460B2 (en) Movement determination apparatus and movement determination method
CN106595681B (en) Differential updating method and system for path data and server
CN111210201A (en) Occupational label establishing method and device, electronic equipment and storage medium
CN113945937A (en) Precision detection method, device and storage medium
CN109471909B (en) Method, apparatus and computer readable storage medium for address location
CN109031205B (en) Robot positioning device, method and robot
US20120185206A1 (en) Method for setting the geolocation of a non-gps enabled device
JP2017156286A (en) Shape estimation device, shape estimation method, and program
CN108600413B (en) Positioning method and device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160824