CN110795642B - Position name generating method and position name display method - Google Patents

Position name generating method and position name display method Download PDF

Info

Publication number
CN110795642B
CN110795642B CN201910924372.6A CN201910924372A CN110795642B CN 110795642 B CN110795642 B CN 110795642B CN 201910924372 A CN201910924372 A CN 201910924372A CN 110795642 B CN110795642 B CN 110795642B
Authority
CN
China
Prior art keywords
interest point
interest
target
position coordinate
point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910924372.6A
Other languages
Chinese (zh)
Other versions
CN110795642A (en
Inventor
刘天笔
王健
焦尚伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910924372.6A priority Critical patent/CN110795642B/en
Publication of CN110795642A publication Critical patent/CN110795642A/en
Application granted granted Critical
Publication of CN110795642B publication Critical patent/CN110795642B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Navigation (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application relates to a position name generation method, a position name generation device, a computer readable storage medium and computer equipment, wherein the method comprises the following steps: acquiring a target position coordinate; determining a main interest point in the area range of the target position coordinate; screening named reference interest points associated with the target position coordinates from the main interest points; acquiring direction information and interest point names of named reference interest points; and generating the position name of the target position coordinate according to the direction information and the interest point name. The scheme provided by the application can improve the efficiency and the accuracy of naming the position name of the target position coordinate and improve the identification degree effect of the position name.

Description

Position name generating method and position name display method
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a location name generation method, an apparatus, a computer-readable storage medium, and a computer device, and a location name display method, an apparatus, a computer-readable storage medium, and a computer device.
Background
With the development of internet technology, more and more applications realize recommending position coordinates to users by displaying specific position coordinates, for example, in a network car booking scene, when a user opens a client of a network car booking application program such as a drip travel, a mei Tuo taxi taking, a God map and the like, the network car booking application program often displays recommended boarding points around a current positioning point, and the user can use the recommended boarding points to perform a network car booking order placing operation.
However, the location names of the location coordinates in the conventional method are often obtained by manual naming, which is inefficient and less accurate.
Disclosure of Invention
In view of the above, it is necessary to provide a location name generating method, a device, a computer readable storage medium and a computer device, and a location name displaying method, a device, a computer readable storage medium and a computer device, for solving the technical problem that the accuracy of the location name of the newly added location coordinate is low.
A location name generation method includes:
acquiring a target position coordinate;
determining a main interest point in the area range of the target position coordinate;
screening named reference interest points associated with the target position coordinates from the main interest points;
acquiring direction information and interest point names of the named reference interest points;
and generating the position name of the target position coordinate according to the direction information and the interest point name.
A method of location name display, the method comprising:
displaying an electronic map interface in the area range of the current positioning position coordinate;
acquiring a target position coordinate in the area range and a position name of the target position coordinate; the target position coordinate is from a boarding position coordinate in historical order information, and the position name of the target position coordinate is generated according to direction information of a named reference interest point associated with the target position coordinate and the name of the interest point;
and marking the target position coordinate as a recommended boarding point on the electronic map interface, and displaying the position name of the target position coordinate.
A location name generation apparatus, the apparatus comprising:
the position coordinate acquisition module is used for acquiring the coordinates of the target position;
the interest point acquisition module is used for determining a main interest point in the area range of the target position coordinate;
a named reference interest point determining module, configured to filter named reference interest points associated with the target location coordinate from the primary interest points;
the interest point information acquisition module is used for acquiring the direction information and the interest point name of the named reference interest point;
and the position name generating module is used for generating the position name of the target position coordinate according to the direction information and the interest point name.
A location name display apparatus, the apparatus comprising:
the electronic map display module is used for displaying an electronic map interface in the area range where the current positioning position coordinate is located;
the target position coordinate acquisition module is used for acquiring a target position coordinate in the area range and a position name of the target position coordinate; the target position coordinate is from a boarding position coordinate in historical order information, and the position name of the target position coordinate is generated according to direction information of a named reference interest point associated with the target position coordinate and the name of the interest point;
and the recommended boarding point display module is used for identifying the target position coordinate as a recommended boarding point on the electronic map interface and displaying the position name of the target position coordinate.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the program:
acquiring a target position coordinate;
determining a main interest point in the area range of the target position coordinate;
screening named reference interest points associated with the target position coordinates from the main interest points;
acquiring direction information and interest point names of the named reference interest points;
and generating the position name of the target position coordinate according to the direction information and the interest point name.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps when executing the program of:
displaying an electronic map interface in the area range of the current positioning position coordinate;
acquiring a target position coordinate in the area range and a position name of the target position coordinate; the target position coordinate is from a boarding position coordinate in historical order information, and the position name of the target position coordinate is generated according to direction information of a named reference interest point associated with the target position coordinate and the name of the interest point;
and identifying the target position coordinate as a recommended boarding point on the electronic map interface, and displaying the position name of the target position coordinate.
A computer-readable storage medium having stored thereon a computer program which, when executed by a processor, causes the processor to perform the steps of:
acquiring a target position coordinate;
determining a main interest point in the area range of the target position coordinate;
screening named reference interest points associated with the target position coordinates from the main interest points;
acquiring direction information and interest point names of the named reference interest points;
and generating the position name of the target position coordinate according to the direction information and the interest point name.
A computer-readable storage medium having stored thereon a computer program which, when executed by a processor, causes the processor to perform the steps of:
displaying an electronic map interface in the area range of the current positioning position coordinate;
acquiring a target position coordinate in the area range and a position name of the target position coordinate; the target position coordinate is from a boarding position coordinate in historical order information, and the position name of the target position coordinate is generated according to direction information of a named reference interest point associated with the target position coordinate and the name of the interest point;
and identifying the target position coordinate as a recommended boarding point on the electronic map interface, and displaying the position name of the target position coordinate.
According to the position name generating method, the position name generating device, the computer readable storage medium and the computer equipment, the main interest point in the area range of the target position coordinate is obtained, the named reference interest point related to the target position coordinate is screened from the main interest point, and the position name of the target position coordinate is generated according to the direction information of the named reference interest point and the interest point name, so that the position name naming efficiency and accuracy of the target position coordinate are effectively improved, and the position name standardization is improved.
Drawings
FIG. 1 is a diagram of an application environment of a location name generation method in one embodiment;
FIG. 2 is a flowchart illustrating a location name generation method according to an embodiment;
FIG. 3 is a schematic flow chart diagram illustrating the steps of filtering a named reference point of interest associated with a target location coordinate from the primary points of interest in one embodiment;
FIG. 4 is a flowchart illustrating the step of filtering the named reference POI associated with the target location coordinate from the primary POI according to the POI type and the distance value in one embodiment;
FIG. 5 is a flowchart illustrating the step of filtering the named reference POI associated with the target location coordinate from the primary POI in accordance with another embodiment;
FIG. 6 is a schematic flow chart diagram illustrating the step of filtering the named reference POI associated with the target location coordinate from the sub POIs in one embodiment;
FIG. 7 is a flowchart illustrating the step of filtering the named reference POI associated with the target location coordinate from the primary POI in accordance with yet another embodiment;
FIG. 8 is a schematic flow chart illustrating the steps of filtering the named reference POI associated with the target location coordinate from the primary POI in accordance with yet another embodiment;
FIG. 9 is a flowchart illustrating the location name step of generating target location coordinates based on the direction information and the interest point name in one embodiment;
FIG. 10 is a flowchart illustrating the location name step of generating target location coordinates based on the direction information and the point of interest name in yet another embodiment;
FIG. 11 is a flowchart illustrating the location name step of generating target location coordinates based on the direction information and the interest point name in yet another embodiment;
FIG. 12 is a flowchart illustrating a location name generation method in accordance with yet another embodiment;
FIG. 13a is a diagram illustrating an exemplary environment in which a location name display method may be implemented;
FIG. 13b is a flowchart illustrating a location name display method according to an embodiment;
FIG. 14 is an interface diagram of an electronic map interface in one embodiment;
FIG. 15 is a schematic flow chart diagram illustrating the steps of order information generation in one implementation;
FIG. 16 is a block diagram showing the construction of a location name generating apparatus according to an embodiment;
FIG. 17 is a block diagram showing the construction of a location name display device according to an embodiment;
fig. 18 is a block diagram showing the construction of a location name display apparatus in another embodiment;
FIG. 19 is a block diagram showing the structure of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Fig. 1 is an application environment diagram of a location name generation method in one embodiment. Referring to fig. 1, the location name generating method is applied to a computer device. The computer device may be a terminal or a server. As shown in fig. 1, taking the computer device as the server 102 as an example, the server 102 obtains the target location coordinates, filters the named reference interest points associated with the target location coordinates from the main interest points by determining the main interest points in the area range where the target location coordinates are located, generates the location names of the target location coordinates according to the direction information and the interest point names after obtaining the direction information and the interest point names of the named reference interest points, and the server 102 may store the obtained target location coordinates and the location names thereof in the database.
The location name generation method can be applied to an application scene of network appointment vehicles, and is used for generating the location name of a recommended boarding point, and can also be applied to an application scene of express delivery/takeout distribution, and is used for generating the location name of an actual delivery location point. It should be understood that the above application scenarios are merely examples, including but not limited to the above application scenarios. Specifically, the position name generation method is applied to a network car booking application, after a network car booking order is ended, the server 102 obtains actual car-getting-on position coordinates of passengers obtained from the network car booking order as target position coordinates, and after a named reference interest point is screened from the main interest points by obtaining the main interest points in the area range where the car-getting-on position coordinates are located, the position names of the car-getting-on position coordinates are generated according to the direction information of the named reference interest points and the interest point names, then the car-getting-on position coordinates are determined as recommended car-getting-on points, the position names of the car-getting-on position coordinates are determined as the position names of the recommended car-getting-on points, and when a network car booking application program is opened by a user, the network car booking application program obtains the recommended car-getting-on points and the position names of the recommended car-getting-on points from the server 102 and displays the position names on an electronic map interface.
As shown in FIG. 2, in one embodiment, a location name generation method is provided. The embodiment is mainly illustrated by applying the method to the server 120 in fig. 1. Referring to fig. 2, the location name generating method specifically includes the following steps:
s202, acquiring the coordinates of the target position.
The target position coordinate is the position coordinate of a certain coordinate point in the electronic map. Specifically, the server may obtain the target position coordinates from the service information data. For example, in the network car booking class software, the network car booking order information includes the getting-on position coordinate, and the server can acquire the getting-on position coordinate in the network car booking order and determine the getting-on position coordinate as the target position coordinate; for another example, in the takeout software, the delivery order information of the delivery person includes the actual delivery position coordinates, and the server may acquire the delivery position coordinates in the delivery order information and determine the delivery position coordinates as the target position coordinates.
In one embodiment, the target location coordinates may be pick-up location coordinates in a network appointment order. In a specific practical application scenario, the generation process of the network taxi appointment order is as follows: when a passenger places an order through mobile phone terminal software, the software generates an order placing position coordinate in an order of the online taxi appointment according to the current position reported by the mobile phone terminal of the passenger; when a driver receives a passenger, the software generates a boarding position coordinate in the network car booking order according to the current position reported by the driver mobile phone terminal; in practical application scenarios, the coordinates of the lower single position and the coordinates of the upper vehicle position are often inconsistent. Therefore, after the network appointment ordering is finished, the server acquires the boarding position coordinates in the network appointment order, determines the boarding position coordinates as target position coordinates, generates the position name of the target position coordinates, then takes the target position coordinates as a recommended boarding point, and takes the position name of the target position coordinates as the position name of the recommended boarding point, thereby acquiring the recommended boarding point and the position name thereof.
And S204, determining a main interest point in the area range of the target position coordinate.
The main Point of Interest refers to a Point of Interest (POI) in the electronic map, the POI refers to a Point in the electronic map, and is used to represent a geographic object of the Point, for example, a house, a bank, a school, a bus station, and the like in the electronic map, and the POI includes a plurality of POI information, for example, a POI name, a POI type, direction information, and the like.
The area range where the target position coordinate is located refers to a range which is a certain distance away from the target position coordinate, and can be a circular area or a rectangular area; after the server obtains the target position coordinates, the server determines the area range where the target position coordinates are located, and obtains all the main interest points in the area range. Specifically, after determining the target position coordinate, the server may determine, with the target position coordinate as a circle center and a preset distance as a radius, a circular area within a preset distance from the target position coordinate as an area range where the target position coordinate is located, and acquire all main points of interest within the circular area.
In one embodiment, the server may further obtain the main interest point within the area range of the target position coordinate by calling a position description service of the open-source position service platform. Specifically, the server can call a position description service, the target position coordinates are sent to the position service platform through a call interface, and the position service platform returns the main interest points and the related information thereof, the distance between the main interest points and the target position coordinates of which is smaller than a certain distance value, to the server according to the target position coordinates.
S206, screening the named reference interest points associated with the target position coordinates from the main interest points.
The named reference interest point refers to an interest point of an interest point name referred to when generating a position name of the target position coordinate. The number of the main interest points is often multiple, and the server acquires the main interest points meeting the screening condition from the multiple interest points as named reference interest points associated with the target position coordinates. For example, the area range where the target position coordinate is located includes three main interest points, namely a main interest point a, a main interest point B, a main interest point C, and the like, the server may respectively obtain the interest point information of the main interest point a, the main interest point B, and the main interest point C, and determine the main interest point whose interest point information satisfies the screening condition, and assuming that the interest point information of the main interest point a satisfies the screening condition, the main interest point a is determined as the named reference interest point.
The filtering condition may be set according to a specific application scenario, for example, in a network appointment application scenario, the filtering condition may be that a distance between the main interest point and the target position coordinate is smaller than a preset distance threshold, or may be that the interest point type of the main interest point matches a preset type of the recommended boarding point. Specifically, the server may screen out a named reference interest point from the plurality of main interest points according to the distance between the main interest point and the target position coordinate and the interest point type of the main interest point.
S208, obtaining the direction information and the interest point name of the named reference interest point.
After determining the named reference interest points from the plurality of main interest points, the server acquires the direction information and the interest point names from the interest point information of the named reference interest points. Since the target position coordinate is usually a coordinate point different from the named reference interest point, and the target position coordinate is often located outside the interest point, in the process of generating the position name of the target position, the direction information in the named reference interest point information may be taken into consideration, and the direction information of the named reference interest point is included in the position name of the target position coordinate, so as to improve the accuracy and the rationality of the position name of the target position coordinate.
And S210, generating a position name of the target position coordinate according to the direction information and the interest point name.
After obtaining the direction information of the named reference interest point and the name of the interest point, the server generates the position name of the target position coordinate according to the obtained direction information and the name of the interest point.
Specifically, the server may first determine whether the direction information of the named reference interest is null, generate a target location name according to a distance value from the named reference interest point to the target location coordinate and the interest point name of the named reference interest point when the direction information is null, and generate a location name of the target location coordinate according to the specific direction attribute value of the aspect information and the interest point name of the named reference interest point when the direction information is not null.
According to the position name generating method, the main interest points in the area range of the target position coordinate are obtained, the named reference interest points related to the target position coordinate are screened from the main interest points, and the position name of the target position coordinate is generated according to the direction information of the named reference interest points and the interest point name, so that the accuracy and the rationality of position name naming of the target position coordinate are effectively improved, and the identification degree effect of the position name is improved.
In one embodiment, as shown in FIG. 3, the step of filtering the named reference point of interest associated with the target location coordinate from the primary points of interest includes:
s302, the interest point type of the main interest point and the distance value between the main interest point and the target position coordinate are obtained.
The type of the point of interest is used to identify the type of the geographic object corresponding to the primary point of interest, for example, the type of the point of interest of the primary point of interest "white cloud airport" is transportation facility, the type of the point of interest of the primary point of interest "qinghua university" is education school, and the like.
The distance value between the main interest point and the target position coordinate is obtained, specifically, the distance value may be a straight line distance value obtained by the server through calculation according to the main interest point and latitude and longitude information of the target position coordinate, or the distance information between the main interest point and the target position coordinate is returned by the position service platform when the server obtains the main interest point in the area range of the target position coordinate by calling the position description service of the open source position service platform.
S304, screening named reference interest points associated with the target position coordinates from the main interest points according to the interest point types and the distance values.
After obtaining the interest point type of the main interest point and the distance value between the main interest point and the target position coordinate, the server may screen out a main interest point, of which the interest point type meets the requirement and the distance value between the main interest point and the target position coordinate is the minimum, from the plurality of main interest points as a named reference interest point.
Further, in order to reduce the number of the main interest points and reduce the workload of subsequent screening of named reference interest points, after the step of obtaining the interest point type of the main interest point and the distance value between the main interest point and the target position coordinate, the server may filter the main interest point of which the distance value between the main interest point and the target position coordinate is greater than a linear distance threshold, then filter the main interest point of which the interest point type does not match the target interest point type, and finally screen out one named reference interest point associated with the target position coordinate from the remaining main interest points according to the interest point type and the distance value. The target interest point type refers to a preset interest point type suitable for interest points for naming the position of the target position coordinate, and the target interest point type can be set according to a specific application scene. The number of the main interest points is reduced and the workload of subsequently screening and naming the reference interest points is reduced by filtering the main interest points which are too far away from the target position coordinate or are of interest point types which are not suitable for naming the target position coordinate.
Further, when the number of the remaining primary interest points after filtering the primary interest points is zero according to the distance value between the primary interest points and the target position coordinates and the interest point type of the primary interest points, the server determines the primary interest point with the minimum distance from the target position coordinates from the primary interest points which are not filtered as the named reference interest point.
For example, in a car booking scene, the location name generating method of this embodiment is applied to generate a location name of a recommended boarding point, after a server acquires a main interest point in an area range where the recommended boarding point (i.e., a target location coordinate) is located, based on a distance from the main interest point to the recommended boarding point and a type of the main interest point, the server filters the main interest point whose distance from the recommended boarding point is greater than a linear distance threshold (e.g., 100 meters) or the main interest point whose type of the interest point is not suitable for location naming the recommended boarding point (e.g., the type of the interest point is a main interest point such as an elevator, a staircase, or an automated teller machine), when the number of the remaining main interest points after filtering the main interest point is zero, all the main interest points are all filtered by the server, it is stated that there is no suitable main interest point near the current recommended boarding point for naming the location of the recommended boarding point, and at this time, the server selects the main interest point which is the smallest in distance from the original, unfiltered main interest point, to the recommended boarding point, and filters the reference point. And when the number of the remaining main interest points after filtering the main interest points is not zero, the main interest points still remain, and the server screens out a named reference interest point associated with the recommended boarding point according to the type of the interest points of the main interest points and the distance value between the server and the recommended boarding point.
In one embodiment, as shown in fig. 4, the step of filtering the named reference interest point associated with the target location coordinate from the main interest point according to the interest point type and the distance value includes:
s402, searching a primary pre-selected main interest point of which the interest point type is a first target interest point type and the distance value between the type of the interest point and the target position coordinate is smaller than a first linear distance threshold value in the main interest points.
The first target interest point type refers to an interest point type of an interest point suitable for position naming of a target position coordinate, and it should be understood that the first target interest point type and the second target interest point type both refer to interest point types suitable for position naming of a target position coordinate, and different interest point types are set according to different conditions.
Specifically, a first target interest point type and a first linear distance threshold are preset, and after the server obtains the interest point type of the main interest point and the distance value between the interest point type of the main interest point and the target position coordinate, the server directly compares the interest point type of the main interest point with the first target interest point type and compares the distance value between the interest point type of the main interest point and the target position coordinate with the first linear distance threshold to screen out a primary pre-selected main interest point. It should be appreciated that the number of primary preselected primary points of interest may be multiple, with the geographic objects identified being of a smaller granularity, with a high accuracy in describing the geographic location, and may be used to name the location of the target location coordinates.
And S404, when the primary pre-selected main interest point exists in the main interest points, determining the primary pre-selected main interest point with the minimum distance value with the target position coordinate as the named reference interest point.
The server screens primary preselected main interest points of which the interest point types are first target interest point types and the coordinates of which and the target position are smaller than a first linear distance threshold value from the main interest points, and when the primary preselected main interest points exist in the main interest points, the main interest point which is closest to the target position coordinate in the primary preselected main interest points is determined as a named reference interest point.
For example, in a network appointment scene, the location name generating method of the present embodiment is applied to generate location names of recommended boarding points, since most of the boarding points are located at the positions of doors or gates, the description accuracy of the geographical location of the main interest point of this interest point type is high, at this time, the first target interest point type may be set as a door/gate type, the first linear distance may be set as 40 meters, the server may determine whether any interest point type in the main interest points is the door/gate type, and meanwhile, the primary preselected main interest point whose distance value from the recommended boarding point is less than 40 meters, and if there are primary preselected main interest points satisfying these two conditions in the main interest points, the primary preselected main interest point closest to the recommended boarding point is selected from the primary preselected main interest points as the named reference interest point.
In one embodiment, as shown in fig. 5, the step of filtering the named reference interest point associated with the target location coordinate from the primary interest points comprises:
s502, searching a primary pre-selected main interest point of which the interest point type is a first target interest point type and the distance value between the interest point type and the target position coordinate is smaller than a first linear distance threshold value in the main interest points.
S504, when the primary pre-selected main interest points do not exist in the main interest points, the target main interest points with the priority rank within the preset number are obtained from the main interest points.
The priority of the main interest point may be an order of sorting according to the user click rate of the main interest point, an order of sorting according to the distance value of the target position coordinate, or an order of sorting the main interest point according to the type of the interest point. Specifically, the priority of each primary interest point may be returned by the location service platform when the server acquires the primary interest point within the area range of the target location coordinate by invoking the location description service of the open-source location service platform.
The server selects a primary pre-selected main interest point from the main interest points, wherein the type of the interest point is a first target interest point type, and the coordinate of the interest point and the target position is smaller than a first linear distance threshold value.
S506, acquiring the sub interest points of the target main interest point according to the keywords of the target main interest point.
The main interest point generally identifies a geographic object with a large coverage, the sub-interest points identify a certain geographic object in the geographic objects corresponding to the main interest point, the geographic object identified by the sub-interest points has a smaller granularity relative to the geographic object identified by the main interest point, and the description accuracy of the interest point names of the sub-interest points on the geographic positions is higher.
After acquiring a target main interest point, the server can input prompt service by calling keywords of an open-source position service platform so as to acquire a sub interest point of the main interest point; specifically, the server calls a location description service, sends the interest point name of the main interest point to a location service platform, and the location service platform returns the sub-interest point corresponding to the main interest point and the related information thereof to the server according to the interest point name of the main interest point.
S508, screening the named reference interest points which are associated with the target position coordinates from the sub interest points.
The server acquires the sub interest points meeting the screening condition from the plurality of sub interest points as named reference interest points associated with the target position coordinates.
The filtering condition may be set according to a specific application scenario, for example, in a network appointment application scenario, the filtering condition may be that a distance between the sub-interest point and the target position coordinate is smaller than a preset distance threshold, or that the interest point type of the sub-interest point matches a preset type of the recommended boarding point. Specifically, the server may screen out the named reference interest point from the plurality of sub interest points according to the distance between the sub interest point and the target position coordinate and the interest point type of the sub interest point.
For example, in a network appointment application scenario, the location name generation method of this embodiment is applied to generate names of recommended waypoints, and when there is no primary preselected main waypoint of which the waypoint type is the first target waypoint type and which is smaller than the first linear distance threshold from the recommended waypoint, it may be considered that the coverage area of the geographic object described by the current main waypoint is large, and the waypoint name of the main waypoint cannot accurately describe the geographic location where the recommended waypoint is located, for example, the geographic object described by the main waypoints of which the waypoints are called "qinghua university" or "a square" is large, and naming the recommended waypoint by using "qinghua university" or "a square" may result in low accuracy of the location name, and directly affect the driving receiving efficiency of the driver. Therefore, the server can obtain the target main interest points with the priority (such as click rate) ranked in the first three, call the keyword input prompting service respectively, obtain the sub interest points of the target main interest points, and thus obtain the sub interest points meeting the screening condition from the plurality of sub interest points as the named reference interest points associated with the boarding recommendation points.
In one embodiment, as shown in fig. 6, the step of filtering the named reference interest point associated with the target location coordinate from the sub-interest points includes:
s602, searching for a preselected sub interest point of which the distance value from the target position coordinate is smaller than a second straight-line distance threshold value in the sub interest points.
Specifically, the second linear distance threshold is preset, and the server directly compares the distance value between the sub interest point and the target position coordinate with the second linear distance threshold after acquiring the distance value between the sub interest point and the target position coordinate, so as to screen out the pre-selected sub interest point. It should be understood that the number of the preselected sub-points of interest may be plural, and the identified geographic objects have smaller granularity and higher description precision of the geographic location than the main point of interest, and may be used for naming the location of the target location coordinates.
And S604, when the preselected sub interest point exists in the sub interest points, determining the preselected sub interest point with the minimum distance value with the target position coordinate as the named reference interest point.
And when the preselected sub interest points exist in the sub interest points, the sub interest point which is closest to the target position coordinate in the preselected sub interest points is determined as the named reference interest point.
Taking the name of the recommended boarding point generated in the network car appointment scene as an example, the second straight-line distance threshold value may be set to 100 meters, when no interest point type in the main interest points is a door/entrance type, and meanwhile, a primary preselected main interest point with a distance value from the recommended boarding point being less than 40 meters is obtained, sub-interest points corresponding to the target main interest points with the top three priority orders in the main interest points are obtained, so that preselected sub-interest points with a distance value from the recommended boarding point being less than 100 meters are screened from the sub-interest points, and when a preselected sub-interest point meeting the screening requirement exists in the sub-interest points, a preselected sub-interest point with the closest distance from the recommended boarding point is selected from the preselected sub-interest points as a named reference interest point.
In one embodiment, as shown in fig. 7, after the step of finding a preselected sub-interest point having a distance value from the target position coordinate smaller than the second straight-line distance threshold from among the sub-interest points, the method further includes:
s702, when the preselected sub interest points do not exist in the sub interest points, searching secondary preselected main interest points of which the interest point type is a second target interest point type and the distance value between the interest point type and the target position coordinate is smaller than a third straight-line distance threshold value in the main interest points;
the second target interest point type and the third linear distance threshold are preset, when the server judges that the primary pre-selection main interest point does not exist in the main interest points and the pre-selection sub interest points do not exist in the sub interest points, the server directly compares the interest point type of the main interest points with the second target interest point type and compares the distance value between the interest point type of the main interest points and the target position coordinate with the third linear distance threshold to screen out the secondary pre-selection main interest points, and it should be understood that the type of the second target interest point type can include the first target interest point type, and the third linear distance threshold is larger than the first linear distance threshold to expand the screening range of the main interest points.
And S704, determining the secondary pre-selected main interest point with the minimum distance value as a named reference interest point according to the distance value between each secondary pre-selected main interest point and the target position coordinate.
And when the secondary preselected main interest points exist in the main interest points, determining the main interest point which is closest to the target position coordinate in the secondary preselected main interest points as a named reference interest point.
Further, when the secondary pre-selected primary interest points do not exist in the primary interest points, the primary interest points with the same interest point type can be screened, and the primary interest point with the smallest distance from the target position coordinate is determined as the named reference interest point.
Taking the name of the recommended boarding point generated in the network car booking scene as an example, the second target interest point type can be set as an interest point type which is convenient to find at an intersection, a bus station and the like, and the third straight-line distance threshold can be set as 60 meters so as to increase the screening condition of the main interest point; when no interest point type in the main interest points is a door/entrance type, and the distance value between the main interest point and the recommended boarding point is less than 40 meters, and no pre-selected sub interest point with the distance value between the sub interest point and the recommended boarding point is less than 100 meters is present in the sub interest points, the server can judge whether the interest point type in the main interest points is an interest point type such as an intersection/bus station, and the like, and a secondary pre-selected main interest point with the distance value between the sub interest points and the recommended boarding point is less than 60 meters, and if the secondary pre-selected main interest point meeting the two conditions is present in the main interest points, the secondary pre-selected main interest point closest to the recommended boarding point is selected from the secondary pre-selected main interest points to serve as a named reference interest point. Further, if the primary interest point does not have a secondary pre-selected primary interest point meeting the screening condition, it is determined whether there is a primary interest point identifying a large geographic object in the primary interest point, for example, the type of the interest point is a primary interest point with a large geographic object coverage area such as an airport, an industrial park, a cell, etc., since there are generally a plurality of interest points of this type at the same time (for example, each building in the cell is an independent primary interest point, and the types of the interest points are all cell types at the same time), the primary interest points of the same type of the interest points are re-ranked in ascending order according to the distance value with the recommended vehicle-loading point, so that the primary interest point closest to the recommended vehicle-loading point is used as the named reference interest point.
In one embodiment, as shown in fig. 8, the step of filtering the named reference interest points associated with the target location coordinates from the main interest points includes:
s802, the interest point type of the main interest point and the distance value between the main interest point and the target position coordinate are obtained.
S804, judging whether a primary pre-selected main interest point exists in the main interest points, wherein the interest point type is a first target interest point type, and the distance value between the primary pre-selected main interest point and the target position coordinate is smaller than a first linear distance threshold; if yes, go to step S806, otherwise go to step S808.
And S806, determining the primary pre-selected main interest point with the minimum distance value with the target position coordinate as a named reference interest point.
S808, acquiring target main interest points with the priority rank within a preset number from the main interest points.
S810, acquiring the sub interest points of the target main interest point according to the keywords of the target main interest point.
S812, judging whether a preselected sub interest point with the distance value from the target position coordinate smaller than a second straight-line distance threshold exists in the sub interest points; if yes, go to step S814, otherwise go to step S816.
And S814, determining the preselected sub interest point with the minimum distance value with the target position coordinate as the named reference interest point.
And S816, searching a secondary pre-selected main interest point of which the interest point type is the second target interest point type and the distance value between the target position coordinate and the secondary pre-selected main interest point is less than a third straight-line distance threshold value in the main interest points.
And S818, determining the secondary pre-selected main interest point with the minimum distance value as a named reference interest point according to the distance value between each secondary pre-selected main interest point and the target position coordinate.
The server judges whether primary pre-selected primary interest points with the distance values smaller than a first linear distance threshold value and the interest point types of the primary interest points exist in the primary interest points or not based on the distance values of the distances from the primary interest points to the target position and the interest point types of the primary interest points, if so, the primary interest points closest to the target position coordinate distance are selected from the primary pre-selected primary interest points meeting the conditions, and the primary interest points are determined to be named reference interest points.
If no primary pre-selected main interest point meeting the condition exists, the range of the geographic object described by the current main interest point is considered to be large, the precision is low, and the interest point name of the main interest point cannot accurately describe the position of the target position coordinate, so that the server obtains a preset number of main interest points with the top priority as target main interest points and obtains sub interest points of each target main interest, the server judges whether a pre-selected sub interest point with the distance value smaller than a second straight-line distance threshold exists in the main interest points or not based on the distance value between each sub interest point and the target position and the interest point type of the sub interest points, if yes, the main interest point closest to the target position coordinate distance is selected from the pre-selected sub interest points meeting the condition, and the main interest point is determined to be a named reference interest point.
If the sub interest points do not have the preselected sub interest points meeting the condition, judging whether a secondary preselected main interest point with the distance value smaller than a third straight-line distance threshold value and the interest point type of the main interest point exists in the main interest points or not based on the distance value between each main interest point and the target position and the interest point type of the main interest point, if so, selecting the main interest point closest to the target position coordinate distance from the secondary preselected main interest points meeting the condition, and determining the main interest point as the named reference interest point. The method comprises the steps of carrying out analysis and screening on related information of interest points (including main interest points and sub interest points) under different conditions for multiple times, screening out the most suitable interest point name of the interest point as a target position coordinate, and carrying out position naming so as to improve the accuracy of the position name of the target position coordinate.
Since the target position coordinates are usually coordinate points different from the interest points and located outside the interest points, direction information in consideration of the interest point information may be added in generating the position name of the target position, and the direction information of the interest point may be included in the position name of the target position coordinates. In one embodiment, as shown in fig. 9, the step of generating the location name of the target location coordinate according to the direction information and the interest point name includes:
s902, when the direction information of the named reference interest point is a null value, setting an orientation postword according to the distance value between the named reference interest point and the target position coordinate;
the position postword is used for indicating the position of the target position coordinate at the reference interest point; the server acquires direction information of the named reference interest point after determining the named reference interest point, acquires a distance value between the named reference point and a target position coordinate when the direction information is a null value, and sets a position postposition word according to the distance value.
And S904, combining the interest point names and the position postwords of the named reference interest points to obtain the position names corresponding to the target position coordinates.
The position names comprise interest point names of the named reference interest points and position postwords, and the position postwords are used for identifying the relative positions of the target coordinate positions and the named reference interest points; specifically, the position suffix may be null, where the location name consists of the point of interest name of the named reference point of interest.
In this embodiment, after determining that the direction information of the named reference interest point is null, the server obtains a distance value between the named reference interest point and the target position coordinate, and sets a position postposition word according to the distance value between the named reference interest point and the target position coordinate, so that a position name of the target position coordinate is generated according to the position postposition word and the interest point name of the named reference interest point, and the accuracy of naming the target position coordinate is improved.
Further, in one embodiment, the step of setting the position postword according to the distance value between the named reference interest point and the target position coordinate includes: when the distance value between the named reference interest point and the target position coordinate is smaller than or equal to the coverage distance threshold value of the named reference interest point, setting the position postposition word as a null value; and when the distance value of the named reference interest point and the target position coordinate is greater than the coverage distance threshold value, setting the position postword as a non-directional relative position descriptor.
The coverage distance threshold is used for representing the coverage range of the geographic object corresponding to the named reference interest point, and the specific value can be set according to the actual application scene; specifically, when the distance value between the target location coordinate and the named reference interest point is small, the target location coordinate may be considered to be within the coverage of the geographic object corresponding to the named reference interest point.
The undirected relative position descriptor is used for indicating that the target position coordinate is in the vicinity of the named reference interest point, and specifically, the undirected relative position descriptor can be words with fuzzy directionality such as "vicinity" and "side" and indicating the relative position between the target position coordinate and the named reference interest point.
Specifically, after determining that the direction information of the named reference interest point is a null value, the server acquires a distance value between the named reference interest point and the target position coordinate, and when the distance value is smaller than a coverage distance threshold value, the target position coordinate can be considered to be in a coverage range of a geographic object corresponding to the named reference interest point, and at the moment, the server can determine the name of the interest point of the named reference interest point as the position name of the target position; when the distance value is greater than the coverage distance threshold, the target location coordinate may not be within the coverage range of the geographic object corresponding to the named reference interest point, and the server may determine "named reference interest point" + "nearby" as the location name corresponding to the target location coordinate.
In one embodiment, as shown in fig. 10, the step of generating the location name of the target location coordinate according to the direction information and the interest point name includes:
s1002, when the direction information of the named reference interest point is not a null value, a direction postword is set according to the direction attribute of the direction information.
The direction attribute refers to a specific attribute value of the direction information in the interest point information, such as "east", "south", "west", "north", "inner" and the like; the server acquires direction information of the named reference interest point after determining the named reference interest point, acquires direction attributes in the direction information when the direction information is a non-null value, and sets a position postword according to the direction attributes.
And S1004, combining the interest point names and the position postwords of the named reference interest points to obtain the position names corresponding to the target position coordinates.
In this embodiment, after determining that the direction information of the named reference interest point is not a null value, the server reads the direction attribute in the direction information, and sets different direction postpositions according to the different direction attributes, so as to generate a location name of the target location coordinate according to the direction postpositions and the interest point name of the named reference interest point, thereby improving the accuracy of naming the target location coordinate.
In one embodiment, the step S1002 of setting the direction postword according to the direction attribute of the direction information includes: when the direction attribute is a direction orientation word, generating a direction connecting word according to the direction orientation word, and setting a direction post word as the direction connecting word; when the direction attribute is an internal position descriptor, setting the position postposition word as a null value; and when the direction attribute is the peripheral position descriptor, setting the orientation postword as an undirected relative position descriptor.
Wherein directional words refer to words describing a directional orientation, such as "east", "south", "west", "north", etc.; an internal location descriptor is a term that describes the internal extent of a geographic object within another geographic object, such as: the internal location descriptor may be "inside"; peripheral location descriptors describe a geographic object as surrounding another geographic object, such as: the peripheral location descriptor may be a "side".
The direction connecting word refers to a suffix word according to the relative position of a certain geographic object and another geographic object, such as direction + side.
Specifically, after determining that the direction information of the named reference interest point is not a null value, the server reads the direction attribute in the direction information and sets different direction postpositions according to the different direction attributes, so that the position name of the target position coordinate is generated according to the direction postpositions and the interest point name of the named reference interest point, and the accuracy of naming the target position coordinate is improved.
For example, when the direction attribute is one of the orientation words "east", "south", "west", and "north", the server generates the direction connecting word "east", "south", "west", or "north" according to the orientation word, and the location name of the finally obtained target location coordinate is "interest point name + east/south/west/north"; when the direction attribute is the internal position descriptor 'internal', the position post-word is set to be a null value, and the finally obtained position name of the target position coordinate is named as 'interest point name'; when the direction attribute is the peripheral position descriptor "side", the position postword is set as the undirected relative position descriptor "nearby", and the finally obtained position name of the target position coordinate is "interest point name of named reference interest point + nearby".
In one embodiment, as shown in fig. 11, the step of generating the location name of the target location coordinate according to the direction information and the interest point name includes:
s1102, determine whether the direction information of the named reference interest point is null, if yes, execute step S1104, otherwise execute step S1106.
S1104, determining whether the distance between the named reference interest point and the target position coordinate is less than or equal to the coverage distance threshold of the named reference interest point, if yes, performing step S1114, otherwise, performing step S1116.
S1106 determines whether the direction attribute of the direction information is a heading direction word, if so, step S1112 is executed, and if not, step S1108 is executed.
S1108, determining whether the direction attribute of the direction information is an internal position descriptor, if so, performing step S1114, otherwise, performing step S1110.
S1110, determine whether the direction attribute of the direction information is a peripheral position descriptor, if yes, execute step S1116.
S1112, generating a direction connecting word according to the direction word, and setting the direction postword as the direction connecting word;
s1114, setting the position postword as a null value;
s1116, the position postcursor is set as a undirected relative position descriptor.
S1118, merging the interest point names of the named reference interest points and the position postwords to obtain the position names corresponding to the target position coordinates.
The present embodiment is a specific example of generating a location name of a target location coordinate according to direction information and a name of a point of interest; specifically, after determining the named reference interest point, the server judges whether the direction information of the named reference point is a null value, and when the direction information of the named reference interest point is the null value, the server sets a position postword according to the distance value between the named reference interest point and the target position coordinate; when the direction information of the named reference interest point is not a null value, setting an azimuth postposition word according to the direction attribute in the direction information of the named reference interest point; and finally, the server generates the position name of the target position coordinate according to the interest point name and the azimuth post word of the named reference interest point.
In one embodiment, as shown in FIG. 12, a location name generation method is provided. The embodiment is mainly illustrated by applying the method to the server 120 in fig. 1. The position name generation method specifically comprises the following steps:
and S1202, after the network car booking order is finished, determining the getting-on position coordinate in the network car booking order as a target position coordinate.
And S1204, determining a main interest point in the area range of the target position coordinate.
S1206, screening the named reference interest points associated with the target position coordinates from the main interest points.
S1208, obtaining the direction information and the interest point name of the named reference interest point.
S1210, generating a position name of the target position coordinate according to the direction information and the interest point name.
And S1212, generating a recommended boarding point according to the target position coordinate, and determining the position name of the target position coordinate as the position name of the recommended boarding point.
Wherein, the network appointment order generation process is as follows: a passenger triggers a network appointment ordering operation through a network appointment application program of the terminal, and the terminal generates an ordering position coordinate in a network appointment order according to the current position reported by the passenger mobile phone terminal; when a driver receives a passenger, the driver generates a boarding position coordinate in a network car booking order through a network car booking application program of the terminal and the reported current position; in an actual application scene, the lower order position coordinate is often inconsistent with the actual upper vehicle position coordinate, the traditional technology often uses the position name of the upper vehicle point filled by a passenger in the lower order process as the position name of the actual upper vehicle position coordinate, but the naming accuracy of the upper vehicle position coordinate is greatly reduced because the actual upper vehicle position coordinate of the passenger is not necessarily consistent with the position name filled in the lower order process, and the marking performance and the accuracy of the position name of the recommended upper vehicle point are low when the upper vehicle position coordinate is subsequently displayed as the recommended upper vehicle point, so that the driving receiving efficiency of a driver is greatly reduced.
In this embodiment, after the network appointment ordering is finished, the server obtains a boarding position coordinate in the network appointment order, determines the boarding position coordinate as a target position coordinate of a recommended boarding point, screens out a named reference point of interest associated with the target position coordinate from the main point of interest by obtaining a main point of interest within an area range where the target position coordinate is located, further generates a position name of the target position coordinate according to direction information of the named reference point of interest and the name of the point of interest, and takes the position name of the target position coordinate as the position name of the recommended boarding point after the position name of the target position coordinate is generated, so as to obtain the recommended boarding point and the position name thereof, thereby effectively improving the accuracy of naming the recommended boarding point and improving the identification effect of the position name.
In one embodiment, the location name generating method specifically includes the following steps:
1. and acquiring the coordinates of the target position.
2. And determining the main interest point in the area range of the target position coordinate.
3. And acquiring the interest point type of the main interest point and the distance value between the main interest point and the target position coordinate.
4. And searching a primary pre-selected main interest point of which the interest point type is a first target interest point type and the distance value between the type of the interest point and the target position coordinate is less than a first straight-line distance threshold value in the main interest points.
5. And when the primary pre-selected primary interest point exists in the primary interest points, determining the primary pre-selected primary interest point with the minimum distance value with the target position coordinate as the named reference interest point.
6. And when the primary pre-selected main interest points do not exist in the main interest points, acquiring target main interest points with the priority rank within a preset number from the main interest points.
7. And acquiring the sub interest points of the target main interest point according to the keywords of the target main interest point.
8. And searching for a preselected sub interest point of which the interest point type is a second target interest point type and the distance value between the preselected sub interest point and the target position coordinate is smaller than a second straight-line distance threshold value in the sub interest points.
9. And when the preselected sub interest point exists in the sub interest points, determining the preselected sub interest point with the minimum distance value with the target position coordinate as the named reference interest point.
10. And when the primary preselected main interest point does not exist in the main interest points and the preselected sub interest points do not exist in the sub interest points, searching the secondary preselected main interest points of which the interest point type is the second target interest point type and the distance value between the interest point type and the target position coordinate is smaller than a third straight-line distance threshold value in the main interest points.
11. And determining the secondary pre-selected main interest point with the minimum distance value as a named reference interest point according to the distance value between each secondary pre-selected main interest point and the target position coordinate.
12. And acquiring direction information and interest point names of the named reference interest points.
13. And generating the position name of the target position coordinate according to the direction information and the interest point name.
13-1, setting a position postposition word according to the distance value between the named reference interest point and the target position coordinate when the direction information of the named reference interest point is a null value.
13-1a, when the distance value between the named reference interest point and the target position coordinate is less than or equal to the coverage distance threshold value of the named reference interest point, setting the position postposition word as a null value.
13-1b, when the distance value of the named reference interest point and the target position coordinate is larger than the coverage distance threshold value, setting the position postword as a non-directional relative position descriptor.
13-2, when the direction information of the named reference interest point is not null, setting a direction postword according to the direction attribute of the direction information.
13-2a, when the direction attribute is a direction orientation word, generating a direction connecting word according to the direction orientation word, and setting the direction post-positioned word as the direction connecting word.
13-2b, when the direction attribute is an internal position descriptor, setting the orientation post-word to be a null value.
13-2c, when the direction attribute is a peripheral position descriptor, setting the orientation post-position descriptor as a non-directional relative position descriptor.
13-3, merging the interest point names of the named reference interest points and the direction postwords to obtain the position names corresponding to the target position coordinates.
In an application scene of the network car appointment, after a network car appointment order is finished, the server obtains actual getting-on position coordinates of passengers obtained from the network car appointment order as target position coordinates, position description service is called, the getting-on position coordinates are sent to the position service platform through a calling interface, and the position service platform returns main interest points and relevant information of the main interest points, the distances between the main interest points and the getting-on position coordinates are smaller than a certain distance value, to the server.
After the server acquires the main interest points in the area range of the boarding position coordinate (namely the target position coordinate), based on the distance between the main interest points and the boarding position coordinate and the type of the main interest points, filtering the main interest points of which the distance between the main interest points and the boarding position coordinate is greater than a linear distance threshold value by 100 meters or the types of the interest points are not suitable for carrying out position naming on the boarding position coordinate, wherein the types of the interest points are elevators, stairs, automatic teller machines and other main interest points, when the boarding position coordinate is located in a suburban area, the number of the remaining main interest points after filtering the main interest points may be zero, all the main interest points are filtered by the server, and then the fact that no suitable main interest points exist nearby the current boarding position coordinate and used for naming the position of the boarding position coordinate is indicated, at this time, the server selects the main interest points with the smallest distance between the original main interest points and the boarding position coordinate as reference named points.
When the number of remaining main interest points after filtering the main interest points is not zero, the server may determine whether any interest point type of the remaining main interest points is a door/entrance type, and a primary preselected main interest point having a distance value from the upper vehicle position coordinate of less than 40 meters, and if there are primary preselected main interest points satisfying the two conditions in the main interest points, select the primary preselected main interest point closest to the upper vehicle position coordinate from the primary preselected main interest points as a named reference interest point.
When the main interest point does not have a primary pre-selected main interest point with the interest point type of a door/entrance type and the distance value between the main interest point and the upper vehicle position coordinate is smaller than 40 meters, the coverage range of a geographic object described by the current main interest point is large, the interest point name of the main interest point cannot accurately describe the geographic position where the upper vehicle position coordinate is located, the server can obtain target main interest points with the priority (such as click rate) of the first three, call a keyword input prompting service respectively, obtain sub interest points of the target main interest points, accordingly screen pre-selected sub interest points with the distance value between the sub interest points and the upper vehicle recommended point smaller than 100 meters from the plurality of sub interest points, and select the pre-selected sub interest points with the closest distance between the pre-selected sub interest points and the upper vehicle position coordinate as named reference interest points from the pre-selected sub interest points when the pre-selected sub interest points meet the screening requirements exist in the sub interest points.
And when the sub interest points do not have the pre-selected sub interest points with the distance value less than 100 meters from the upper vehicle recommended point, the server judges whether the interest point type in the main interest points is the interest point type such as an intersection/a bus station and the like, and meanwhile, the distance value from the main interest points to the upper vehicle position coordinate is less than 60 meters of a secondary pre-selected main interest point, if the main interest points have the secondary pre-selected main interest points meeting the two conditions, the secondary pre-selected main interest point closest to the upper vehicle position coordinate is selected from the secondary pre-selected main interest points to serve as a named reference interest point. Further, if the main interest points do not have secondary pre-selected main interest points which meet the screening condition, whether the main interest points which have the same interest point type and identify the large-scale geographic objects exist in the main interest points is judged, for example, the interest points are main interest points with large geographic object coverage ranges such as airports, industrial parks and cells, for example, each building in the cell is an independent main interest point, and meanwhile, the interest point types are all cell types, and the main interest points with the closest vehicle-entering position coordinate distance are taken as named reference interest points from the main interest points with the same interest point types.
After the named reference interest point is determined, the server judges whether the direction information of the named reference interest point is a null value, when the direction information of the named reference interest point is the null value, the server obtains a distance value between the named reference interest point and the boarding position coordinate, when the distance value is smaller than a coverage distance threshold value, the boarding position coordinate is considered to be in a coverage range of a geographic object corresponding to the named reference interest point, and at the moment, the server can determine the name of the interest point of the named reference interest point as the position name of the target position; when the distance value is greater than the coverage distance threshold, the boarding position coordinate is not considered to be in the coverage range of the geographic object corresponding to the named reference interest point, and at this time, the server determines that the interest point name of the named reference interest point is plus or is close to the position name corresponding to the boarding position coordinate. When the direction information of the named reference interest point is not a null value, the server acquires a specific direction attribute in the direction information, when the direction attribute is one of orientation words such as east, south, west and north, a direction connecting word such as east, south, west or north is generated according to the orientation word, and the finally obtained position name of the boarding position coordinate is named as the interest point name of the named reference interest point plus east/south/west/north; when the direction attribute is the internal position descriptor 'inner', the position post-word is set to be a null value, and the finally obtained position name of the boarding position coordinate is named as 'the interest point name of the named reference interest point'; when the direction attribute is the peripheral position descriptor "side", the position postword is set as the undirected relative position descriptor "vicinity", and the finally obtained position name of the boarding position coordinate is "interest point name of named reference interest point + vicinity". After the position name of the boarding position coordinate is determined, the boarding position coordinate can be subsequently displayed as a recommended boarding point.
Fig. 13a is an application environment diagram of a location name display method in one embodiment. Referring to fig. 13a, the location name generating method is applied to a location name display system. The location name display system includes a terminal 110 and a box server 120. The terminal 110 and the terminal 120 are connected through a network. The terminal 110 may specifically be a desktop terminal or a mobile terminal, and the mobile terminal may specifically be at least one of a mobile phone, a tablet computer, a notebook computer, and the like. The server 120 may be implemented as a stand-alone server or a server cluster of multiple servers.
Specifically, the server 120 sends an electronic map interface, a target location coordinate and a position name thereof in an area range where the current location position coordinate of the terminal 110 is located to the terminal 110, the terminal 110 displays the electronic map interface in the area range where the current location position coordinate is located through a display device, and after obtaining the target location coordinate and the position name thereof, marks the target location coordinate as a recommended boarding point on the electronic map interface, and displays the position name of the target location coordinate.
As shown in fig. 13b, in one embodiment, a location name display method is provided. The embodiment is mainly illustrated by applying the method to the terminal 110 in fig. 1. Referring to fig. 13b, the location name display method specifically includes the steps of:
s1302, displaying an electronic map interface in the area range where the current positioning position coordinate is located.
The area range where the current positioning position coordinate is located refers to a range with a certain distance from the target position coordinate, and the area range can be a circular area or a rectangular area.
In one embodiment, the area within which the current position coordinates are located in the network appointment class application is a rectangular area. Specifically, an operating system runs on the terminal, a network appointment application program runs on the operating system, and after a user enters the application program, the terminal can display an electronic map interface through the application program.
In one embodiment, the terminal may specifically be a mobile terminal displayed by a touch screen.
S1304, acquiring a target position coordinate in the area range and a position name of the target position coordinate; the target position coordinate is from getting-on position coordinates in the historical order information, and the position name of the target position coordinate is generated according to the direction information of the named reference interest point associated with the target position coordinate and the name of the interest point.
The target position coordinate is historical boarding position coordinate in the area range of the current positioning position coordinate, and is obtained by analyzing and acquiring historical order information by the server. The position name of the target position coordinate is generated by the server according to the direction information of the named reference interest point and the name of the interest point after the server obtains the main interest point in the area range of the target position coordinate, and the named reference interest point related to the target position coordinate is screened from the main interest point.
After acquiring the current positioning position coordinate, the terminal determines the area range in which the current positioning position coordinate is located so as to acquire the target position coordinate in the area range and the position name of the target positioning coordinate. After the server obtains the target position coordinates, the server determines the area range where the target position coordinates are located, and obtains all the main interest points in the area range. Specifically, after the target position coordinate is determined, the server may determine, with the target position coordinate as a center, a rectangular area with the target position coordinate as a center as an area range where the target position coordinate is located, and acquire all the target position coordinates and position names thereof in the rectangular area.
And S1306, identifying the target position coordinate as a recommended boarding point on the electronic map interface, and displaying the position name of the target position coordinate.
After determining the target position coordinates in the area range, the terminal can identify each target position coordinate as a recommended boarding point on an electronic map interface, and display the position name of the corresponding target position coordinate at the recommended boarding point.
Specifically, the target position coordinate is identified as a recommended boarding point on the electronic map interface, a view element may be displayed at the target position coordinate of the electronic map interface, and a position name of the target position coordinate may be displayed beside the view element of the target position coordinate, where the view element may be a dotted view element.
As shown in fig. 14, fig. 14 is a schematic diagram of an electronic map interface in an embodiment, in the diagram, a dotted view element 1401, a dotted view element 1402, and a dotted view element 1403 are all recommended boarding points, target position coordinates corresponding to each recommended boarding point are all from boarding position coordinates of historical order information, a position name of the recommended boarding point 1401 is "near midsteel international square-east gate", a position name of the recommended boarding point 1402 is "google/haidingjie (intersection)", a position name of the recommended boarding point 1403 is "midsteel international square-east-south-east side", and position names of the recommended boarding points are displayed beside an identifier of the recommended boarding point.
According to the information display method, the electronic map interface in the area range where the current positioning position coordinate is located is displayed, the target position coordinate in the area range and the position name of the target position coordinate are obtained, the target position coordinate is identified as the recommended boarding point on the electronic map interface, the position name of the target position coordinate is displayed, the recommended boarding point which is in line with the boarding point is displayed on the displayed electronic map, a user can quickly select the boarding point, the condition that the boarding position filled when the user places an order is not in line with the actual boarding position is eliminated, and the driving receiving efficiency of the driver is improved.
In one embodiment, as shown in fig. 15, after the step of identifying the target location coordinate as the recommended boarding point on the electronic map interface, the method further includes:
s1502, a trigger instruction for at least one target recommended boarding point in the recommended boarding points is obtained.
S1504, responding to the trigger command, and determining the target position coordinate selected by the trigger command.
And S1506, generating order information according to the selected target position coordinates and the position name.
The triggering instruction refers to an instruction generated correspondingly to a recommended boarding point triggering event on an electronic map interface. Specifically, after the electronic map interface acquires a trigger instruction for a target recommendation uploading point, a target position coordinate corresponding to the selected target recommendation uploading point is acquired from the trigger instruction, and order information is generated according to a position name of the target position coordinate.
For example, in fig. 14, a plurality of recommended boarding points are displayed on an electronic map interface, a user clicks the recommended boarding point 1402 to trigger generation of a trigger instruction of the recommended boarding point 1402, and after the terminal acquires the trigger instruction, the terminal determines target position coordinates of the recommended boarding point 1402 from the trigger instruction, so as to generate order information according to the target position coordinates and the position name thereof, so that when the driver acquires the position name of the target position coordinates in the order information, the boarding position of the user can be quickly located, and the pick-up efficiency is improved.
It should be understood that, although the steps in the above-described flowcharts are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in the above-described flowcharts may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or the stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 16, there is provided a location name generating apparatus 1600 including:
a position coordinate acquiring module 1601 configured to acquire target position coordinates;
an interest point obtaining module 1602, configured to determine a main interest point within an area range where the target position coordinate is located;
a named reference interest point determining module 1603, configured to filter named reference interest points associated with the target location coordinates from the master interest points;
an interest point information obtaining module 1604, configured to obtain direction information of the named reference interest point and a name of the interest point;
a location name generating module 1605, configured to generate a location name of the target location coordinate according to the direction information and the interest point name.
In an embodiment, the naming reference interest point determining module 1603 is configured to obtain an interest point type of a main interest point and a distance value between the main interest point and a target location coordinate; and screening the named reference interest points associated with the target position coordinates from the main interest points according to the interest point types and the distance values.
In one embodiment, the naming reference interest point determining module 1603 is configured to search a primary preselected main interest point of which the interest point type is a first target interest point type and a distance value from a target position coordinate is smaller than a first linear distance threshold value; and when the primary pre-selected primary interest point exists in the primary interest points, determining the primary pre-selected primary interest point with the minimum distance value with the target position coordinate as the named reference interest point.
In one embodiment, the named reference interest point determining module 1603 is configured to search a primary preselected main interest point, of which the interest point type is a first target interest point type and a distance value from a target position coordinate is smaller than a first linear distance threshold, in the main interest point; when primary pre-selected main interest points do not exist in the main interest points, acquiring target main interest points with priorities in a preset number from the main interest points; acquiring sub interest points of the target main interest points according to the keywords of the target main interest points; and screening the named reference interest points which are associated with the target position coordinates from the sub interest points.
In one embodiment, the named reference interest point determining module 1603 is configured to find a preselected sub-interest point, of the sub-interest points, whose distance value from the target position coordinate is smaller than a second straight-line distance threshold; and when the preselected sub interest point exists in the sub interest points, determining the preselected sub interest point with the minimum distance value with the target position coordinate as the named reference interest point.
In one embodiment, the location name generating module 1605 is configured to generate a location name of the target location coordinate according to the direction information and the interest point name, and when there is no pre-selected sub interest point in the sub interest points, find a secondary pre-selected main interest point in the main interest point, where the type of the interest point is a second target interest point type, and a distance value between the secondary pre-selected main interest point and the target location coordinate is less than a third straight-line distance threshold; and determining the secondary pre-selected main interest point with the minimum distance value as a named reference interest point according to the distance value between each secondary pre-selected main interest point and the target position coordinate.
In one embodiment, the location name generating module 1605 is further configured to set a position postposition word according to a distance value between the named reference interest point and the target location coordinate when the direction information of the named reference interest point is null; and combining the interest point names and the orientation postwords of the named reference interest points to obtain the position names corresponding to the target position coordinates.
In one embodiment, the location name generating module 1605 is configured to set the position suffix to a null value when the distance value between the named reference interest point and the target location coordinate is less than or equal to the coverage distance threshold of the named reference interest point; when the distance value between the named reference interest point and the target position coordinate is larger than the covering distance threshold value, setting the position postword as a non-directional relative position descriptor, and when the direction information of the named reference interest point is not a null value, setting the position postword according to the direction attribute of the direction information; and combining the interest point names and the position postwords of the named reference interest points to obtain the position names corresponding to the target position coordinates.
In one embodiment, the location name generating module 1605 is configured to generate a direction conjunction word according to the direction orientation word when the direction attribute is the direction orientation word, and set the direction post-word as the direction conjunction word; when the direction attribute is an internal position descriptor, setting an orientation postposition word as a null value; and when the direction attribute is the peripheral position descriptor, setting the position postword as a non-directional relative position descriptor.
In one embodiment, the target position coordinate obtaining module 1601 is configured to determine an getting-on position coordinate in the online car booking order as a target position coordinate after the online car booking order is completed; the position name generating module 1605 is further configured to generate a recommended boarding point according to the target position coordinate; and determining the position name of the target position coordinate as the position name of the recommended boarding point.
In one embodiment, as shown in fig. 17, there is provided a location name display apparatus 1700, the location name display apparatus 1700 including:
an electronic map display module 1701 for displaying an electronic map interface within a region range where the current positioning position coordinates are located;
a target position coordinate obtaining module 1702, configured to obtain a target position coordinate within the area range and a position name of the target position coordinate; the target position coordinate is from the getting-on position coordinate in the historical order information, and the position name of the target position coordinate is generated according to the direction information of the named reference interest point associated with the target position coordinate and the name of the interest point;
and a recommended boarding point display module 1703, configured to identify the target position coordinate as a recommended boarding point on the electronic map interface, and display a position name of the target position coordinate.
In one embodiment, as shown in fig. 18, the location name display apparatus 1700 further includes an order information generation module 1704, configured to obtain a trigger instruction for at least one target recommended pick-up point in the recommended pick-up points; responding to the trigger instruction, and determining the target position coordinate selected by the trigger instruction; and generating order information according to the selected target position coordinates and the position name.
FIG. 19 is a diagram that illustrates an internal structure of the computer device in one embodiment. The computer device may specifically be the terminal 110 (or the server 120) in fig. 1. As shown in fig. 19, the computer apparatus includes a processor, a memory, a network interface, an input device, and a display screen connected through a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement a location name generation method or a location name display method. The internal memory may also have a computer program stored therein, which when executed by the processor, causes the processor to perform a location name generation method or a location name display method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 19 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the location name generation apparatus provided in the present application may be implemented in the form of a computer program that is executable on a computer device as shown in fig. 19. The memory of the computer device may store various program modules constituting the location name generating apparatus, such as a location coordinate acquiring module, an interest point acquiring module, a name reference interest point determining module, an interest point information acquiring module, and a location name generating module shown in fig. 16. The computer program constituted by the respective program modules causes the processor to execute the steps in the location name generation method of the respective embodiments of the present application described in the present specification.
For example, the computer device shown in fig. 19 may execute step S202 by the position coordinate acquisition module in the position name generation apparatus shown in fig. 16. The computer device may perform step S204 through the point of interest acquisition module. The computer device may perform step S206 by the named reference point of interest determination module. The computer device may perform step S208 through the point of interest information obtaining module. The computer device may perform step S210 through the location name generating module.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of the location name generation method described above. Here, the steps of the location name generation method may be steps in the location name generation methods of the respective embodiments described above.
In one embodiment, a computer-readable storage medium is provided, storing a computer program that, when executed by a processor, causes the processor to perform the steps of the location name generation method described above. Here, the steps of the location name generation method may be steps in the location name generation methods of the respective embodiments described above.
In one embodiment, the location name display apparatus provided in the present application may be implemented in the form of a computer program that is executable on a computer device as shown in fig. 19. The memory of the computer device may store various program modules constituting the location name display apparatus, such as an electronic map presentation module, a target location coordinate acquisition module, and a recommended boarding point display module shown in fig. 17. The computer program constituted by the respective program modules causes the processor to execute the steps in the location name display method of the respective embodiments of the present application described in the present specification.
For example, the computer apparatus shown in fig. 19 may perform S1302 by the electronic map presentation module in the location name display device as shown in fig. 17. The computer device may perform S1304 by the target position coordinate acquiring module. The computer device may perform S1306 through the recommended pick-up display module.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of the above location name display method. Here, the steps of the location name display method may be the steps in the location name display methods of the respective embodiments described above.
In one embodiment, a computer-readable storage medium is provided, storing a computer program that, when executed by a processor, causes the processor to perform the steps of the above-described location name display method. Here, the steps of the location name display method may be the steps in the location name display methods of the respective embodiments described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by a computer program, which may be stored in a non-volatile computer readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct Rambus Dynamic RAM (DRDRAM), and Rambus Dynamic RAM (RDRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, and these are all within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (18)

1. A location name generation method includes:
acquiring a target position coordinate;
determining a main interest point in the area range of the target position coordinate;
when primary preselected main interest points exist in the main interest points, determining one primary preselected main interest point with the minimum distance value with the target position coordinate as a named reference interest point, wherein the primary preselected main interest point is a main interest point of which the interest point type in the main interest points is a first target interest point type and the distance value with the target position coordinate is smaller than a first linear distance threshold value, and the first target interest point type is set as a door/entrance type;
when the primary pre-selected primary point of interest is not present in the primary points of interest:
acquiring target main interest points with priorities in a preset number from the main interest points;
determining a sub interest point of the target main interest point according to the keyword of the target main interest point, wherein the sub interest point identifies one geographic object in the geographic objects corresponding to the target main interest point, the granularity of the geographic object identified by the sub interest point is smaller relative to the geographic object identified by the target main interest point, and a parent-child relationship exists between the main interest point and the sub interest point;
when a preselected sub-interest point with the distance value from the target position coordinate smaller than a second straight-line distance threshold value exists in the sub-interest points, determining one preselected sub-interest point with the distance value from the target position coordinate being the smallest as a named reference interest point;
when the preselected sub interest points do not exist in the sub interest points, searching secondary preselected main interest points of which the interest point type is a second target interest point type and the distance value between the secondary preselected main interest points and the target position coordinate is smaller than a third linear distance threshold value in the main interest points, and determining the secondary preselected main interest point with the minimum distance value as a named reference interest point according to the distance value between each secondary preselected main interest point and the target position coordinate, wherein the third linear distance threshold value is larger than the first linear distance threshold value;
acquiring direction information and interest point names of the named reference interest points, wherein the direction information is direction information in the named reference interest point information;
and generating the position name of the target position coordinate according to the direction information and the interest point name.
2. The method of claim 1, wherein the step of generating the location name of the target location coordinate based on the direction information and the point of interest name comprises:
when the direction information of the named reference interest point is a null value, setting a position postposition word according to the distance value between the named reference interest point and the target position coordinate;
and combining the interest point name of the named reference interest point and the position postword to obtain a position name corresponding to the target position coordinate.
3. The method of claim 2, wherein the step of setting a position suffix according to the distance value between the named reference interest point and the target location coordinate comprises:
when the distance value between the named reference interest point and the target position coordinate is smaller than or equal to the coverage distance threshold value of the named reference interest point, setting the position postposition word as a null value;
when the distance value between the named reference interest point and the target position coordinate is larger than the coverage distance threshold value, the position postword is set as an undirected relative position descriptor.
4. The method according to any one of claims 1 to 3, wherein the step of generating the location name of the target location coordinate according to the direction information and the interest point name comprises:
when the direction information of the named reference interest point is not a null value, setting a position postword according to the direction attribute of the direction information;
and combining the interest point name of the named reference interest point and the position postword to obtain a position name corresponding to the target position coordinate.
5. The method according to claim 4, wherein the step of setting an orientation postword according to the direction attribute of the direction information comprises:
when the direction attribute is a direction orientation word, generating a direction connecting word according to the direction orientation word, and setting the direction post-word as the direction connecting word;
when the direction attribute is an internal position descriptor, setting the orientation postposition word as a null value;
and when the direction attribute is a peripheral position descriptor, setting the position postamble as a non-directional relative position descriptor.
6. The method of claim 1, wherein the target location coordinates comprise net appointment in-vehicle location coordinates; the step of obtaining the coordinates of the target position includes:
after the network taxi appointment order is finished, determining the getting-on position coordinate in the network taxi appointment order as a target position coordinate;
after the step of generating the location name of the target location coordinate according to the direction information and the interest point name, the method further includes:
generating a recommended boarding point according to the target position coordinate;
and determining the position name of the target position coordinate as the position name of the recommended boarding point.
7. A method for displaying a location name, the method comprising:
displaying an electronic map interface in the area range of the current positioning position coordinate;
acquiring a target position coordinate in the area range and a position name of the target position coordinate; the target position coordinate is from a boarding position coordinate in historical order information, and the position name of the target position coordinate is generated according to direction information of a named reference interest point associated with the target position coordinate and the name of the interest point;
the step of obtaining the named reference interest point comprises the following steps:
determining a main interest point in the area range of the target position coordinate;
when primary preselected main interest points exist in the main interest points, determining one primary preselected main interest point with the minimum distance value with the target position coordinate as the named reference interest point, wherein the primary preselected main interest point is a main interest point of which the interest point type in the main interest points is a first target interest point type and the distance value with the target position coordinate is smaller than a first linear distance threshold value, and the first target interest point type is set as a door/entrance type;
when the primary pre-selected primary point of interest is not present in the primary points of interest:
acquiring target main interest points with priorities in a preset number from the main interest points;
determining a sub interest point of the target main interest point according to the keyword of the target main interest point, wherein the sub interest point identifies one geographic object in the geographic objects corresponding to the target main interest point, the granularity of the geographic object identified by the sub interest point is smaller relative to the geographic object identified by the target main interest point, and a parent-child relationship exists between the main interest point and the sub interest point;
when a preselected sub-interest point with a distance value from the target position coordinate smaller than a second straight-line distance threshold value exists in the sub-interest points, determining one preselected sub-interest point with the smallest distance value from the target position coordinate as the named reference interest point;
when the preselected sub interest points do not exist in the sub interest points, searching a secondary preselected main interest point of which the interest point type is a second target interest point type and the distance value between the secondary preselected main interest point and the target position coordinate is less than a third linear distance threshold value in the main interest point, and determining the secondary preselected main interest point with the minimum distance value as the named reference interest point according to the distance value between each secondary preselected main interest point and the target position coordinate, wherein the third linear distance threshold value is greater than the first linear distance threshold value;
and identifying the target position coordinate as a recommended boarding point on the electronic map interface, and displaying the position name of the target position coordinate.
8. The method of claim 7, wherein after the step of identifying the target location coordinate as a recommended pick-up point on the electronic map interface, further comprising:
acquiring a trigger instruction for at least one target recommended getting-on point in the recommended getting-on points;
responding to the trigger instruction, and determining the target position coordinate selected by the trigger instruction;
and generating order information according to the selected target position coordinate and the position name.
9. An apparatus for generating a location name, the apparatus comprising:
the position coordinate acquisition module is used for acquiring a target position coordinate;
the interest point acquisition module is used for determining a main interest point in the area range of the target position coordinate;
a named reference interest point determination module for
When primary preselected main interest points exist in the main interest points, determining one primary preselected main interest point with the minimum distance value with the target position coordinate as a named reference interest point, wherein the primary preselected main interest point is a main interest point of which the interest point type in the main interest points is a first target interest point type and the distance value with the target position coordinate is smaller than a first linear distance threshold value, and the first target interest point type is set as a door/entrance type;
when the primary pre-selected primary point of interest is not present in the primary points of interest:
acquiring target main interest points with the priority rank within a preset number from the main interest points;
determining a sub interest point of the target main interest point according to the keyword of the target main interest point, wherein the sub interest point identifies one geographic object in the geographic objects corresponding to the target main interest point, the granularity of the geographic object identified by the sub interest point is smaller relative to the geographic object identified by the target main interest point, and a parent-child relationship exists between the main interest point and the sub interest point;
when a preselected sub-interest point with the distance value from the target position coordinate smaller than a second straight-line distance threshold value exists in the sub-interest points, determining one preselected sub-interest point with the distance value from the target position coordinate being the smallest as a named reference interest point;
when the preselected sub interest points do not exist in the sub interest points, searching secondary preselected main interest points of which the interest point type is a second target interest point type and the distance value between the secondary preselected main interest points and the target position coordinate is less than a third linear distance threshold value in the main interest points, and determining the secondary preselected main interest point with the minimum distance value as a named reference interest point according to the distance value between each secondary preselected main interest point and the target position coordinate, wherein the third linear distance threshold value is greater than the first linear distance threshold value;
the interest point information acquisition module is used for acquiring direction information and interest point names of the named reference interest points, wherein the direction information is direction information in the named reference interest point information;
and the position name generating module is used for generating the position name of the target position coordinate according to the direction information and the interest point name.
10. The apparatus according to claim 9, wherein the location name generating module is further configured to set a position suffix according to a distance value between the named reference interest point and the target location coordinate when the direction information of the named reference interest point is null; and combining the interest point name of the named reference interest point and the position postword to obtain a position name corresponding to the target position coordinate.
11. The apparatus of claim 10, wherein the location name generation module is configured to set the position suffix to a null value when a distance value between the named reference interest point and the target location coordinate is less than or equal to a coverage distance threshold of the named reference interest point; when the distance value of the named reference interest point and the target position coordinate is larger than the coverage distance threshold value, the position postposition word is set as a non-directional relative position descriptor.
12. The device according to any one of claims 9 to 11, wherein the location name generating module is configured to, when the direction information of the named reference point of interest is not null, set an orientation suffix according to a direction attribute of the direction information; and combining the interest point name of the named reference interest point and the position postword to obtain a position name corresponding to the target position coordinate.
13. The apparatus according to claim 12, wherein the location name generating module is configured to generate a direction conjunction word according to the orientation word when the direction attribute is the orientation word, and set the orientation post word as the direction conjunction word; when the direction attribute is an internal position descriptor, setting the orientation postposition word as a null value; and when the direction attribute is a peripheral position descriptor, setting the position postamble as a non-directional relative position descriptor.
14. The apparatus of claim 9, wherein the target location coordinates comprise pick-up location coordinates; the position coordinate acquisition module is used for determining the getting-on position coordinate in the network car booking order as a target position coordinate after the network car booking order is finished; the position name generating module is also used for generating a recommended boarding point according to the target position coordinate; and determining the position name of the target position coordinate as the position name of the recommended boarding point.
15. A location name display apparatus, characterized in that the apparatus comprises:
the electronic map display module is used for displaying an electronic map interface in the area range where the current positioning position coordinate is located;
the target position coordinate acquisition module is used for acquiring a target position coordinate in the area range and a position name of the target position coordinate; the target position coordinate is from a boarding position coordinate in historical order information, and the position name of the target position coordinate is generated according to direction information of a named reference interest point associated with the target position coordinate and the name of the interest point;
the step of acquiring the named reference interest points comprises the following steps:
determining a main interest point in the area range of the target position coordinate;
when primary preselected main interest points exist in the main interest points, determining one primary preselected main interest point with the minimum distance value with the target position coordinate as the named reference interest point, wherein the primary preselected main interest point is a main interest point of which the interest point type in the main interest points is a first target interest point type and the distance value with the target position coordinate is smaller than a first linear distance threshold value, and the first target interest point type is set as a door/entrance type;
when the primary pre-selected primary point of interest is not present in the primary points of interest:
acquiring target main interest points with the priority rank within a preset number from the main interest points;
determining a sub interest point of the target main interest point according to the keyword of the target main interest point, wherein the sub interest point identifies one geographic object in the geographic objects corresponding to the target main interest point, the granularity of the geographic object identified by the sub interest point is smaller relative to the geographic object identified by the target main interest point, and a parent-child relationship exists between the main interest point and the sub interest point;
when a preselected sub-interest point with a distance value from the target position coordinate smaller than a second straight-line distance threshold value exists in the sub-interest points, determining one preselected sub-interest point with the smallest distance value from the target position coordinate as the named reference interest point;
when the preselected sub interest points do not exist in the sub interest points, searching secondary preselected main interest points of which the interest point type is a second target interest point type and the distance value between the secondary preselected main interest points and the target position coordinate is smaller than a third linear distance threshold value in the main interest points, and determining the secondary preselected main interest point with the minimum distance value as the named reference interest point according to the distance value between each secondary preselected main interest point and the target position coordinate, wherein the third linear distance threshold value is larger than the first linear distance threshold value;
and the recommended boarding point display module is used for identifying the target position coordinate as a recommended boarding point on the electronic map interface and displaying the position name of the target position coordinate.
16. The apparatus of claim 15, further comprising: the order information generation module is used for acquiring a trigger instruction of at least one target recommended boarding point in the recommended boarding points; responding to the trigger instruction, and determining the target position coordinate selected by the trigger instruction; and generating order information according to the selected target position coordinate and the position name.
17. A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 8.
18. A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 8.
CN201910924372.6A 2019-09-27 2019-09-27 Position name generating method and position name display method Active CN110795642B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910924372.6A CN110795642B (en) 2019-09-27 2019-09-27 Position name generating method and position name display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910924372.6A CN110795642B (en) 2019-09-27 2019-09-27 Position name generating method and position name display method

Publications (2)

Publication Number Publication Date
CN110795642A CN110795642A (en) 2020-02-14
CN110795642B true CN110795642B (en) 2022-11-04

Family

ID=69440022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910924372.6A Active CN110795642B (en) 2019-09-27 2019-09-27 Position name generating method and position name display method

Country Status (1)

Country Link
CN (1) CN110795642B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111369284B (en) * 2020-03-03 2023-08-15 浙江网商银行股份有限公司 Target object type determining method and device
CN111475746B (en) * 2020-04-07 2023-09-12 深圳市腾讯计算机系统有限公司 Point-of-interest mining method, device, computer equipment and storage medium
CN113742435A (en) * 2020-05-29 2021-12-03 北京沃东天骏信息技术有限公司 Geographic information processing method, device, electronic equipment and medium
CN111966925B (en) * 2020-06-30 2024-04-09 北京百度网讯科技有限公司 Building interest point weight judging method and device, electronic equipment and storage medium
CN112069273A (en) * 2020-08-13 2020-12-11 丰图科技(深圳)有限公司 Address text classification method and device, electronic equipment and storage medium
CN112052269B (en) * 2020-08-24 2022-04-22 腾讯科技(深圳)有限公司 Position recommending method and device
CN113793346B (en) * 2021-09-16 2022-08-30 北京百度网讯科技有限公司 Region attribute method and device, electronic equipment and readable storage medium
CN114579890B (en) * 2022-04-26 2022-07-29 阿里巴巴(中国)有限公司 Method, device and equipment for recommending getting-on point name and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011238135A (en) * 2010-05-12 2011-11-24 Chodai Co Ltd Presentation method of event positional data and event data sharing system
CN104598506A (en) * 2014-07-31 2015-05-06 腾讯科技(深圳)有限公司 Address generation method and device and address inquiry method and device for geographic position point
CN109062928A (en) * 2018-06-11 2018-12-21 北京嘀嘀无限科技发展有限公司 A kind of method and system that prompt recommendation is got on the bus a little
WO2019024078A1 (en) * 2017-08-04 2019-02-07 Beijing Didi Infinity Technology And Development Co., Ltd. Methods and systems for naming a pick up location
CN109583607A (en) * 2018-06-29 2019-04-05 张文 Net about vehicle interconnection method, terminal device, storage medium and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011238135A (en) * 2010-05-12 2011-11-24 Chodai Co Ltd Presentation method of event positional data and event data sharing system
CN104598506A (en) * 2014-07-31 2015-05-06 腾讯科技(深圳)有限公司 Address generation method and device and address inquiry method and device for geographic position point
WO2019024078A1 (en) * 2017-08-04 2019-02-07 Beijing Didi Infinity Technology And Development Co., Ltd. Methods and systems for naming a pick up location
CN109062928A (en) * 2018-06-11 2018-12-21 北京嘀嘀无限科技发展有限公司 A kind of method and system that prompt recommendation is got on the bus a little
CN109583607A (en) * 2018-06-29 2019-04-05 张文 Net about vehicle interconnection method, terminal device, storage medium and system

Also Published As

Publication number Publication date
CN110795642A (en) 2020-02-14

Similar Documents

Publication Publication Date Title
CN110795642B (en) Position name generating method and position name display method
US11551325B2 (en) Travel coordination system implementing pick-up location optimization
US20170059347A1 (en) Determining Improved Pick-Up Locations
US10354531B1 (en) System and method for identifying available parking locations
KR102108383B1 (en) Method for providing smart parking spot finding service with real time path tracing and parking lot occupied state
US9689693B2 (en) Systems and methods for learning and displaying customized geographical navigational options
CN108701403A (en) For showing and the system and method for the relevant mark of service request
US11449898B2 (en) Method, device, and storage medium for recommending point of interest for location-based service
US20230075758A1 (en) Travel route planning method and travel route recommendation method
CN112556717B (en) Travel mode screening method and travel route recommending method and device
CN106708837B (en) Interest point searching method and device
CN110399445B (en) Method, device and equipment for processing interest points
US11924805B2 (en) Positioning method and device, electronic device and storage medium
CN110749330B (en) Navigation path planning method and device
CN114067596B (en) Vehicle navigation method, device, electronic equipment and computer readable storage medium
JP2009015739A (en) Traffic information distribution server, traffic information distribution system, and traffic information distribution method
WO2019246063A1 (en) Pre-fetching map data
CN112800338A (en) Method and device for recommending get-off point, electronic equipment and computer program product
US10145705B2 (en) Destination information provider server, destination information provider system and on-vehicle device
US11060879B2 (en) Method, system, and computer program product for generating synthetic demand data of vehicle rides
JP6646783B2 (en) Moving object placement system
CN116508013A (en) System and method for recommending points of interest
CN108810036A (en) Processing method, device and the system of geographical location information
CN111143486A (en) Service position acquisition method and device, electronic equipment and storage medium
JP6889787B2 (en) Mobile placement system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40018288

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant