CN112115219A - Position determination method, device, equipment and storage medium - Google Patents

Position determination method, device, equipment and storage medium Download PDF

Info

Publication number
CN112115219A
CN112115219A CN202010901692.2A CN202010901692A CN112115219A CN 112115219 A CN112115219 A CN 112115219A CN 202010901692 A CN202010901692 A CN 202010901692A CN 112115219 A CN112115219 A CN 112115219A
Authority
CN
China
Prior art keywords
road
map
target object
determining
geographic
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.)
Withdrawn
Application number
CN202010901692.2A
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.)
Hanhai Information Technology Shanghai Co Ltd
Original Assignee
Hanhai Information Technology Shanghai 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 Hanhai Information Technology Shanghai Co Ltd filed Critical Hanhai Information Technology Shanghai Co Ltd
Priority to CN202010901692.2A priority Critical patent/CN112115219A/en
Publication of CN112115219A publication Critical patent/CN112115219A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data

Abstract

The application provides a position determination method, a position determination device, equipment and a storage medium, wherein the method comprises the following steps: determining the relative position relation between the geographic position of the target object and the geographic position of a first road according to the first display position of the target object in the first map; determining a second road corresponding to the first road displayed in a second map; and determining the display position of the geographic position meeting the relative position relation with the second road in the second map as a second display position of the target object in the second map. By adopting the technical scheme of the application, the difference of the display positions of the same target object in different maps can be reduced.

Description

Position determination method, device, equipment and storage medium
Technical Field
The present application relates to the field of information processing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for determining a position.
Background
LBS (Location Based Services) scenes often need to show the positions of POI (points of interest, which may be called target objects) in the form of digital maps at the front end. In the related art, when displaying the position of a POI in a digital map, generally, longitude and latitude of the POI are subjected to coordinate transformation to obtain a two-dimensional coordinate in the digital map, and then the POI is displayed at the two-dimensional coordinate.
However, since the definitions of the road coordinates by the suppliers of different digital maps (for example, hundredths and heights) are inconsistent, when the latitude and longitude of the POI are subjected to coordinate transformation to obtain the two-dimensional coordinates in the digital map, the two-dimensional coordinates obtained by transforming the different digital maps are different, so that the display positions of the same POI on different maps are greatly different, which causes great troubles and inconveniences to users.
Disclosure of Invention
In order to solve the above problem, the present application provides a position determination method, apparatus, device and storage medium, which aim to reduce the difference of the display positions of the same POI in different maps.
In a first aspect of embodiments of the present application, a method for determining a position is provided, where the method includes:
determining the relative position relation between the geographic position of the target object and the geographic position of a first road according to the first display position of the target object in the first map;
determining a second road corresponding to the first road displayed in a second map;
and determining the display position of the geographic position meeting the relative position relation with the second road in the second map as a second display position of the target object in the second map.
Optionally, determining, according to the first display position of the target object in the first map, a relative positional relationship between the geographic position of the target object and the geographic position of the first road includes:
determining a road, of the roads displayed by the first map, with a distance from the geographical position of the target object smaller than a preset distance as the first road;
projecting a first display position of a target object in a first map to a display position of a first road in the first map to obtain a first projection position;
and determining the relative position relation according to the first display position, the first projection position and the driving direction of the first road.
Optionally, determining a display position in the second map of a geographic position satisfying the relative position relationship with the second road as a second display position in the second map of the target object, including:
determining a geographical area satisfying the relative position relation with the second road, and displaying the geographical area in the second map;
determining a display position in the display area, which is offset from a display position of the second road in the second map by a preset distance according to a coverage area of a building displayed in the second map, as the second display position.
Optionally, determining a second road corresponding to the first road displayed in a second map comprises:
determining a road, of the roads displayed by the second map, whose distance from the geographical location of the target object is smaller than a preset distance and which meets a preset condition, as the second road, where the preset condition includes at least one of: the driving direction of the road is the same as that of the first road, the road is provided with a stop sign, and the type of the road is a non-closed type.
Optionally, before determining a relative position relationship between the geographic position of the target object and the geographic position of the first road according to the first display position of the target object in the first map, the method further includes:
detecting whether the first map has a trusted identity;
obtaining a first display position of a target object in a first map, comprising:
determining the relative position relation according to the first display position under the condition that the first map has the credible identification;
the method further comprises the following steps:
under the condition that the first map does not have the credible identification, determining a plurality of relative position relations between the geographic position of the target object and the geographic position of the first road according to the display positions of the target object in a plurality of maps;
and determining the relative position relation between the geographic position of the target object and the geographic position of the first road according to the relative position relations.
Optionally, determining a relative positional relationship between the geographic position of the target object and the geographic position of the first road according to the plurality of relative positional relationships includes:
determining a relationship type to which the plurality of relative positional relationships respectively belong, the relationship type including: the first relation type is used for representing that the target object is positioned on one side of a road in a first driving direction, the second relation type is used for representing that the target object is positioned on one side of the road in a second driving direction, and the third relation type is used for representing that the target object is positioned in the middle of the road, wherein the first driving direction is opposite to the second driving direction;
determining the relative position relationship between the geographic position of the target object and the geographic position of the first road according to the larger of the number of the relative position relationships belonging to the first relationship type and the number of the relative position relationships belonging to the first relationship type;
determining a relative positional relationship of the geographic position of the target object and the geographic position of the first road according to auxiliary information in a case where the number of relative positional relationships belonging to the first relationship type and the number of relative positional relationships belonging to the first relationship type are equal, the auxiliary information including at least one of: street view images and field collected information.
Optionally, after determining the relative position relationship between the geographic position of the target object and the geographic position of the first road according to the plurality of relative position relationships, the method further includes:
and updating the display position of the target object in at least partial map according to the relative position relation between the geographic position of the target object and the geographic position of the first road, wherein the at least partial map is one of the maps.
In a second aspect of the embodiments of the present application, there is provided a position determination apparatus, including:
the first determining module is used for determining the relative position relation between the geographic position of the target object and the geographic position of the first road according to the first display position of the target object in the first map;
a second determination module for determining a second road corresponding to the first road displayed in a second map;
and a third determining module, configured to determine, as the second display position of the target object in the second map, a display position of the geographic position in the second map, where the geographic position satisfies the relative position relationship with the second road.
In a third aspect of the embodiments of the present application, there is provided an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the position determination method according to the first aspect when executed.
In a fourth aspect of the embodiments of the present application, a non-transitory computer-readable storage medium is provided, and when executed by a processor, instructions in the storage medium can perform the operations performed by the position determination method in any one of the above first aspects.
By adopting the technical scheme of the embodiment of the application, the relative position relation between the geographic position of the target object and the geographic position of the first road can be determined according to the first display position of the target object in the first map, and then the second road corresponding to the first road and displayed in the second map is determined; then, the display position of the geographic position satisfying the relative position relation with the second road in the second map is determined as a second display position of the target object in the second map.
When the display position of the target object in the second map is determined, the relative position relationship between the geographic position of the target object and the geographic position of the first road is referred, so that the display position of the geographic position, which meets the relative position relationship with the second road, in the second map is determined as the display position of the target object in the second map, and thus, the relative position relationship between the target object in the second map and the second road, and the relative position relationship between the target object in the first map and the first road, can be kept consistent, so that the target object can be located on the same side of the corresponding road in different maps, thereby avoiding the display position difference of the target object in different maps, and facilitating the use of users.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required to be used in the description of the embodiments or the related art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, 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 flow chart diagram illustrating steps of a method for position determination according to an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating a schematic diagram of determining a relative position relationship between a geographic position of a target object and a geographic position of a first road according to an embodiment of the present application;
FIG. 3 is a schematic diagram illustrating a second display position of a target object in a second map according to an embodiment of the present application;
FIG. 4 is a schematic overall flow chart diagram illustrating a position determination method according to an embodiment of the present application;
FIG. 5 is a flow chart illustrating steps of yet another method for determining a location according to an embodiment of the present application;
FIG. 6 is a schematic diagram illustrating an embodiment of the present application for determining a relative positional relationship between a target object and a first road among a plurality of relative positional relationships;
fig. 7 is a schematic structural diagram of a position determination device in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
In the related art, in order to solve the problem that when the longitude and latitude of a POI are subjected to coordinate transformation to obtain a two-dimensional coordinate in a digital map, the display positions of the same POI on different maps are greatly different due to different two-dimensional coordinates obtained by converting different digital maps, the following practical requirements of a user are considered simultaneously by the inventor: for most users, when viewing the position of a POI using a digital map, the more interesting is often the relative positional relationship of the POI to nearby roads, such as: POI is located the north side of XX way, and is about 100 meters away from XX way and YY way intersection.
In view of the above-mentioned problems and the practical needs of users, the present inventors propose the following technical idea: the display position of the POI on the different maps is determined with reference to the relative positional relationship of the target object with the nearby road on one of the maps, so that the display position of the target object on the different maps can be kept consistent with the relative positional relationship with the nearby road.
The position determining method provided by the application can be applied to an application scene for positioning the target object, and can be applied to a server. For example, when a user opens a map page for positioning a target object through the client a, the position of the target object is displayed in the map page, and when the user needs to jump to the client B for navigation by using the client B, the server of the client B can receive the positioning request, so that the target object is displayed on the map page provided by the client B according to the relative positional relationship between the display position of the target object in the map page of the client a and the road, so as to ensure that the relative positional relationship between the target object and the road in the map page provided by the client a can be kept consistent with the relative positional relationship between the target object and the road in the map page provided by the client B.
Referring to fig. 1, a flowchart illustrating steps of a position determining method in an embodiment of the present application is shown, and as shown in fig. 1, the method may specifically include the following steps:
step S101: and determining the relative position relation between the geographic position of the target object and the geographic position of the first road according to the first display position of the target object in the first map.
First, the display positions such as the first display position and the second display position in the embodiment of the present application all refer to display position points in a map, and the geographic positions in the embodiment of the present application all refer to geographic positions in a real geographic environment.
In this embodiment, the longitude and latitude of the target object may be subjected to coordinate transformation to obtain a two-dimensional coordinate in the first map, and then the target object is displayed at the two-dimensional coordinate to obtain a first display position of the target object in the first map. That is, the first display position refers to a position point of the two-dimensional coordinates of the target object in the first map. The first map may be a map maintained by a graph dealer providing longitude and latitude for the target object. For example, if the Baidu map provides the latitude and longitude of the target object, the target object may be displayed in the Baidu map.
Wherein the geographical position of the target object may refer to a position of the target object in the actual geographical environment, and the geographical position of the first road may refer to a position of the first road in the actual geographical environment. The relative positional relationship may refer to: the position relationship of the target object and the first road in the actual geographic environment. When the relative positional relationship is determined according to the first display position of the target object in the first map, the positional relationship between the display position of the first road in the first map and the first display position may be determined as the relative positional relationship between the target object and the first road in the actual geographic environment.
In one example, the relative positional relationship may be characterized in terms of the orientation of the target object located on the first road. For example, in a first map where the first display position of the target object is located north of the display position of the first road, it may be determined that the actual geographic position of the target object is located north of the actual geographic position of the first road.
Step S102: a second road corresponding to the first road displayed in a second map is determined.
In this embodiment, the second map is a map different from the first map, and is specifically embodied as: both originating from different map vendors, i.e. provided by different map vendors. Wherein the second road may be the same road as the first road, or a road adjacent to the first road in the actual geographical location, or the second road and the first road are different segments of the same road. For example, a metropolis' heaven road is a straight line type axis road from north to south, which is divided into a plurality of road segments, and the following are sequentially provided: the first road may be north section of the great house road, and the second road may be middle section of the great house road or north section of the great house road.
Step S103: and determining the display position of the geographic position meeting the relative position relation with the second road in the second map as a second display position of the target object in the second map.
In this embodiment, in order to keep the relative positional relationship between the target object and the road consistent, a geographic position satisfying the relative positional relationship with the second road may be determined in the actual geographic environment, and a display position of the geographic position in the second map may be determined as the second display position. Thus, the position relationship between the second display position in the second map and the second road is made to conform to the relative position relationship between the first display position and the display position of the first road, thereby ensuring the consistency of the display positions of the target objects in different maps, i.e. the user sees in the first map that the first display position is located on the a side of the first road, and sees in the second map that the second display position is also located on the a side of the second road.
Illustratively, the relative positional relationship of the target object to the first road is: the target object is located on the north side of the first road, and in the second map, the display position located on the north side of the second road may be determined as the second display position of the target object in the second map.
In a specific implementation, the display position of the target object in the second map may be further modified according to a vertical distance between the first display position and the display position of the first road, so as to reduce a difference between the vertical distance between the display position of the target object in the second map and the second road and the vertical distance between the first display position and the first road, thereby facilitating the use of the user.
By adopting the technical scheme of the embodiment of the application, the method has the following advantages:
when the display position of the target object in the second map is determined, the relative position relationship determined according to the first display position of the target object in the first map is taken as a standard, so that the display position of the geographic position in the second map, which meets the relative position relationship with the second road, is determined as the second display position of the target object in the second map. Therefore, the relative position relation between the target object and the second road in the second map and the relative position relation between the target object and the first road in the first map can be kept consistent, so that the target object can be positioned on the same side of the corresponding road in different maps, and the display positions of the target object in different maps are prevented from being different, and the use of a user is facilitated.
The process described in each of the above steps is described in detail below:
referring to fig. 2, which is a schematic diagram illustrating how to determine a relative position relationship between a geographic position of a target object and a geographic position of a first road in an alternative example of the present application, as shown in fig. 2, in step S101, when determining a relative position relationship between a geographic position of a target object and a geographic position of a first road according to a first display position of the target object in a first map, the following process may be performed:
firstly, determining a road, of the roads displayed on the first map, whose distance from the geographical position of the target object is less than a preset distance as the first road.
Secondly, projecting a first display position of the target object in a first map to a display position of the first road in the first map to obtain a first projection position.
And finally, determining the relative position relation according to the first display position, the first projection position and the driving direction of the first road.
In this embodiment, when determining the first road, a road whose vertical distance from the target object is smaller than a preset distance may be determined as the first road, with the geographic position of the target object as a center. When there are a plurality of roads having a vertical distance from the target object smaller than the preset distance, the first road meeting the condition may be selected from the plurality of roads according to the attribute of the road, for example, the road having a stop sign in the road attribute may be selected as the first road, or the road having the smallest vertical distance from the target object may be selected as the first road.
In this embodiment, the first projected position may refer to a point where a perpendicular to the first road from the first display position intersects with the first road, for example, as shown in fig. 2, the first display position of the target object in the first map is a POI position in the figure, and the first road is V1, where two arrows of the V1 road indicate a driving direction of the first road. The first projected location is point X where the vertical line perpendicular to V1 of the POI intersects with road V1.
In this embodiment, the driving direction of the first road may refer to a driving direction standard of a vehicle, and the principle that the vehicle drives to the right is observed in China, so that when the first display position, the first projection position, and the driving direction of the first road are obtained, the relative position relationship between the target object and the first road on the first map may be determined through the three factors.
Illustratively, as shown in fig. 2, the first display position of the target object in the first map is the POI position in the map, and the first road is V1, wherein the V1 road complies with the driving direction of the right-hand vehicle. The relative positional relationship of the target object POI to the first road V1 is: the target object POI is located on the north side of the first road V1.
Optionally, in step S102, when determining a second road corresponding to the first road displayed in a second map, a road, which is less than a preset distance from the geographic location of the target object and satisfies a preset condition, of the roads displayed in the second map may be determined as the second road, where the preset condition includes at least one of: the driving direction of the road is the same as that of the first road, the road is provided with a stop sign, and the type of the road is a non-closed type.
In this embodiment, the geographic location of the target object may be determined according to the latitude and longitude of the target object, and the geographic location refers to the real location of the target object in the geographic environment. In this way, a second road, which is less than the preset distance from the geographical position of the target object, can be screened out from the plurality of roads near the geographical position of the target object, and the second road meets the preset condition.
Wherein, the second road meeting the preset conditions means that: the second road satisfies at least one of the following conditions: the driving direction of the second road is the same as that of the first road, the second road is provided with a stop sign, and the type of the second road is a non-closed type.
Wherein, the driving direction of second road is the same with the driving direction of first road and indicates: the second road has the same driving direction criteria as the first road, e.g. both driving to the right. The second road having the stop sign means that: the second road permits parking, and the type of the second road is a non-closed type: the second road is not a bridge, underpass or forbidden road section.
By adopting the technical scheme of the embodiment, the road section which can not stop the vehicle to pick up the passenger can be removed from the second map, so that the determined road section can pick up the passenger, the passenger can conveniently go out and stop the vehicle, and the positioning flexibility is improved.
Referring to fig. 3, which is a schematic diagram illustrating how to determine the second display position of the target object in the second map in an alternative example of the present application, when determining the display position of the geographic position satisfying the relative position relationship with the second road in the second map as the second display position of the target object in the second map in step S103, reference may be made to the following process:
first, a geographical area, a display area in the second map, satisfying the relative positional relationship with the second road is determined.
Then, a display position in the display area, which is offset from a display position of the second road in the second map by a preset distance determined according to a coverage area of a building displayed in the second map, is determined as the second display position.
In this embodiment, a geographic area satisfying a relative positional relationship with the second road may be determined in the actual geographic environment, and then a display area of the geographic area may be determined in the second map, so that a plurality of display position points satisfying a relative positional relationship with the second road may be included in the display area, that is, each display position point included in the display area and the display position of the second road all satisfy a relative positional relationship.
Then, among the display position points included in the determined display area, a display position point that is offset from the display position point of the second road by a preset distance may be used as the second display position of the target object. Wherein, the offset preset distance may refer to: the vertical distance between each display position point in the display area and the second road. In a specific implementation, the preset distance may be determined according to a coverage area of a building displayed in the second map, and further, the preset distance may be determined according to a display area not covered by the building, so that a geographical position within the preset distance and not covered by the building on a perpendicular line perpendicular to the second road may be determined as the second display position.
For example, as shown in fig. 3, the quotient 2 road in fig. 3 is a second road, and the quotient 1 road is a first road, it can be seen that the first display position of the POI is located on the north side of the quotient 1 road, and when the second display position of the target object in the second map is determined, one display position point, which is located in the display area on the north side of the quotient 2 road and is not covered by a building and has a vertical distance with the quotient 2 road smaller than a preset distance, may be determined as the second display position POI' on the map of fig. 2.
By adopting the technical scheme of the embodiment, the determined second display position is a position which is offset from the second road by a preset distance and is not covered by the building, so that the second display position in the second map can not be covered by the building, and thus, when a user navigates a target object according to the second display position, the navigation difficulty can be reduced, accurate navigation is realized, and the use experience of the user is optimized.
Generally, the latitude and longitude of the target object are provided by a map provider or some data mechanism (hereinafter, referred to as a provider), and accordingly, the target object is displayed in a map provided by the corresponding provider. However, the latitude and longitude of the target object may vary from provider to provider, and in practice, some providers provide latitude and longitude of the target object that are different from the actual geographic location of the target object and are not reliable. In this case, in order to improve the accuracy of the display position of the target object, in another embodiment of the present application, a corresponding mechanism may be adopted to determine the display position of the target object in the map according to the reliability of the first map.
The first map may be a map maintained by a graph dealer providing longitude and latitude for the target object.
Referring to fig. 4, an overall flow diagram of a position determination method shown in this embodiment is shown, and as shown in fig. 4, the overall flow of this embodiment is briefly summarized.
First, the display position of the target object in the first map may be determined according to whether the latitude and longitude sources of the target object are reliable, that is, according to whether the corresponding first map is reliable.
Specifically, when the longitude and latitude sources are reliable, the relative position relationship between the target object and the road in the corresponding first map can be determined, and then the coordinates of the target object are mapped into other different second maps according to the relative position relationship, so that the relative position relationship between the target object and the road in the second map can be kept consistent with the relative position relationship between the target object and the road in the first map.
Specifically, when the longitude and latitude sources are unreliable, the relative position relations of the target object in all other maps can be obtained, the relative position relations of the target object in all the maps are further integrated, the relatively real relative position relation between the target object and the road in the map is estimated, and therefore the display positions of the target object in all the other maps are corrected according to the relatively real relative position relation.
Wherein, reliable latitude and longitude sources mean: the latitude and longitude of the target object is provided by a reliable map provider, which refers to a map provider that can specialize in periodic measurements and maintenance of geographic locations, which is also provided with a digital map in practice.
Referring to fig. 5, a flowchart illustrating steps of a method for determining a location according to this embodiment is shown, and as shown in fig. 5, the method for determining a location according to this embodiment may specifically include the following steps:
step S501: it is detected whether the first map has a trusted identity.
In this embodiment, a trusted identifier may be set in advance for each map that is reliable for a provider according to a maintenance condition of the provider of the map on an actual geographic location. Therefore, when the longitude and latitude of the target object are obtained, the first map provided by the map provider providing the longitude and latitude of the target object can be obtained, and whether the first map has the credible identification or not can be detected.
If the first map has the credible identification, the graph quotient providing the first map is a graph quotient which frequently measures, corrects and maintains the geographic position data, the latitude and longitude of the provided map and the target object are relatively real and reliable, and in practice, the first map can be used as a reference map. If the first map does not have the credible identification, the map provider providing the first map is not a map provider which measures, corrects and maintains the geographic position data frequently, and is likely to be a platform such as a data intermediate provider, and the latitude and longitude of the map and the target object provided by the first map are not true and reliable, so that the first map cannot be used as a reference map in practice.
In specific implementation, when the first map has the trusted identifier, the processes of the steps S101 to S103 are executed to determine a second display position of the target object in the second map.
If the first map does not have the credible identification, the following steps S502-S504 are executed to determine the relative position relationship between the target object and the first road in the first map, and according to the relative position relationship, the display position of the target object in at least part of the map is updated. The details are as follows:
step S502: and determining a plurality of relative position relations between the geographic position of the target object and the geographic position of the first road according to the display positions of the target object in a plurality of maps.
The multiple maps may be maps provided by multiple different map providers, and the process of determining the relative position relationship between the target object and the first road in the multiple maps may refer to the process related to step S101, which is not described herein again.
Wherein, the first road may refer to the same road in the maps provided by a plurality of different providers. In this way, a plurality of relative positional relationships of the target object with the same road can be determined from a plurality of different maps.
Step S503: and determining the relative position relation between the geographic position of the target object and the geographic position of the first road according to the relative position relations.
In this embodiment, a relatively real relative positional relationship between the geographic position of the target object and the geographic position of the first road may be estimated according to the relative positional relationship between the target object and the first road in the plurality of maps.
Specifically, in one example, referring to fig. 6, a schematic diagram illustrating a principle of determining a relative position relationship between a target object and a first road in a plurality of relative position relationships is shown, and as shown in fig. 6, when determining a relatively real relative position relationship between a geographic position of the target object and a geographic position of the first road according to the plurality of relative position relationships, the relative position relationship may be determined through a process described in the following steps:
step S5031: determining a relationship type to which the plurality of relative positional relationships respectively belong, the relationship type including: the first relation type is used for representing that the target object is positioned on one side of a road in a first driving direction, the second relation type is used for representing that the target object is positioned on one side of a road in a second driving direction, and the third relation type is used for representing that the target object is positioned in the middle of the road, wherein the first driving direction is opposite to the second driving direction.
In this embodiment, the relative position relationship may refer to a position of the target object relative to the road, and the relationship types to which the relative position relationships respectively belong may refer to position types, specifically including the following three types:
the first type is: the first relationship type, which characterizes that the target object is located on one side of the road in the first driving direction, means that the target object is located on one side of the road in the first driving direction, for example, on the side of the road driving east from west. Of course, in practice, the first driving direction may be from north to south, depending on the driving route of the road in the geographic environment.
The second type: the second relationship type is a second relationship type that characterizes the target object being located on a side of the road in the second driving direction, i.e. the second relationship type refers to the target object being located on the side of the road in the second driving direction, e.g. on the side of the road driving from east to west. In practice, of course, the second driving direction may also be from north to south, depending on the driving route that the road follows in the geographical environment.
Here, it is understood that, for the same road, since the vehicle can travel in both directions in the road, the first traveling direction and the second traveling direction are opposite directions to each other.
The third type: a third type of relation characterizing that the target object is located in the middle of the road, i.e. the target object is located above the road, in which case it is clear that the positioning is biased.
Illustratively, as shown in fig. 6, the target object POI is located on the north side of the road of fig. 1 in the map provided by fig. 1, i.e. on the side of the road of fig. 1 traveling from east to west; in the map provided by fig. 2, the map is located on the south side of the road of fig. 2, namely, on the side of the road of fig. 2 driven from west to east; the map provided by fig. 3 is located in the middle of the road of fig. 3.
Step S5032: determining the relative positional relationship between the geographical position of the target object and the geographical position of the first road according to the greater of the number of relative positional relationships belonging to the first relationship type and the number of relative positional relationships belonging to the first relationship type.
In this embodiment, since the first map does not have the trusted identifier, and the latitude and longitude sources of the target object are also not trusted, it is impossible to know which map of the plurality of maps can be used as the reference map.
In a specific implementation, the greater of the number of relative positional relationships belonging to the first relationship type and the number of relative positional relationships belonging to the first relationship type may be determined as the actual relative positional relationship between the geographic position of the target object and the geographic position of the first road.
For example, as shown in fig. 6, the relative relationship between all the graph quotients is counted, and the number of the graph quotients conforming to the first relationship type is N1, the number of the graph quotients conforming to the second relationship type is N2, and the number of the graph quotients conforming to the third relationship type is N3. If N1> N2, determining the relative position relation of the first relation type as a relative real relative position relation; if N1< N2, the relative positional relationship of the second relationship type is determined to be a relatively true relative positional relationship.
Of course, in practice, a special case where the number of the third relationship types is large is not excluded, and in this case, it may be indicated that the target object is actually located in the middle of the road, for example, some buildings are built on the road, and some convenience stores are located on the road, and in this case, the relative position relationship of the third relationship types may also be determined as a relatively real relative position relationship.
Step S5033: determining a relative positional relationship of the geographic position of the target object and the geographic position of the first road according to auxiliary information in a case where the number of relative positional relationships belonging to the first relationship type and the number of relative positional relationships belonging to the first relationship type are equal, the auxiliary information including at least one of: street view images and field collected information.
In practice, when the number of relative positional relationships of the first relationship type and the number of relative positional relationships belonging to the first relationship type are equal, the positional relationship between the target object and the first road in the auxiliary information may be determined as a relatively true relative positional relationship of the geographical position of the target object and the geographical position of the first road by means of the auxiliary information. The auxiliary information may include street view images, field capture information.
The street view image can be obtained from any map provider which can provide street view, or can be obtained from other data platforms. The in-field information may be retrieved from the corresponding satellite map, or the in-field information may be an image of the field taken by a merchant or user near the first road.
Step S504: and updating the display position of the target object in at least partial map according to the relative position relation between the geographic position of the target object and the geographic position of the first road, wherein the at least partial map is one of the maps.
In this embodiment, after determining a relatively true relative position relationship between the geographic position of the target object and the geographic position of the first road, the display position of the target object in at least a part of the map may be updated, where the updating may be: and correcting other display positions which do not accord with the relatively real relative position relation according to the relatively real relative position relation so as to correct the relative position relation between the display position in the partial map and the first road into a relative position relation which accords with the relatively real relative position relation.
For example, still taking fig. 6 as an example for explanation, assuming that most of the POIs in the map of fig. 1 are located on the north side of the road, it is determined that the POIs are actually located on the north side of the road, in this case, the POIs may be corrected from being located on the south side of the road of fig. 2 to being located on the north side of the road of fig. 2 in the map provided by fig. 2; in the map provided by fig. 3, the POI is corrected from the middle of the road of fig. 3 to the north side of the road of fig. 3.
With the embodiment shown in this example, the following advantages can be obtained:
because a corresponding display position confirmation mechanism can be adopted according to the condition that the first map is credible or not, when the first map is credible, the display positions of the target objects in other maps are determined by taking the relative position relation of the target objects in the first map and the first road as a reference, so that the relative relation of the target objects in the other maps and the road is consistent with the relative position relation of the target objects in the first map and the first road. When the first map is not credible, the relative real relative position relation is determined according to the relative position relations of the target object and the first road in the maps, so that other display positions which do not accord with the relative real relative position relation are corrected in a part of maps.
Therefore, on one hand, the difference of the display positions of the target object in different maps can be reduced, and on the other hand, the accuracy of the display positions under different conditions can be ensured according to two positioning processing mechanisms adopted by the first map whether the first map is credible or not.
Based on the same inventive concept as the above embodiment, referring to fig. 7, a block diagram of a position determining apparatus of the present embodiment is shown, and the apparatus may specifically include the following modules:
a first determining module 701, configured to determine, according to a first display position of a target object in a first map, a relative position relationship between a geographic position of the target object and a geographic position of a first road;
a second determining module 702, which may be configured to determine a second road corresponding to the first road displayed in a second map;
the third determining module 703 may be configured to determine, as the second display position of the target object in the second map, a display position of the geographic position in the second map, where the geographic position satisfies the relative position relationship with the second road.
Optionally, the first determining module 701 may specifically include the following units:
the road determination unit may be configured to determine, as the first road, a road, of the roads displayed on the first map, where a distance from the geographical location of the target object is smaller than a preset distance;
the projection position obtaining unit may be configured to project a first display position of a target object in a first map onto a display position of the first road in the first map, so as to obtain a first projection position;
the position relation determining unit may be configured to determine the relative position relation according to the first display position, the first projection position, and a driving direction of the first road.
Optionally, the third determining module 703 may specifically include the following units:
a display area determination unit operable to determine a geographical area satisfying the relative positional relationship with the second road, a display area in the second map;
a display position determination unit that may be configured to determine, as the second display position, a display position in the display area that is offset from a display position of the second road in the second map by a preset distance, the preset distance being determined according to a coverage area of a building displayed in the second map.
Optionally, the second determining module 702 may be specifically configured to determine, as the second road, a road, of the roads displayed on the second map, where a distance from the geographic location of the target object is smaller than a preset distance and meets a preset condition, where the preset condition includes at least one of: the driving direction of the road is the same as that of the first road, the road is provided with a stop sign, and the type of the road is a non-closed type.
Optionally, the apparatus may further include the following modules:
the detection module is used for detecting whether the first map has a credible identifier;
the first determining module may be specifically configured to determine the relative positional relationship according to the first display position when the first map has the trusted identifier;
a fourth determining module, configured to determine, according to display positions of the target object in multiple maps, multiple relative position relationships between the geographic position of the target object and the geographic position of the first road if the first map does not have the trusted identifier;
the fifth determining module may be specifically configured to determine, according to the plurality of relative positional relationships, a relative positional relationship between the geographic position of the target object and the geographic position of the first road.
Optionally, the fifth determining module may specifically include the following units:
a type determining unit, configured to determine a relationship type to which the plurality of relative position relationships respectively belong, where the relationship type includes: the first relation type is used for representing that the target object is positioned on one side of a road in a first driving direction, the second relation type is used for representing that the target object is positioned on one side of the road in a second driving direction, and the third relation type is used for representing that the target object is positioned in the middle of the road, wherein the first driving direction is opposite to the second driving direction;
a comparison unit, configured to determine, according to a greater one of the number of relative positional relationships belonging to the first relationship type and the number of relative positional relationships belonging to the first relationship type, a relative positional relationship between the geographic position of the target object and the geographic position of the first road;
a determining unit, configured to determine, when the number of relative positional relationships belonging to the first relationship type is equal to the number of relative positional relationships belonging to the first relationship type, a relative positional relationship between the geographic position of the target object and the geographic position of the first road according to auxiliary information, where the auxiliary information includes at least one of: streetscape image and field acquisition information
Optionally, the apparatus may further include the following modules:
and the updating module is used for updating the display position of the target object in at least partial map according to the relative position relation between the geographic position of the target object and the geographic position of the first road, wherein the at least partial map is a map in the plurality of maps.
It should be noted that the device embodiments are similar to the method embodiments, so that the description is simple, and reference may be made to the method embodiments for relevant points.
Embodiments of the present application further provide an electronic device, which may be configured to execute the video stream processing method and may include a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor is configured to execute the position determination method.
Embodiments of the present application also provide a non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor, enable the processor to perform operations performed to implement the position determination method described above.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one of skill in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The above detailed description is provided for a method, an apparatus, a device and a storage medium for determining a position provided by the present application, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understanding the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A method of position determination, the method comprising:
determining the relative position relation between the geographic position of the target object and the geographic position of a first road according to the first display position of the target object in the first map;
determining a second road corresponding to the first road displayed in a second map;
and determining the display position of the geographic position meeting the relative position relation with the second road in the second map as a second display position of the target object in the second map.
2. The method of claim 1, wherein determining the relative position relationship between the geographic position of the target object and the geographic position of the first road according to the first displayed position of the target object in the first map comprises:
determining a road, of the roads displayed by the first map, with a distance from the geographical position of the target object smaller than a preset distance as the first road;
projecting a first display position of a target object in a first map to a display position of a first road in the first map to obtain a first projection position;
and determining the relative position relation according to the first display position, the first projection position and the driving direction of the first road.
3. The method according to claim 1, wherein determining a display position in the second map of a geographic position satisfying the relative positional relationship with the second road as a second display position in the second map of the target object comprises:
determining a geographical area satisfying the relative position relation with the second road, and displaying the geographical area in the second map;
determining a display position in the display area, which is offset from a display position of the second road in the second map by a preset distance according to a coverage area of a building displayed in the second map, as the second display position.
4. The method of any of claims 1-3, wherein determining a second road displayed in a second map corresponding to the first road comprises:
determining a road, of the roads displayed by the second map, whose distance from the geographical location of the target object is smaller than a preset distance and which meets a preset condition, as the second road, where the preset condition includes at least one of: the driving direction of the road is the same as that of the first road, the road is provided with a stop sign, and the type of the road is a non-closed type.
5. The method of any one of claims 1-3, further comprising, prior to determining a relative positional relationship of the geographic location of the target object to the geographic location of the first road based on the first displayed location of the target object in the first map:
detecting whether the first map has a trusted identity;
determining a relative positional relationship of the geographic location of the target object to the geographic location of the first road, comprising:
determining the relative position relation according to the first display position under the condition that the first map has the credible identification;
the method further comprises the following steps:
under the condition that the first map does not have the credible identification, determining a plurality of relative position relations between the geographic position of the target object and the geographic position of the first road according to the display positions of the target object in a plurality of maps;
and determining the relative position relation between the geographic position of the target object and the geographic position of the first road according to the relative position relations.
6. The method of claim 5, wherein determining the relative positional relationship of the geographic location of the target object to the geographic location of the first road from the plurality of relative positional relationships comprises:
determining a relationship type to which the plurality of relative positional relationships respectively belong, the relationship type including: the first relation type is used for representing that the target object is positioned on one side of a road in a first driving direction, the second relation type is used for representing that the target object is positioned on one side of the road in a second driving direction, and the third relation type is used for representing that the target object is positioned in the middle of the road, wherein the first driving direction is opposite to the second driving direction;
determining the relative position relationship between the geographic position of the target object and the geographic position of the first road according to the larger of the number of the relative position relationships belonging to the first relationship type and the number of the relative position relationships belonging to the first relationship type;
determining a relative positional relationship of the geographic position of the target object and the geographic position of the first road according to auxiliary information in a case where the number of relative positional relationships belonging to the first relationship type and the number of relative positional relationships belonging to the first relationship type are equal, the auxiliary information including at least one of: street view images and field collected information.
7. The method according to claim 5 or 6, characterized in that after determining the relative positional relationship of the geographical position of the target object to the geographical position of the first road from the plurality of relative positional relationships, the method further comprises:
and updating the display position of the target object in at least partial map according to the relative position relation between the geographic position of the target object and the geographic position of the first road, wherein the at least partial map is one of the maps.
8. A position determining apparatus, comprising:
the first determining module is used for determining the relative position relation between the geographic position of the target object and the geographic position of the first road according to the first display position of the target object in the first map;
a second determination module for determining a second road corresponding to the first road displayed in a second map;
and a third determining module, configured to determine, as the second display position of the target object in the second map, a display position of the geographic position in the second map, where the geographic position satisfies the relative position relationship with the second road.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor when executing implementing a position determination method according to any of claims 1-7.
10. A computer-readable storage medium storing a computer program for causing a processor to execute the position determination method according to any one of claims 1 to 7.
CN202010901692.2A 2020-08-31 2020-08-31 Position determination method, device, equipment and storage medium Withdrawn CN112115219A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010901692.2A CN112115219A (en) 2020-08-31 2020-08-31 Position determination method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010901692.2A CN112115219A (en) 2020-08-31 2020-08-31 Position determination method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112115219A true CN112115219A (en) 2020-12-22

