CN116069958A - Point-of-interest data processing method and device and electronic equipment - Google Patents

Point-of-interest data processing method and device and electronic equipment Download PDF

Info

Publication number
CN116069958A
CN116069958A CN202111274825.9A CN202111274825A CN116069958A CN 116069958 A CN116069958 A CN 116069958A CN 202111274825 A CN202111274825 A CN 202111274825A CN 116069958 A CN116069958 A CN 116069958A
Authority
CN
China
Prior art keywords
sub
point
name
determining
points
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111274825.9A
Other languages
Chinese (zh)
Inventor
李荣茂
宋辉
罗京
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN202111274825.9A priority Critical patent/CN116069958A/en
Publication of CN116069958A publication Critical patent/CN116069958A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/38Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/383Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/232Orthographic correction, e.g. spell checking or vowelisation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Instructional Devices (AREA)

Abstract

The embodiment of the invention provides a method, a device and electronic equipment for processing interest point data, which are applied to the field of maps, wherein the method comprises the following steps: acquiring interest point data, wherein the interest point data comprises names of sub points and coordinates of the sub points; determining a sub-point abbreviation corresponding to the sub-point according to the name of the sub-point; determining one or more patch containers to which the sub-points belong according to the coordinates of the sub-points, and determining a target patch container from the one or more patch containers; generating a construction name of the sub-point by adopting the target fragment container and the sub-point for short; acquiring the alias corresponding to the child point according to the fragment container; and determining a target name according to the alias corresponding to the sub point and the construction name, and replacing the name of the sub point in the interest point data with the target name. And correcting the names of the child points through the region container to which the child points belong and the aliases of the child points, so as to avoid delay of travel of people due to the wrong names of the child points.

Description

Point-of-interest data processing method and device and electronic equipment
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method and an apparatus for processing point of interest data, and an electronic device.
Background
With the development of science and technology, the appearance of electronic maps provides convenience for life of people. The graphics displayed in the electronic map basically consist of dotted lines and planes, and the points of interest (Point of Interest, POI) serving as important components of the point data are indispensable components in the electronic map, so that the quality of the electronic map directly determines the user experience of the electronic map.
In the prior art, each POI usually contains data such as name, address, coordinates and type, and the data may be imperfect or have errors, especially the name in the POI, because, in the process of acquiring POI data, the POI name acquisition and the region acquisition may be different personnel or acquired in different time periods; because the doors or entrances of many buildings (such as communities) are not identified, or only the doors are abbreviated, the acquisition personnel often judge names or add the names to the doors according to experience, so that the names of the doors or entrances are wrong, and pedestrians are not plagued.
Disclosure of Invention
The embodiment of the invention provides an interest point data processing method which is used for correcting names of sub-points in interest point data so as to avoid delay of travel of people due to wrong names of the sub-points.
Correspondingly, the embodiment of the invention also provides a device for processing the interest point data and an electronic device, which are used for ensuring the realization and the application of the method.
In order to solve the above problems, an embodiment of the present invention discloses a method for processing point of interest data, which specifically includes:
acquiring interest point data, wherein the interest point data comprises names of sub points and coordinates of the sub points;
determining a sub-point abbreviation corresponding to the sub-point according to the name of the sub-point;
determining one or more patch containers to which the sub-points belong according to the coordinates of the sub-points, and determining a target patch container from the one or more patch containers;
generating a construction name of the sub-point by adopting the target fragment container and the sub-point for short;
acquiring the alias corresponding to the child point according to the fragment container;
and determining a target name according to the alias corresponding to the sub point and the construction name, and replacing the name of the sub point in the interest point data with the target name.
Optionally, the replacing the target name with the name of the sub point in the point of interest data includes:
judging whether azimuth words exist in the sub-point short or not;
if azimuth words exist in the sub-points, determining a direction area of the sub-points in the target film zone container according to the coordinates of the sub-points, and judging whether the azimuth words accord with azimuth conditions according to the direction area;
And if the direction word meets the azimuth condition, replacing the name of the sub point in the interest point data with the target name.
Optionally, the determining the target name according to the alias corresponding to the sub point and the constructional name includes:
judging whether the construction name exists in the aliases corresponding to the sub points;
and if the construction name exists in the alias corresponding to the child point, determining that the construction name is the target name.
Optionally, the method further comprises:
if the alias corresponding to the child point does not contain the construction name, performing expansion processing on the child point, and generating a plurality of first construction names according to the expanded child point;
and determining names in aliases corresponding to the child points from the plurality of first construction names as the target names.
Optionally, the expanding processing is performed on the sub-point abbreviation, and a plurality of first construction names are generated according to the expanded sub-point abbreviation, including:
and expanding the sub-point abbreviations according to the direction names and/or expanding according to the numerical values, and generating a plurality of first construction names according to the expanded sub-point abbreviations.
Optionally, the method further comprises:
When the aliases corresponding to the sub points do not exist, determining partition words in the target fragment container, and deleting the partition words;
determining a name container corresponding to the child point according to the name of the child point, and determining the similarity between the target fragment container and the name container after deleting the partition word;
if the similarity is greater than a preset threshold, generating a second construction name according to the target fragment container and the sub-point abbreviation after deleting the partition word;
and replacing the name of the sub point in the interest point data with the second construction name.
Optionally, the determining a target tile container from the one or more tile containers includes:
and determining inclusion relations among the one or more patch containers, and determining from the one or more patch containers according to the inclusion relations, wherein the patch container positioned at the innermost part is used as the target patch container.
The embodiment of the invention also discloses a device for processing the interest point data, which specifically comprises the following steps:
the data acquisition module is used for acquiring interest point data, wherein the interest point data comprises names of sub points and coordinates of the sub points;
the name separation module is used for determining the name of the sub point corresponding to the sub point;
The target region container determining module is used for determining one or more region containers to which the sub-points belong according to the coordinates of the sub-points, and determining target region containers from the one or more region containers;
the first name construction module is used for generating the construction name of the sub-point by adopting the target fragment container and the sub-point for short;
the alias obtaining module is used for obtaining aliases corresponding to the sub points according to the fragment containers;
and the name replacing module is used for determining a target name according to the alias corresponding to the sub-point and the construction name, and replacing the name of the sub-point in the interest point data with the target name.
Optionally, the name replacement module includes:
the azimuth word judging sub-module is used for judging whether azimuth words exist in the sub-point short;
the azimuth area judging sub-module is used for determining the direction area of the sub-point in the target film area container according to the coordinates of the sub-point if azimuth words exist in the sub-point, and judging whether the azimuth words accord with azimuth conditions according to the direction area;
and the name replacing sub-module is used for replacing the name of the sub-point in the interest point data with the target name if the direction word meets the azimuth condition.
Optionally, the name replacement module includes:
the alias judgment sub-module is used for judging whether the construction name exists in the aliases corresponding to the sub-points;
and the first name determining submodule is used for determining that the construction name is the target name if the construction name exists in the alias corresponding to the child point.
Optionally, the method further comprises:
the name construction sub-module is used for expanding the sub-point abbreviation if the construction name does not exist in the alias corresponding to the sub-point, and generating a plurality of first construction names according to the expanded sub-point abbreviation;
and the second name determining submodule is used for determining names in aliases corresponding to the child points from the plurality of first construction names as the target names.
Optionally, the name construction sub-module includes:
the name construction unit is used for expanding the sub-points according to the direction names and/or the numerical values, and generating a plurality of first construction names according to the expanded sub-points.
Optionally, the apparatus further comprises:
the partition word deleting module is used for determining partition words in the target fragment container and deleting the partition words when the aliases corresponding to the sub points do not exist;
The similarity determining module is used for determining a name container corresponding to the sub point according to the name of the sub point and determining the similarity between the target fragment container and the name container after deleting the partition word;
the second name construction module is used for generating a second construction name according to the target fragment container and the sub-point abbreviation after deleting the partition word if the similarity is larger than a preset threshold;
and the second name replacing module is used for replacing the names of the sub-points in the interest point data with the second construction name.
Optionally, the target tile container determining module includes:
and the target patch container determining submodule is used for determining the inclusion relation among the one or more patch containers, determining the patch container positioned at the innermost part from the one or more patch containers according to the inclusion relation and taking the patch container positioned at the innermost part as the target patch container.
The embodiment of the invention also discloses a readable storage medium, which enables the electronic equipment to execute the interest point data processing method according to any one of the embodiments of the invention when the instructions in the storage medium are executed by the processor of the electronic equipment.
The embodiment of the invention also discloses an electronic device, which comprises a memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors, and the one or more programs comprise instructions for:
acquiring interest point data, wherein the interest point data comprises names of sub points and coordinates of the sub points;
determining a sub-point abbreviation corresponding to the sub-point according to the name of the sub-point;
determining one or more patch containers to which the sub-points belong according to the coordinates of the sub-points, and determining a target patch container from the one or more patch containers;
generating a construction name of the sub-point by adopting the target fragment container and the sub-point for short;
acquiring the alias corresponding to the child point according to the fragment container;
and determining a target name according to the alias corresponding to the sub point and the construction name, and replacing the name of the sub point in the interest point data with the target name.
Optionally, the replacing the target name with the name of the sub point in the point of interest data includes:
Judging whether azimuth words exist in the sub-point short or not;
if azimuth words exist in the sub-points, determining a direction area of the sub-points in the target film zone container according to the coordinates of the sub-points, and judging whether the azimuth words accord with azimuth conditions according to the direction area;
and if the direction word meets the azimuth condition, replacing the name of the sub point in the interest point data with the target name.
Optionally, the determining the target name according to the alias corresponding to the sub point and the constructional name includes:
judging whether the construction name exists in the aliases corresponding to the sub points;
and if the construction name exists in the alias corresponding to the child point, determining that the construction name is the target name.
Optionally, the method further comprises:
if the alias corresponding to the child point does not contain the construction name, performing expansion processing on the child point, and generating a plurality of first construction names according to the expanded child point;
and determining names in aliases corresponding to the child points from the plurality of first construction names as the target names.
Optionally, the expanding processing is performed on the sub-point abbreviation, and a plurality of first construction names are generated according to the expanded sub-point abbreviation, including:
And expanding the sub-point abbreviations according to the direction names and/or expanding according to the numerical values, and generating a plurality of first construction names according to the expanded sub-point abbreviations.
Optionally, the method further comprises:
when the aliases corresponding to the sub points do not exist, determining partition words in the target fragment container, and deleting the partition words;
determining a name container corresponding to the child point according to the name of the child point, and determining the similarity between the target fragment container and the name container after deleting the partition word;
if the similarity is greater than a preset threshold, generating a second construction name according to the target fragment container and the sub-point abbreviation after deleting the partition word;
and replacing the name of the sub point in the interest point data with the second construction name.
Optionally, the determining a target tile container from the one or more tile containers includes:
and determining inclusion relations among the one or more patch containers, and determining from the one or more patch containers according to the inclusion relations, wherein the patch container positioned at the innermost part is used as the target patch container.
The embodiment of the invention has the following advantages:
In the embodiment of the invention, the name of the sub point (such as a door or an entrance) is utilized to separate the name container of the sub point, then the region container of the sub point is found according to the coordinates of the sub point, and the names of the sub point are corrected through the region container of the sub point and the alias of the sub point, so that the wrong name of the sub point is prevented from delaying the trip of people.
Drawings
FIG. 1 is a flow chart of steps of an embodiment of a method for processing point of interest data according to the present invention;
FIG. 2 is a schematic illustration of a region center point of the present invention;
FIG. 3 is a schematic illustration of a directional zone of one directional zone of the present invention;
FIG. 4 is a schematic illustration of the area in which a seed point of the present invention is located;
FIG. 5 is a schematic illustration of the area of another seed point of the present invention;
FIG. 6 is a schematic illustration of the area of another seed point of the present invention;
FIG. 7 is a block diagram illustrating an embodiment of a point of interest data processing apparatus of the present invention;
FIG. 8 illustrates a block diagram of an electronic device for point of interest data processing, according to an exemplary embodiment;
fig. 9 is a schematic structural view of an electronic device for point of interest data processing according to another exemplary embodiment of the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
Point of interest POI: all geographical objects that can be abstracted into points, especially some geographical entities closely related to people's life, usually contain attributes such as names, coordinates, addresses, types (tags), etc. In the geographic information, a house, a company, a district, a door, a parking lot, a bus station, etc. can be a POI.
Main sub point relationship: described are associations between POIs. Typically include nominally associative relationships and inclusive relationships between regional facets, such as:
(1) Main sub-point relationship established by inclusion relationship between regional faces: the park where the 'dog searching map' is located is the 'dog searching technical garden', and the POI 'dog searching map' and the POI 'dog searching technical garden' can be described as a main point and a sub point, and the 'dog searching map' is called a main point.
(2) Main and sub point relations established through association relations between names: describing the POI 'search fox network building-east door' and the POI 'search fox network building' as main sub-point relations, and the 'search fox network building' is called a main point and the 'search fox network building-east door' is called a sub-point;
Sub-points are abbreviated as: the child point name after the main point name part is removed may or may not be abbreviated. As in the relationship in "(1)" above, the sub-point "dog search map" is not abbreviated; in the relation in "(2)", the sub-point "search fox network building-dong" is abbreviated as "dong";
name container: the main points in the main points and the sub points which are related by the names are name containers, and the 'search fox network building' in the (2) above is the name container;
sheet zone container: the main point of the main points and the sub points related by the regional surface is a region container, and the 'Qinghua science and technology park' in the "(1) above is a region container.
In the prior art, the names in the POIs may be wrong, and a pedestrian is given with a lot of trouble, so that the names in the POIs need to be corrected. In the embodiment of the invention, the interest point data comprises the names of the sub points and the coordinates of the sub points by acquiring the interest point data; determining a sub-point abbreviation corresponding to the sub-point according to the name of the sub-point; determining one or more patch containers to which the sub-points belong according to the coordinates of the sub-points, and determining a target patch container from the one or more patch containers; generating a construction name of the sub-point according to the target fragment container and the sub-point abbreviation; acquiring the alias corresponding to the child point according to the fragment container; and determining a target name according to the alias corresponding to the sub point and the construction name, and replacing the name of the sub point in the interest point data with the target name. Thus, the delay of people's travel by the wrong name of the sub-point is avoided.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a method for processing point of interest data according to the present invention may specifically include the steps of:
step 101, acquiring interest point data, wherein the interest point data comprises names of sub points and coordinates of the sub points;
the interest point data may include information such as names of sub points, coordinates of the sub points, and the like, where the sub points may be gates or entrances, and the coordinates of the sub points include a series of longitude and latitude coordinates, and an area corresponding to the sub points may be determined according to the longitude and latitude coordinates. The name of a child point is composed of a name container (i.e., a main point) corresponding to the child point and a child point abbreviation, for example, the name of the child point is: if the Jia Ming Zhong-nan Men, the "Jia Ming Zhong" is the name container corresponding to the child point, and the "nan Men" is the abbreviation of the child point.
Step 102, determining a sub-point abbreviation corresponding to the sub-point according to the name of the sub-point;
in a specific implementation, a name container corresponding to the sub-point and a sub-point abbreviation can be obtained by separating the names of the sub-points.
Step 103, determining one or more fragment containers to which the sub-points belong according to the coordinates of the sub-points, and determining a target fragment container from the one or more fragment containers;
Specifically, the area where the sub-point is located may be determined according to the coordinates of the sub-point, and further, one or more tile containers to which the sub-point belongs may be determined according to the area where the sub-point is located, for example, the tile container to which the sub-point belongs is determined according to the coordinates of the sub-point: and the F region of the Jiaming Tung city. Further, a target tile container may be determined from one or more tile containers to which the child point belongs, the target tile container being the closest or innermost tile of the child point, e.g., the region F of the city of jakob.
Step 104, adopting the target area container and the sub-point abbreviation to generate the construction name of the sub-point;
specifically, the name of the child point may be reconstructed by combining the target tile container and the child point to generate the name of the child point, for example, the target tile container is: the Jiaming Tung City F region, the shorthand of child points is: south door, then generate the constructional name of the child point as: jiaming Tung City F area-Nanjing.
Step 105, obtaining the alias corresponding to the child point according to the fragment container;
the sub-point alias is a name outside the sub-point formal or standard name. The aliases of the child points can be determined from the collected user feedback information, in some application scenarios, the aliases of the child points can be collected by different users (such as a door or an entrance) on the same child point, and the aliases of the child points can be, for example, the aliases of the child points can be a Jiang Tong city F region-south door, a Jiang Tong city F region-south 1 door, a Jiang Tong city F region-south 2 door, and the like.
And 106, determining a target name according to the alias corresponding to the sub point and the construction name, and replacing the name of the sub point in the interest point data with the target name.
Specifically, by judging whether the construction name exists in the alias corresponding to the child point, when the construction name exists in the alias corresponding to the child point, the construction name can be directly determined as the target name, for example, if the ' Jiang city F region-south door ' exists in the alias of the child point, the target name is determined as the ' Jiang city F region-south door ', and the name of the child point's ' Jiang city-south door ' is corrected to be the ' Jiang city F region-south door '.
In a preferred embodiment of the present invention, the step 106 may specifically include the following sub-steps:
judging whether azimuth words exist in the sub-point short or not;
if azimuth words exist in the sub-points, determining a direction area of the sub-points in the target film area container according to the coordinates of the sub-points, and judging whether the azimuth words accord with azimuth conditions according to the direction area;
and if the direction word meets the azimuth condition, replacing the name of the sub point in the interest point data with the target name.
In the embodiment of the invention, when the names of the sub points in the interest point data are replaced by the target names, whether the azimuth words in the target names are reasonable or not can be further judged, so that when the azimuth words are reasonable, the names of the sub points in the interest point data are replaced by the target names.
Specifically, it may be determined whether there is an azimuth in the shorthand of the sub-point, for example, the sub-point is simply called "south door", and if the sub-point is called "south" the azimuth, it is determined that there is an azimuth in the shorthand of the sub-point. If there is an azimuth word in the shorthand of the sub-point, determining the direction area of the sub-point in the target patch container according to the coordinates of the sub-point, in the specific implementation, firstly calculating the center point of the patch (i.e. the target patch container): obtaining minimum and maximum longitude coordinates according to the longitude coordinates of the patch, namely obtaining Xmax and Xmin; obtaining minimum and maximum latitude coordinates according to the latitude coordinates of the patch, namely obtaining Ymax and Ymin; the coordinates of the center point can be calculated as: longitude coordinate= (xmin+xmax)/2, latitude coordinate= (ymin+ymax)/2. The region division is performed according to the center point of the tile, for example, the tile is divided into an east region, a west region, a south region, a north region, a southeast region, a southwest region, a northwest region, and a northeast region, as shown in fig. 2. Then, according to the coordinates of the sub-points, it can be determined whether the sub-points belong to the direction area of the target area container, for example, whether the "Jiang Tongcheng F area-Nanma" belongs to the south area of the area container "Jiang Tongcheng F area".
Further, whether the direction word meets the azimuth condition can be judged according to the direction region, if the direction word meets the azimuth condition, the target name is replaced by the name of the sub point in the interest point data, for example, the direction region to which the azimuth word belongs is 'south' is 'south region', and if the direction word meets the azimuth condition, the direction word is considered to meet the azimuth condition. In a specific implementation, as the directions of construction of different geographic entities are different, it may be set that as long as the direction word is not a reverse region of the direction region to which the corresponding sub-point belongs, the direction word is considered to conform to the azimuth condition, for example, the direction region to which the sub-point belongs is a "south region", the reverse region of the "south region" is a "north region", and as long as the direction word is not a "north" the direction word is considered to conform to the azimuth condition. As shown in fig. 3, the "non-east region" is a reverse region of the east region, the "non-west region" is a reverse region of the west region, the "non-south region" is a reverse region of the south region, the "non-north region" is a reverse region of the north region, the "non-southeast region" is a reverse region of the southeast region, the "non-southwest region" is a reverse region of the southwest region, the "non-northwest region" is a reverse region of the northwest region, and the "non-northeast region" is a reverse region of the northeast region.
In a preferred embodiment of the present invention, the step 106 includes:
judging whether the construction name exists in the aliases corresponding to the sub points; and if the construction name exists in the alias corresponding to the child point, determining that the construction name is the target name.
In the embodiment of the invention, whether the construction name exists in the alias corresponding to the sub point is judged; if the construction name exists in the alias corresponding to the child point, the construction name can be directly determined to be the target name, for example, if the 'Jiang city F region-south door' exists in the child point alias, the target name is determined to be the 'Jiang city F region-south door'.
In a preferred embodiment of the present invention, the step 106 further includes:
if the structural name does not exist in the aliases corresponding to the sub points, performing expansion processing on the sub points, and generating a plurality of first structural names; and determining names in aliases corresponding to the child points from the plurality of first construction names as the target names.
The first construction name refers to the name obtained by reconstructing after expanding the abbreviation of the sub-point. In the embodiment of the invention, if the structure name does not exist in the alias corresponding to the child point, the extension processing can be performed on the abbreviation of the child point to obtain a plurality of first structure names, for example, the first structure names can be extended in a synonymous replacement mode. Further, from the plurality of first construction names, a name belonging to an alias corresponding to the child point may be determined as the target name.
In a preferred embodiment of the present invention, the expanding process is performed on the sub-points to obtain a plurality of first construction names, including:
and expanding the sub-points according to the direction names and/or the numerical values to obtain a plurality of first construction names.
Specifically, by expanding the shorthand of the child point according to the direction name, for example, the shorthand of the child point is called "siemens", and the shorthand of the child point is called "siemens" and "northwest". Alternatively, the shorthand for the child point is extended by numerical values, for example, the shorthand for the child point is extended to be "siemens 1", "siemens 2", … "siemens". Alternatively, "southwest 1 door", "southwest 2 door", … "southwest N door", "northwest 1 door", "northwest 2 door", … "northwest N door" are extended by shorthand of child points according to direction names and according to numerical values.
Further, a plurality of first construction names are obtained by reconstructing according to the target patch container and the expanded sub-point abbreviation, for example, "Rui Du International south area-Siemens door", "Rui Du International south area-northwest door", "Rui Du International south area-Siemens 1 door", "Rui Du International south area-Siemens 2 door" … "Rui Du International south area-northwest N door" and the like.
In a preferred embodiment of the invention, the method further comprises:
when the aliases corresponding to the sub points do not exist, determining partition words in the target fragment container, and deleting the partition words;
determining a name container corresponding to the child point according to the name of the child point, and determining the similarity between the target fragment container and the name container after deleting the partition word;
if the similarity is greater than a preset threshold, generating a second construction name according to the target fragment container and the sub-point abbreviation after deleting the partition word;
and replacing the name of the sub point in the interest point data with the second construction name.
In the embodiment of the invention, when the aliases corresponding to the sub-points do not exist, the partition words in the target fragment container are determined, and the partition words are deleted, for example, the partition words in the 'golden field park-north region' are the 'north region', and the golden field park is changed into the 'golden field park' after the partition words are removed.
And then, determining a name container corresponding to the sub-point by separating the name of the sub-point, and calculating the similarity between the target fragment container and the name container after deleting the partition word. In a specific implementation, the similarity is calculated as follows: step 1: removing the administrative division part in the names of the patch container and the name container respectively; step 2: obtaining the maximum public substring from the names of the district containers and the names of the name containers after the administrative division is removed; step 3: calculating the duty ratio of the maximum public substring in each name; step 4: when the maximum public substring duty ratio reaches more than a preset threshold (such as 80%) of the original name (excluding administrative division parts), whether the non-public substring parts contain different direction words and digital characters needs to be continuously detected, and if the different direction words or the digital characters exist, the similarity is reduced to 0.
And judging whether the similarity is larger than a preset threshold value, if so, generating a second construction name according to the target fragment container and the sub-point abbreviation after deleting the partition word, and replacing the name of the sub-point in the interest point data with the second construction name. Wherein the preset threshold is a preset critical value, for example, the preset threshold is 80%, and if the similarity exceeds 80%, the name of the second structure generated by the new structure is used as the name of the sub-point.
In a preferred embodiment of the present invention, determining a target tile container from the one or more tile containers comprises:
and determining inclusion relations among the one or more patch containers, and determining from the one or more patch containers according to the inclusion relations, wherein the patch container positioned at the innermost part is used as the target patch container.
The innermost segment container is the smallest segment container among all segment containers to which the sub-point belongs. By first determining the inclusion relationship between all the segment containers to which the sub-points belong, and then selecting the innermost segment container as the target segment container according to the inclusion relationship, specifically, the innermost segment container can be determined by the following two ways:
Case 1: if the patch container is an inclusion relationship, the contained patch container is the innermost patch container; case 2: if the segment containers are in an intersecting relationship, the intersecting portion needs to occupy more than a certain proportion, such as 80%, of the area of one segment container and no more than a certain proportion, such as 20%, of the area of the other segment container, and the segment container satisfying the condition is the innermost segment container.
Embodiments of the present invention are explained below in three examples.
First case: the name of the target fragment container and the child point in the alias of the child point is shown in fig. 4, 401 is the position of the original child point of Jiaming Tung city-Nanma; the area surrounded by 402 is a sheet area container 'Jiaming Tung city F area' at the innermost part of the sub-points; the area enclosed by 403 is the principal point name container "Jiaming Tung City".
(1) Assume that the names of original sub-points in the point of interest data are: jiaming tung city-south door.
(2) Name container of principal point: jiaming tung city;
(3) Sub-points are abbreviated as: a south door;
(4) The sub-point belongs to a region container: a city of jatropha, region F of jatropha;
(5) The innermost extent container (i.e., the target extent container) to which the child points belong: a region F of jatropha curcas;
(6) Reconstructing the child point name by using the innermost fragment container to which the child point belongs: jiaming Tung City F district-Nanjing;
(7) The reconstructed child point name happens to exist in the child point alias: jiaming Tung City F district-Nanjing;
(8) Judging whether azimuth words in the newly constructed sub-point names meet azimuth conditions of the direction areas of the sub-points in the innermost zone container, namely judging whether the 'Jiaming Tung City F zone-Nanma' belongs to the south area of the zone container 'Jiaming Tung City F zone';
(9) If both (7) and (8) are true, the newly constructed child point name is determined as the child point name, that is, "Jiaming Tung City F area-south door" is determined as the new child point name.
Second case: after the sub-points are simply called as synonymous replacement, the name just after the sub-points are simply called as a sub-point by using the name of the 'patch container name+the sub-points after synonymous', as shown in fig. 5, 501 is the position of the original sub-point 'Rui Du International-Siemens'; the area enclosed by 502 is the interior-most sheet area container of the sub-points 'Ruidu International south area'; 503 is the main point name container "Ruidu International";
(1) Assume that the names of original sub-points in the point of interest data are: rui du international-siemens;
(2) Principal point name container: rui du international;
(3) Sub-points are abbreviated as: a Siemens door;
(4) The sub-point belongs to a region container: a Rui Du International, rui Du International south area;
(5) The innermost region container to which the child point belongs: a Rui Du International south district;
(6) Reconstructing the child point name by using the innermost fragment container to which the child point belongs: rui Du International south district-Siemens;
(7) From the aliases of the child points, no newly constructed 'Rui Du International south area-Siemens' can be found;
then expanding the sub-point abbreviation, including direction name expansion and gate number expansion, namely: southwest portal, northwest portal, siemens 1 portal, siemens 2 portal, … siemens 1 portal, southwest 2 portal, … southwest N portal, northwest 1 portal, northwest 2 portal, … northwest N portal, and then recombined into a new name with the innermost patch container name to which the child point belongs and the newly extended child point abbreviation, for example, can be combined into: the Ruidu international south area-Siemens gate, the Ruidu international south area-northwest gate, the Ruidu international south area-Siemens 1 gate, the Ruidu international south area-Siemens 2 gate … and the Ruidu international south area-northwest N gate;
(8) Matching the reconstructed child point name with the child point alias, and as an example, assuming that the reconstructed child point name 'Rui Du International south area-southwest 3 gate' exists in the child point alias;
(9) Judging whether azimuth words in the newly constructed sub-point names meet azimuth conditions of the direction areas of the sub-points in the innermost piece area container, namely judging whether the 'Rui Du International south area-southwest 3 door' belongs to southwest areas of the piece area container 'Rui Du International south area';
(10) If both (8) and (9) above are true, then the newly constructed child point name is determined as the child point name, i.e. "Jia Rui Du International south district-southwest 3 gate" is determined as the new child point name.
Third case: the name container has no partition (stage), the partition container has partition (stage), the names of the partition container and the name container are highly similar, the original sub-point name is replaced by the name of the partition + the sub-point for short, as shown in fig. 6, wherein 601 is the position of the original sub-point 'Jintian park-dong door'; the area surrounded by 602 is the innermost piece area container of the sub-point 'Jintian park-north area'; 603 is a main point name container "jinyan park".
(1) Assume that the names of original sub-points in the point of interest data are: gold field park-east door;
(2) Principal point name container: gold field park;
(3) Sub-points are abbreviated as: east door;
(4) The child points belong to the region container: gold field park, gold field park-north area;
(5) The innermost region container to which the child point belongs: gold field park-north area;
(6) Reconstructing the child point name by using the innermost fragment container to which the child point belongs: gold park-north district-east door;
(7) Finding that no alias record exists in the child point, so that the child point cannot be processed by the first case and the second case;
(8) Partition or stage information is removed from the partition container: the golden field park-north area is changed into golden field park after the regional information of the golden field park-north area is removed;
(9) And (3) performing similarity calculation on the names of the fragment area containers after removing the partition information and the names of the main point name containers, and if the similarity exceeds 80%, using the newly constructed names as the recommended names of the sub points: calculating the similarity of 'Jintian park' and 'Jintian park', and obtaining the similarity of 100 percent (more than 80 percent), namely using 'Jintian park-North area-east gate' as the name of a new sub-point;
(10) If the newly recommended sub-point name has a direction word, further judging whether the direction word in the newly recommended sub-point name accords with the direction condition of the direction region of the sub-point in the innermost film region container, namely judging whether the 'Jintian park-North region-Dongmen' is in the eastern region of the 'Jintian park-North region';
(11) If both (9) and (10) above are true, then the newly constructed sub-point name is determined as the sub-point name, i.e. "gold park-north area-east gate" is determined as the new sub-point name.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
Referring to FIG. 7, there is shown a block diagram of an embodiment of a point of interest data processing apparatus of the present invention, which may include the following modules in particular:
the data acquisition module 701 is configured to acquire interest point data, where the interest point data includes a name of a sub-point and coordinates of the sub-point;
the name separation module 702 is configured to determine a sub-point abbreviation corresponding to the sub-point according to the name of the sub-point;
a target tile container determining module 703, configured to determine one or more tile containers to which the child points belong according to the coordinates of the child points, and determine a target tile container from the one or more tile containers;
A first name construction module 704, configured to generate a construction name of the child point by adopting the target tile container and the child point for short;
the alias obtaining module 705 is configured to obtain an alias corresponding to the child point according to the tile container;
and a name replacing module 706, configured to determine a target name according to the alias corresponding to the child point and the constructional name, and replace the name of the child point in the interest point data with the target name.
In a preferred embodiment of the present invention, the name substitution module 706 includes:
the azimuth word judging sub-module is used for judging whether azimuth words exist in the sub-point short;
the azimuth area judging sub-module is used for determining the direction area of the sub-point in the target film area container according to the coordinates of the sub-point if azimuth words exist in the sub-point, and judging whether the azimuth words accord with azimuth conditions according to the direction area;
and the name replacing sub-module is used for replacing the name of the sub-point in the interest point data with the target name if the direction word meets the azimuth condition.
In a preferred embodiment of the present invention, the name substitution module 706 includes:
The alias judgment sub-module is used for judging whether the construction name exists in the aliases corresponding to the sub-points;
and the first name determining submodule is used for determining that the construction name is the target name if the construction name exists in the alias corresponding to the child point.
In a preferred embodiment of the present invention, the name substitution module 706 further includes:
the name construction sub-module is used for expanding the sub-point abbreviation if the construction name does not exist in the alias corresponding to the sub-point, and generating a plurality of first construction names according to the expanded sub-point abbreviation;
and the second name determining submodule is used for determining names in aliases corresponding to the child points from the plurality of first construction names as the target names.
In a preferred embodiment of the present invention, the name construction sub-module includes:
the name construction unit is used for expanding the sub-points according to the direction names and/or the numerical values, and generating a plurality of first construction names according to the expanded sub-points.
In a preferred embodiment of the invention, the device further comprises:
the partition word deleting module is used for determining partition words in the target fragment container and deleting the partition words when the aliases corresponding to the sub points do not exist;
The similarity determining module is used for determining a name container corresponding to the sub point according to the name of the sub point and determining the similarity between the target fragment container and the name container after deleting the partition word;
the second name construction module is used for generating a second construction name according to the target fragment container and the sub-point abbreviation after deleting the partition word if the similarity is larger than a preset threshold;
and the second name replacing module is used for replacing the names of the sub-points in the interest point data with the second construction name.
In a preferred embodiment of the present invention, the target tile container determining module 703 includes:
and the target patch container determining submodule is used for determining the inclusion relation among the one or more patch containers, determining the patch container positioned at the innermost part from the one or more patch containers according to the inclusion relation and taking the patch container positioned at the innermost part as the target patch container.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
Fig. 8 is a block diagram illustrating an electronic device 800 for point of interest data processing, according to an example embodiment. For example, electronic device 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, smart wearable device, or the like.
Referring to fig. 8, an electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing element 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interactions between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 806 provides power to the various components of the electronic device 800. Power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for electronic device 800.
The multimedia component 808 includes a screen between the electronic device 800 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. When the electronic device 800 is in an operational mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the electronic device 800. For example, the sensor assembly 814 may detect an on/off state of the device 800, a relative positioning of the components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in position of the electronic device 800 or a component of the electronic device 800, the presence or absence of a user's contact with the electronic device 800, an orientation or acceleration/deceleration of the electronic device 800, and a change in temperature of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the electronic device 800 and other devices, either wired or wireless. The electronic device 800 may access a wireless network based on a communication standard, such as WiFi,2G, or 3G, or a combination thereof. In one exemplary embodiment, the communication part 814 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 814 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 804 including instructions executable by processor 820 of electronic device 800 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
A non-transitory computer readable storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform a point of interest data processing method, the method comprising:
acquiring interest point data, wherein the interest point data comprises names of sub points and coordinates of the sub points;
determining a sub-point abbreviation corresponding to the sub-point according to the name of the sub-point;
determining one or more patch containers to which the sub-points belong according to the coordinates of the sub-points, and determining a target patch container from the one or more patch containers;
generating a construction name of the sub-point by adopting the target fragment container and the sub-point for short;
acquiring the alias corresponding to the child point according to the fragment container;
and determining a target name according to the alias corresponding to the sub point and the construction name, and replacing the name of the sub point in the interest point data with the target name.
Optionally, the replacing the target name with the name of the sub point in the point of interest data includes:
judging whether azimuth words exist in the sub-point short or not;
if azimuth words exist in the sub-points, determining a direction area of the sub-points in the target film zone container according to the coordinates of the sub-points, and judging whether the azimuth words accord with azimuth conditions according to the direction area;
And if the direction word meets the azimuth condition, replacing the name of the sub point in the interest point data with the target name.
Optionally, the determining the target name according to the alias corresponding to the sub point and the constructional name includes:
judging whether the construction name exists in the aliases corresponding to the sub points;
and if the construction name exists in the alias corresponding to the child point, determining that the construction name is the target name.
Optionally, the method further comprises:
if the alias corresponding to the child point does not contain the construction name, performing expansion processing on the child point, and generating a plurality of first construction names according to the expanded child point;
and determining names in aliases corresponding to the child points from the plurality of first construction names as the target names.
Optionally, the expanding processing is performed on the sub-point abbreviation, and a plurality of first construction names are generated according to the expanded sub-point abbreviation, including:
and expanding the sub-point abbreviations according to the direction names and/or expanding according to the numerical values, and generating a plurality of first construction names according to the expanded sub-point abbreviations.
Optionally, the method further comprises:
When the aliases corresponding to the sub points do not exist, determining partition words in the target fragment container, and deleting the partition words;
determining a name container corresponding to the child point according to the name of the child point, and determining the similarity between the target fragment container and the name container after deleting the partition word;
if the similarity is greater than a preset threshold, generating a second construction name according to the target fragment container and the sub-point abbreviation after deleting the partition word;
and replacing the name of the sub point in the interest point data with the second construction name.
Optionally, the determining a target tile container from the one or more tile containers includes:
and determining inclusion relations among the one or more patch containers, and determining from the one or more patch containers according to the inclusion relations, wherein the patch container positioned at the innermost part is used as the target patch container.
Fig. 9 is a schematic structural view of an electronic device 900 for information recommendation according to another exemplary embodiment of the present invention. The electronic device 900 may be a server that may vary considerably in configuration or performance and may include one or more central processing units (central processing units, CPU) 922 (e.g., one or more processors) and memory 932, one or more storage media 930 (e.g., one or more mass storage devices) that store applications 942 or data 944. Wherein the memory 932 and the storage medium 930 may be transitory or persistent. The program stored in the storage medium 930 may include one or more modules (not shown), each of which may include a series of instruction operations on a server. Still further, the central processor 922 may be arranged to communicate with a storage medium 930, and execute a series of instruction operations in the storage medium 930 on a server.
The server(s) may also include one or more power supplies 926, one or more wired or wireless network interfaces 950, one or more input/output interfaces 958, one or more keyboards 956, and/or one or more operating systems 941, such as Windows ServerTM, mac OS XTM, unixTM, linuxTM, freeBSDTM, and the like.
An electronic device comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors, the one or more programs comprising instructions for:
acquiring interest point data, wherein the interest point data comprises names of sub points and coordinates of the sub points;
determining a sub-point abbreviation corresponding to the sub-point according to the name of the sub-point;
determining one or more patch containers to which the sub-points belong according to the coordinates of the sub-points, and determining a target patch container from the one or more patch containers;
generating a construction name of the sub-point by adopting the target fragment container and the sub-point for short;
acquiring the alias corresponding to the child point according to the fragment container;
And determining a target name according to the alias corresponding to the sub point and the construction name, and replacing the name of the sub point in the interest point data with the target name.
Optionally, the replacing the target name with the name of the sub point in the point of interest data includes:
judging whether azimuth words exist in the sub-point short or not;
if azimuth words exist in the sub-points, determining a direction area of the sub-points in the target film zone container according to the coordinates of the sub-points, and judging whether the azimuth words accord with azimuth conditions according to the direction area;
and if the direction word meets the azimuth condition, replacing the name of the sub point in the interest point data with the target name.
Optionally, the determining the target name according to the alias corresponding to the sub point and the constructional name includes:
judging whether the construction name exists in the aliases corresponding to the sub points;
and if the construction name exists in the alias corresponding to the child point, determining that the construction name is the target name.
Optionally, the method further comprises:
if the alias corresponding to the child point does not contain the construction name, performing expansion processing on the child point, and generating a plurality of first construction names according to the expanded child point;
And determining names in aliases corresponding to the child points from the plurality of first construction names as the target names.
Optionally, the expanding processing is performed on the sub-point abbreviation, and a plurality of first construction names are generated according to the expanded sub-point abbreviation, including:
and expanding the sub-point abbreviations according to the direction names and/or expanding according to the numerical values, and generating a plurality of first construction names according to the expanded sub-point abbreviations.
Optionally, the method further comprises:
when the aliases corresponding to the sub points do not exist, determining partition words in the target fragment container, and deleting the partition words;
determining a name container corresponding to the child point according to the name of the child point, and determining the similarity between the target fragment container and the name container after deleting the partition word;
if the similarity is greater than a preset threshold, generating a second construction name according to the target fragment container and the sub-point abbreviation after deleting the partition word;
and replacing the name of the sub point in the interest point data with the second construction name.
Optionally, the determining a target tile container from the one or more tile containers includes:
And determining inclusion relations among the one or more patch containers, and determining from the one or more patch containers according to the inclusion relations, wherein the patch container positioned at the innermost part is used as the target patch container.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or terminal device comprising the element.
The invention provides a method for processing point of interest data, a device for processing point of interest data and an electronic device, which are described in detail, wherein specific examples are applied to illustrate the principle and the implementation of the invention, and the description of the above examples is only used for helping to understand the method and the core idea of the invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (15)

1. A method of point of interest data processing, the method comprising:
acquiring interest point data, wherein the interest point data comprises names of sub points and coordinates of the sub points;
determining a sub-point abbreviation corresponding to the sub-point according to the name of the sub-point;
determining one or more patch containers to which the sub-points belong according to the coordinates of the sub-points, and determining a target patch container from the one or more patch containers;
generating a construction name of the sub-point by adopting the target fragment container and the sub-point for short;
acquiring the alias corresponding to the child point according to the fragment container;
and determining a target name according to the alias corresponding to the sub point and the construction name, and replacing the name of the sub point in the interest point data with the target name.
2. The method of claim 1, wherein replacing the target name with the name of a child point in the point of interest data comprises:
judging whether azimuth words exist in the sub-point short or not;
if azimuth words exist in the sub-points, determining a direction area of the sub-points in the target film zone container according to the coordinates of the sub-points, and judging whether the azimuth words accord with azimuth conditions according to the direction area;
And if the direction word meets the azimuth condition, replacing the name of the sub point in the interest point data with the target name.
3. The method of claim 1, wherein the determining the destination name from the alias corresponding to the child point and the construct name comprises:
judging whether the construction name exists in the aliases corresponding to the sub points;
and if the construction name exists in the alias corresponding to the child point, determining that the construction name is the target name.
4. A method according to claim 3, further comprising:
if the alias corresponding to the child point does not contain the construction name, performing expansion processing on the child point, and generating a plurality of first construction names according to the expanded child point;
and determining names in aliases corresponding to the child points from the plurality of first construction names as the target names.
5. The method of claim 4, wherein expanding the sub-point abbreviations and generating a plurality of first construct names according to the expanded sub-point abbreviations comprises:
and expanding the sub-point abbreviations according to the direction names and/or expanding according to the numerical values, and generating a plurality of first construction names according to the expanded sub-point abbreviations.
6. The method according to claim 1, wherein the method further comprises:
when the aliases corresponding to the sub points do not exist, determining partition words in the target fragment container, and deleting the partition words;
determining a name container corresponding to the child point according to the name of the child point, and determining the similarity between the target fragment container and the name container after deleting the partition word;
if the similarity is greater than a preset threshold, generating a second construction name according to the target fragment container and the sub-point abbreviation after deleting the partition word;
and replacing the name of the sub point in the interest point data with the second construction name.
7. The method of claim 1, wherein determining a target tile container from the one or more tile containers comprises:
and determining inclusion relations among the one or more patch containers, and determining from the one or more patch containers according to the inclusion relations, wherein the patch container positioned at the innermost part is used as the target patch container.
8. A point of interest data processing apparatus, the apparatus comprising:
the data acquisition module is used for acquiring interest point data, wherein the interest point data comprises names of sub points and coordinates of the sub points;
The name separation module is used for determining the name of the sub point corresponding to the sub point;
the target region container determining module is used for determining one or more region containers to which the sub-points belong according to the coordinates of the sub-points, and determining target region containers from the one or more region containers;
the first name construction module is used for generating the construction name of the sub-point by adopting the target fragment container and the sub-point for short;
the alias obtaining module is used for obtaining aliases corresponding to the sub points according to the fragment containers;
and the name replacing module is used for determining a target name according to the alias corresponding to the sub-point and the construction name, and replacing the name of the sub-point in the interest point data with the target name.
9. The apparatus of claim 8, wherein the name substitution module comprises:
the azimuth word judging sub-module is used for judging whether azimuth words exist in the sub-point short;
the azimuth area judging sub-module is used for determining the direction area of the sub-point in the target film area container according to the coordinates of the sub-point if azimuth words exist in the sub-point, and judging whether the azimuth words accord with azimuth conditions according to the direction area;
And the name replacing sub-module is used for replacing the name of the sub-point in the interest point data with the target name if the direction word meets the azimuth condition.
10. The apparatus of claim 8, wherein the name substitution module comprises:
the alias judgment sub-module is used for judging whether the construction name exists in the aliases corresponding to the sub-points;
and the first name determining submodule is used for determining that the construction name is the target name if the construction name exists in the alias corresponding to the child point.
11. The apparatus as recited in claim 10, further comprising:
the name construction sub-module is used for expanding the sub-point abbreviation if the construction name does not exist in the alias corresponding to the sub-point, and generating a plurality of first construction names according to the expanded sub-point abbreviation;
and the second name determining submodule is used for determining names in aliases corresponding to the child points from the plurality of first construction names as the target names.
12. The apparatus of claim 11, wherein the name construction sub-module comprises:
the name construction unit is used for expanding the sub-points according to the direction names and/or the numerical values, and generating a plurality of first construction names according to the expanded sub-points.
13. The apparatus of claim 8, wherein the apparatus further comprises:
the partition word deleting module is used for determining partition words in the target fragment container and deleting the partition words when the aliases corresponding to the sub points do not exist;
the similarity determining module is used for determining a name container corresponding to the sub point according to the name of the sub point and determining the similarity between the target fragment container and the name container after deleting the partition word;
the second name construction module is used for generating a second construction name according to the target fragment container and the sub-point abbreviation after deleting the partition word if the similarity is larger than a preset threshold;
and the second name replacing module is used for replacing the names of the sub-points in the interest point data with the second construction name.
14. An electronic device comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors, the one or more programs comprising a method for point of interest data processing according to any of method claims 1-7.
15. A readable storage medium, characterized in that instructions in said storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the point of interest data processing method according to any one of the method claims 1-7.
CN202111274825.9A 2021-10-29 2021-10-29 Point-of-interest data processing method and device and electronic equipment Pending CN116069958A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111274825.9A CN116069958A (en) 2021-10-29 2021-10-29 Point-of-interest data processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111274825.9A CN116069958A (en) 2021-10-29 2021-10-29 Point-of-interest data processing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN116069958A true CN116069958A (en) 2023-05-05

Family

ID=86171918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111274825.9A Pending CN116069958A (en) 2021-10-29 2021-10-29 Point-of-interest data processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN116069958A (en)

Similar Documents

Publication Publication Date Title
US9582937B2 (en) Method, apparatus and computer program product for displaying an indication of an object within a current field of view
KR101435803B1 (en) Communication and method of transmitting moving information therein
KR101430452B1 (en) Communication device and method of providing location information thereof
US8688070B2 (en) Location-based emergency information
KR101405945B1 (en) Communication and method of generating a moving history therein
KR101387513B1 (en) Communication and method of guiding the road therein
US8938355B2 (en) Human assisted techniques for providing local maps and location-specific annotated data
KR101405944B1 (en) Communication device and method of providing location information thereof
WO2017071075A1 (en) Smart method for directing user to take elevator and apparatus therefor
US20110197200A1 (en) Decoding location information in content for use by a native mapping application
CN109274732B (en) Geographic position obtaining method and device, electronic equipment and storage medium
KR101606586B1 (en) Geocoded data detection and user interfaces for same
CN105956091B (en) Extended information acquisition method and device
WO2017071562A1 (en) Positioning information processing method and apparatus
CN103916473A (en) Travel information processing method and relative device
CN104994125A (en) Information sending method and device and information displaying method and device
US20150099545A1 (en) Location information-based communication apparatus and method, and location information-based communication application apparatus
CN108241678B (en) Method and device for mining point of interest data
CN106464760B (en) Clock adding method and device
CN110426041B (en) Positioning and training method and device of positioning model, electronic equipment and storage medium
CN110928425A (en) Information monitoring method and device
EP3629199A1 (en) Method and device for pushing information
CN112711719A (en) Interest point searching method and device and readable storage medium
CN110488322B (en) Parking lot entrance and exit recognition method and device
CN116069958A (en) Point-of-interest data processing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40085705

Country of ref document: HK