Family

ID=73804712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010901692.2A Withdrawn CN112115219A (en) 2020-08-31 2020-08-31 Position determination method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112115219A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112948517A (en) * 2021-02-26 2021-06-11 北京百度网讯科技有限公司 Area position calibration method and device and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5848374A (en) * 1995-03-06 1998-12-08 Nippon Telegraph And Telephone Corporation Map information processing method and apparatus for correlating road location on a road network map
US20110172906A1 (en) * 2010-01-14 2011-07-14 Qualcomm Incorporated Scalable Routing For Mobile Station Navigation With Location Context Identifier
CN103884345A (en) * 2012-12-20 2014-06-25 中国移动通信集团辽宁有限公司 Interest point information collecting method, interest point information displaying method, interest point information collecting device, interest point information displaying device, and interest point retrieval system
US20150142517A1 (en) * 2010-04-02 2015-05-21 Vivint, Inc. D/B/A Apx Alarm Security Solutions, Inc. Door to door sales management tool
CN107885800A (en) * 2017-10-31 2018-04-06 平安科技(深圳)有限公司 Target location modification method, device, computer equipment and storage medium in map
JP2018136663A (en) * 2017-02-21 2018-08-30 株式会社パスコ Map database creation device and map database creation method and map database creation program
CN110146101A (en) * 2019-05-06 2019-08-20 北京三快在线科技有限公司 A kind of location matching method and device
CN110457407A (en) * 2018-05-02 2019-11-15 北京京东尚科信息技术有限公司 Method and apparatus for handling point cloud data
CN111207759A (en) * 2018-11-22 2020-05-29 腾讯科技(深圳)有限公司 Method and device for displaying vehicle position
CN111311902A (en) * 2018-12-12 2020-06-19 阿里巴巴集团控股有限公司 Data processing method, device, equipment and machine readable medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5848374A (en) * 1995-03-06 1998-12-08 Nippon Telegraph And Telephone Corporation Map information processing method and apparatus for correlating road location on a road network map
US20110172906A1 (en) * 2010-01-14 2011-07-14 Qualcomm Incorporated Scalable Routing For Mobile Station Navigation With Location Context Identifier
US20150142517A1 (en) * 2010-04-02 2015-05-21 Vivint, Inc. D/B/A Apx Alarm Security Solutions, Inc. Door to door sales management tool
CN103884345A (en) * 2012-12-20 2014-06-25 中国移动通信集团辽宁有限公司 Interest point information collecting method, interest point information displaying method, interest point information collecting device, interest point information displaying device, and interest point retrieval system
JP2018136663A (en) * 2017-02-21 2018-08-30 株式会社パスコ Map database creation device and map database creation method and map database creation program
CN107885800A (en) * 2017-10-31 2018-04-06 平安科技(深圳)有限公司 Target location modification method, device, computer equipment and storage medium in map
CN110457407A (en) * 2018-05-02 2019-11-15 北京京东尚科信息技术有限公司 Method and apparatus for handling point cloud data
CN111207759A (en) * 2018-11-22 2020-05-29 腾讯科技(深圳)有限公司 Method and device for displaying vehicle position
CN111311902A (en) * 2018-12-12 2020-06-19 阿里巴巴集团控股有限公司 Data processing method, device, equipment and machine readable medium
CN110146101A (en) * 2019-05-06 2019-08-20 北京三快在线科技有限公司 A kind of location matching method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
潘昊;胡飞;杨立国;: "GPS车载导航系统的地图匹配算法研究", 中国水运(学术版), no. 11, 1 November 2007 (2007-11-01) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112948517A (en) * 2021-02-26 2021-06-11 北京百度网讯科技有限公司 Area position calibration method and device and electronic equipment
CN112948517B (en) * 2021-02-26 2023-06-23 北京百度网讯科技有限公司 Regional position calibration method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US10006774B2 (en) Method of resolving a point location from encoded data representative thereof
EP2975555B1 (en) Method and apparatus for displaying a point of interest
US7383125B2 (en) Navigation method and system for accurately estimating positions of street address numbers
JP5736526B2 (en) Location search method and apparatus based on electronic map
US8359157B2 (en) Computing navigation device with enhanced route directions view
KR20200070071A (en) Method for location updating, method for displaying location and route guidance, vehicle and system
CN110058279B (en) Method, device, equipment and storage medium for determining traveled path
JP2008309529A (en) Navigation system, navigation method and program for navigation
JP2010541016A (en) How to capture linear features along a reference line across a surface for use in a map database
JP2007108043A (en) Location positioning device, location positioning method
US9646213B2 (en) Survey apparatus, computer-readable storage medium and survey method
EP2597424A2 (en) Road data creating device, method, and program
US11002553B2 (en) Method and device for executing at least one measure for increasing the safety of a vehicle
US20160169662A1 (en) Location-based facility management system using mobile device
CN110763250A (en) Method, device and system for processing positioning information
WO2019031582A1 (en) Image collection system, image collection method, image collection device, recording medium, and vehicular communication device
US20200134853A1 (en) Method, apparatus, and system for providing a distance marker in an image
JP2013061270A (en) Present position calculation device and present position calculation method
CN102288180B (en) Real-time image navigation system and method
CN112115219A (en) Position determination method, device, equipment and storage medium
US20220197893A1 (en) Aerial vehicle and edge device collaboration for visual positioning image database management and updating
JP2008070557A (en) Landmark display method, navigation device, on-vehicle equipment, and navigation system
US10883839B2 (en) Method and system for geo-spatial matching of sensor data to stationary objects
CN109520495B (en) Navigation positioning device and navigation positioning method using same
EP4009084A1 (en) Aligning in-vehicle mobile device and vehicle bodies for improved global positioning

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20201222