CN109471909B - Method, apparatus and computer readable storage medium for address location - Google Patents

Method, apparatus and computer readable storage medium for address location Download PDF

Info

Publication number
CN109471909B
CN109471909B CN201811119523.2A CN201811119523A CN109471909B CN 109471909 B CN109471909 B CN 109471909B CN 201811119523 A CN201811119523 A CN 201811119523A CN 109471909 B CN109471909 B CN 109471909B
Authority
CN
China
Prior art keywords
address information
positioning
address
position coordinates
map
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
CN201811119523.2A
Other languages
Chinese (zh)
Other versions
CN109471909A (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.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China 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 Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201811119523.2A priority Critical patent/CN109471909B/en
Publication of CN109471909A publication Critical patent/CN109471909A/en
Application granted granted Critical
Publication of CN109471909B publication Critical patent/CN109471909B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/08Insurance
    • 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

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Navigation (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a data analysis technology, and discloses a method for positioning an address, which comprises the following steps: acquiring address information of a target client, and searching positioning points of the address information on a map based on a preset map engine; if a plurality of locating points are found, acquiring the position coordinates of the locating points, and calculating the position coordinates of the centroids of the locating points according to the acquired position coordinates; judging whether the positioning of the address information on the map is accurate or not according to the position coordinates of the positioning points and the position coordinates of the mass center; and if the positioning is accurate, updating the centroid to be a new positioning point of the address information. The invention also provides an address positioning device and a computer readable storage medium. The invention solves the technical problem of inaccurate positioning of the client address.

Description

Method, apparatus and computer readable storage medium for address location
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and apparatus for address location, and a computer readable storage medium.
Background
With the development of insurance services, more and more people start to apply insurance, currently, in the insurance industry, area management is generally performed by taking an area as a unit on the basis of dividing an area into areas, for example, the area is divided into a plurality of sales areas, the areas are allocated to different business staff, and the business staff goes to a customer place to transact related insurance services for the customers in the area and take charge of subsequent service of an insurance policy. Therefore, when the regional management is performed, the address of the client is accurately positioned, and a plurality of map engines provide positioning service in the market at present, but when the conventional map engines use keywords to search, the condition that one address corresponds to a plurality of positioning points often occurs, so that the positioning of the address of the client is inaccurate, and inconvenience is brought to business personnel.
Disclosure of Invention
The invention provides a method, a device and a computer readable storage medium for address location, which mainly aim to solve the technical problem of inaccurate address location of clients.
In order to achieve the above object, the present invention further provides a method for address location, the method comprising:
acquiring address information of a target client, and searching positioning points of the address information on a map based on a preset map engine;
if a plurality of locating points are found, acquiring the position coordinates of the locating points, and calculating the position coordinates of the centroids of the locating points according to the acquired position coordinates;
judging whether the positioning of the address information on the map is accurate or not according to the position coordinates of the positioning points and the position coordinates of the mass center;
and if the positioning is accurate, updating the centroid to be a new positioning point of the address information.
Optionally, the step of determining whether the location of the address information on the map is accurate according to the location coordinates of the plurality of locating points and the location coordinates of the centroid includes:
calculating the distance between each locating point and the mass center according to the position coordinates of the locating point and the position coordinates of the mass center;
and judging whether the positioning of the address information on the map is accurate or not according to the calculated distance, wherein if the distances from the positioning points to the mass centers are smaller than a preset threshold value, the positioning of the address information on the map is judged to be accurate, otherwise, the positioning of the address information on the map is judged to be inaccurate.
Optionally, after the step of determining whether the location of the address information on the map is accurate according to the location coordinates of the plurality of locating points and the location coordinates of the centroid, the method further includes:
if the positioning is inaccurate, determining a preset area to which the target client belongs, and acquiring a client list of the preset area from a database;
inquiring the clients with the address information identical to the address information of the target client in a preset range and calibrated according to the client list;
and updating the locating point of the address information of the client to be a new locating point of the address information of the target client.
Optionally, after the step of querying, according to the client list, the client whose address information is the same as that of the target client within a preset range and whose address information is calibrated, the method further includes:
if the client with the address information identical to the address information of the target client in the preset range and calibrated is not found, outputting prompt information based on a positioning point of the address information of the target client on a map so as to enable a user to manually calibrate the address information of the target client according to the prompt information;
and receiving a locating point set by a user for the address information, and updating the locating point to be a new locating point of the address information.
Optionally, after the step of querying, according to the client list, the client whose address information is the same as that of the target client within a preset range and whose address information is calibrated, the method further includes the steps of:
if one inquired client exists, executing the step of taking the locating point of the address information of the client as the locating point of the address information of the target client;
if a plurality of queried clients exist, displaying positioning points of address information of the clients on a map;
when a selection instruction triggered based on the displayed positioning point is received, the positioning point corresponding to the selection instruction is updated to be a new positioning point of the address information.
In addition, to achieve the above object, the present invention also provides an address locating apparatus, which includes a memory and a processor, wherein the memory stores an address locating program that can be executed on the processor, and the address locating program when executed by the processor implements the steps of:
acquiring address information of a target client, and searching positioning points of the address information on a map based on a preset map engine;
if a plurality of locating points are found, acquiring the position coordinates of the locating points, and calculating the position coordinates of the centroids of the locating points according to the acquired position coordinates;
judging whether the positioning of the address information on the map is accurate or not according to the position coordinates of the positioning points and the position coordinates of the mass center;
and if the positioning is accurate, updating the centroid to be a new positioning point of the address information.
Optionally, the step of determining whether the location of the address information on the map is accurate according to the location coordinates of the plurality of locating points and the location coordinates of the centroid includes:
calculating the distance between each locating point and the mass center according to the position coordinates of the locating point and the position coordinates of the mass center;
and judging whether the positioning of the address information on the map is accurate or not according to the calculated distance, wherein if the distances from the positioning points to the mass centers are smaller than a preset threshold value, the positioning of the address information on the map is judged to be accurate, otherwise, the positioning of the address information on the map is judged to be inaccurate.
Optionally, the address location program may be further executed by the processor to further implement the following steps after the step of determining whether the location of the address information on the map is accurate according to the position coordinates of the plurality of location points and the position coordinates of the centroid:
if the positioning is inaccurate, determining a preset area to which the target client belongs, and acquiring a client list of the preset area from a database;
inquiring the clients with the address information identical to the address information of the target client in a preset range and calibrated according to the client list;
and updating the locating point of the address information of the client to be a new locating point of the address information of the target client.
Optionally, the address location program may be further executed by the processor, so as to implement, after the step of querying, according to the client list, the clients whose address information is the same as that of the target client within a preset range and whose address information is calibrated, the following steps:
if the client with the address information identical to the address information of the target client in the preset range and calibrated is not found, outputting prompt information based on a positioning point of the address information of the target client on a map so as to enable a user to manually calibrate the address information of the target client according to the prompt information;
and receiving a locating point set by a user for the address information, and updating the locating point to be a new locating point of the address information.
In addition, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon an address location program executable by one or more processors to implement the steps of the method of address location as described above.
The address locating method, the address locating device and the computer readable storage medium provided by the invention are used for acquiring the address information of a target client and searching locating points of the address information on a map based on a preset map engine; if a plurality of locating points are found, acquiring the position coordinates of the locating points, and calculating the position coordinates of the centroids of the locating points according to the acquired position coordinates; judging whether the positioning of the address information on the map is accurate or not according to the position coordinates of the positioning points and the position coordinates of the mass center; if the positioning is accurate, the centroid is updated to be a new positioning point of the address information. By the scheme of the invention, a plurality of locating points of the client address information are integrated, the condition that one address corresponds to a plurality of locating points is solved, and the accuracy of locating the client address is improved.
Drawings
FIG. 1 is a flow chart illustrating a method for address location according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating an internal structure of an address location apparatus according to an embodiment of the present invention;
fig. 3 is a schematic block diagram of an address location program in an address location device according to an embodiment of the invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The invention provides a method for positioning an address. Referring to fig. 1, a flow chart of a method for address location according to an embodiment of the invention is shown. The method may be performed by an apparatus, which may be implemented in software and/or hardware.
In this embodiment, the method for address location includes:
step S10, obtaining address information of a target client, and searching positioning points of the address information on a map based on a preset map engine.
Step S20, if a plurality of locating points are found, the position coordinates of the locating points are obtained, and the position coordinates of the mass centers of the locating points are calculated according to the obtained position coordinates.
The preset map engine used in the embodiment of the invention can be the existing map engines such as a hundred-degree map, a high-German map and the like. Any one of which can be selected for searching; or searching by using a plurality of map engines at the same time, positioning by combining the search results of the map engines, and displaying the search results of the map on the same map display interface when searching by using the map engines.
When locating the address of a client, the client information of the client is called from a database, the address information of the client is obtained, the client is searched on a preset map engine according to the address information, locating points are obtained and displayed, and if a plurality of locating points exist in the search result, the current locating result is not an accurate locating result. After searching the address of the client, three ground points are displayed on the map, at the moment, the position coordinates of the three positioning points are obtained, the mass centers of the three position coordinates are calculated, and the position coordinates of the positioning points where the mass centers are located are obtained. It will be appreciated that when there are only two anchor points, the centroid is at the midpoint of the line connecting the two anchor points. And judging whether the address information is accurately positioned on the map according to the position coordinates of the positioning points and the mass centers.
And step S30, judging whether the positioning of the address information on the map is accurate or not according to the position coordinates of the positioning points and the position coordinates of the mass center.
And step S40, if the positioning is accurate, updating the centroid to be a new positioning point of the address information.
Specifically, the manner of judging whether the positioning is accurate according to the mass center is as follows: and calculating the distance between each positioning point and the mass center according to the position coordinates of the positioning point and the position coordinates of the mass center.
And judging whether the positioning of the address information on the map is accurate or not according to the calculated distance, wherein if the distances from the positioning points to the mass centers are smaller than a preset threshold value, the positioning of the address information on the map is judged to be accurate, otherwise, the positioning of the address information on the map is judged to be inaccurate.
The magnitude of the preset threshold value can be preset according to the requirements on positioning accuracy, the distribution density of the building and other factors. And calculating the distance between each locating point and the centroid, if the distances between each locating point and the centroid are smaller than a preset threshold value, determining that the degree of dispersion between the locating points is smaller, taking the centroid as the locating point corresponding to the address, and storing the position coordinates of the centroid and the address information in a correlated manner. The state of the address of the client may be marked as a calibrated state. And when the address information of the client is positioned on the map, firstly inquiring the state mark of the address of the client, judging whether the address is calibrated or not according to the state mark, if so, directly acquiring the position coordinate associated with the address mark, and displaying the corresponding positioning point on the map according to the position coordinate. If not, calibrating the address according to the steps.
Further, after step S30, the method further comprises the steps of:
if the positioning is inaccurate, determining a preset area to which the target client belongs, and acquiring a client list of the preset area from a database; inquiring the clients with the address information identical to the address information of the target client in a preset range and calibrated according to the client list; and updating the locating point of the address information of the client to be a new locating point of the address information of the target client.
If the distances from one or more locating points to the mass center in the locating points are larger than a preset threshold value, the fact that the degree of dispersion between the locating points is larger can be judged, the accuracy of the current locating result is judged to be lower, at the moment, the mass center is not used as the locating point, other clients with calibrated addresses, which are close to the address of the client, are searched from a client list, the address of a new client is migrated nearby by using locating information of the clients, namely, the locating point with the address closest to the address is selected from the clients with the similar addresses as the locating point of a target client.
In general, an address is expressed in terms of a hierarchical relationship of administrative areas. For example, a Shenzhen Futian region xx road xx number xx building, where in this address, the first level is a city level administrative region, the second level is a district level administrative region, "xx road" is the third level, it is a road section level, "xx number safe building" is the fourth level, it is a point of interest level, generally refers to a specific building, such as "xx building", "xx cell", and so on. In addition, the customer information generally includes more detailed address information after the fourth level, for example, the xx-way xx number xx cell xx-layer xx room of Shenzhen Futian district, in which, in the scheme, the same address in the preset range generally means that the information of the first four levels is the same, that is, only the information is needed to be located on the same specific building, and the more detailed address information under the fourth level may be different.
In this way, each time a new customer is added to the database, address targeting for that customer can be accomplished in both ways. Of course, it can be understood that if only one locating point exists on the map after searching according to the address information of the target client, the position coordinates of the locating point and the address information of the client are associated and stored.
Further, in another embodiment, after the step of querying, according to the client list, the clients whose address information is the same as that of the target client within a preset range and whose address information is calibrated, the method further includes the steps of:
if one inquired client exists, executing the step of taking the locating point of the address information of the client as the locating point of the address information of the target client; if a plurality of queried clients exist, displaying positioning points of address information of the clients on a map; when a selection instruction triggered based on the displayed positioning point is received, the positioning point corresponding to the selection instruction is updated to be a new positioning point of the address information.
Or in other embodiments, after the step of querying, according to the client list, the client whose address information is the same as that of the target client within a preset range and whose address information is calibrated, the method further includes:
if the client with the address information identical to the address information of the target client in the preset range and calibrated is not found, outputting prompt information based on a positioning point of the address information of the target client on a map so as to enable a user to manually calibrate the address information of the target client according to the prompt information; and receiving a locating point set by a user for the address information, and updating the locating point to be a new locating point of the address information.
The address locating method provided by the embodiment obtains the address information of the target client, and searches locating points of the address information on the map based on a preset map engine; if a plurality of locating points are found, acquiring the position coordinates of the locating points, and calculating the position coordinates of the centroids of the locating points according to the acquired position coordinates; judging whether the positioning of the address information on the map is accurate or not according to the position coordinates of the positioning points and the position coordinates of the mass center; if the positioning is accurate, the centroid is updated to be a new positioning point of the address information. By the scheme of the invention, a plurality of locating points of the client address information are integrated, the condition that one address corresponds to a plurality of locating points is solved, and the accuracy of locating the client address is improved.
The invention also provides an address positioning device. Referring to fig. 2, an internal structure of an address location apparatus according to an embodiment of the invention is shown.
In this embodiment, the address location device 1 may be a PC (Personal Computer ), or may be a terminal device such as a smart phone, a tablet computer, or a portable computer. The address locating device 1 comprises at least a memory 11, a processor 12, a network interface 13 and a communication bus.
The memory 11 includes at least one type of readable storage medium including flash memory, a hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the address-located device 1, e.g. a hard disk of the address-located device 1. The memory 11 may in other embodiments also be an external storage device of the address-oriented device 1, such as a plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card) or the like, provided on the address-oriented device 1. Further, the memory 11 may also comprise both an internal memory unit and an external memory device of the address-locating apparatus 1. The memory 11 can be used not only for storing application software installed in the address location device 1 and various types of data, such as codes of the address location program 01, but also for temporarily storing data that has been output or is to be output.
The processor 12 may in some embodiments be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor or other data processing chip for executing program code or processing data stored in the memory 11, e.g. for executing the address location program 01, etc.
The network interface 13 may optionally comprise a standard wired interface, a wireless interface (e.g. WI-FI interface), typically used to establish a communication connection between the apparatus 1 and other electronic devices.
The communication bus is used to enable connected communication between these components.
Optionally, the device 1 may further comprise a user interface, which may comprise a Display (Display), an input unit such as a Keyboard (Keyboard), and a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like. The display may also be referred to as a display screen or a display unit, as appropriate, for displaying information processed in the address-locating device 1 and for displaying a visual user interface.
Fig. 2 shows only the address location device 1 with components 11-13 and address location program 01, it will be understood by those skilled in the art that the structure shown in fig. 1 does not constitute a limitation of the address location device 1 and may include fewer or more components than shown, or may combine certain components, or a different arrangement of components.
In the embodiment of the device 1 shown in fig. 2, the memory 11 has stored therein an address location program 01; the processor 12 performs the following steps when executing the address location program 01 stored in the memory 11:
and acquiring address information of a target client, and searching positioning points of the address information on a map based on a preset map engine.
If a plurality of locating points are found, the position coordinates of the locating points are obtained, and the position coordinates of the centroids of the locating points are calculated according to the obtained position coordinates.
And judging whether the positioning of the address information on the map is accurate or not according to the position coordinates of the positioning points and the position coordinates of the mass center.
And if the positioning is accurate, updating the centroid to be a new positioning point of the address information.
The preset map engine used in the embodiment of the invention can be the existing map engines such as a hundred-degree map, a high-German map and the like. Any one of which can be selected for searching; or searching by using a plurality of map engines at the same time, positioning by combining the search results of the map engines, and displaying the search results of the map on the same map display interface when searching by using the map engines.
When locating the address of a client, the client information of the client is called from a database, the address information of the client is obtained, the client is searched on a preset map engine according to the address information, locating points are obtained and displayed, and if a plurality of locating points exist in the search result, the current locating result is not an accurate locating result. After searching the address of the client, three ground points are displayed on the map, at the moment, the position coordinates of the three positioning points are obtained, the mass centers of the three position coordinates are calculated, and the position coordinates of the positioning points where the mass centers are located are obtained. It will be appreciated that when there are only two anchor points, the centroid is at the midpoint of the line connecting the two anchor points. And judging whether the address information is accurately positioned on the map according to the position coordinates of the positioning points and the mass centers.
Specifically, the manner of judging whether the positioning is accurate according to the mass center is as follows: and calculating the distance between each positioning point and the mass center according to the position coordinates of the positioning point and the position coordinates of the mass center.
And judging whether the positioning of the address information on the map is accurate or not according to the calculated distance, wherein if the distances from the positioning points to the mass centers are smaller than a preset threshold value, the positioning of the address information on the map is judged to be accurate, otherwise, the positioning of the address information on the map is judged to be inaccurate.
The magnitude of the preset threshold value can be preset according to the requirements on positioning accuracy, the distribution density of the building and other factors. And calculating the distance between each locating point and the centroid, if the distances between each locating point and the centroid are smaller than a preset threshold value, determining that the degree of dispersion between the locating points is smaller, taking the centroid as the locating point corresponding to the address, and storing the position coordinates of the centroid and the address information in a correlated manner. The state of the address of the client may be marked as a calibrated state. And when the address information of the client is positioned on the map, firstly inquiring the state mark of the address of the client, judging whether the address is calibrated or not according to the state mark, if so, directly acquiring the position coordinate associated with the address mark, and displaying the corresponding positioning point on the map according to the position coordinate. If not, calibrating the address according to the steps.
Further, the address location program 01 may be further executed by the processor 12 to further implement the following steps after the step of determining whether the location of the address information on the map is accurate according to the position coordinates of the plurality of location points and the position coordinates of the centroid:
if the positioning is inaccurate, determining a preset area to which the target client belongs, and acquiring a client list of the preset area from a database; inquiring the clients with the address information identical to the address information of the target client in a preset range and calibrated according to the client list; and updating the locating point of the address information of the client to be a new locating point of the address information of the target client.
If the distances from one or more locating points to the mass center in the locating points are larger than a preset threshold value, the fact that the degree of dispersion between the locating points is larger can be judged, the accuracy of the current locating result is judged to be lower, at the moment, the mass center is not used as the locating point, other clients with calibrated addresses, which are close to the address of the client, are searched from a client list, the address of a new client is migrated nearby by using locating information of the clients, namely, the locating point with the address closest to the address is selected from the clients with the similar addresses as the locating point of a target client.
In general, an address is expressed in terms of a hierarchical relationship of administrative areas. For example, a Shenzhen Futian region xx road xx number xx building, where in this address, the first level is a city level administrative region, the second level is a district level administrative region, "xx road" is the third level, it is a road section level, "xx number safe building" is the fourth level, it is a point of interest level, generally refers to a specific building, such as "xx building", "xx cell", and so on. In addition, the customer information generally includes more detailed address information after the fourth level, for example, the xx-way xx number xx cell xx-layer xx room of Shenzhen Futian district, in which, in the scheme, the same address in the preset range generally means that the information of the first four levels is the same, that is, only the information is needed to be located on the same specific building, and the more detailed address information under the fourth level may be different.
In this way, each time a new customer is added to the database, address targeting for that customer can be accomplished in both ways. Of course, it can be understood that if only one locating point exists on the map after searching according to the address information of the target client, the position coordinates of the locating point and the address information of the client are associated and stored.
Further, in another embodiment, after the step of querying, according to the client list, the clients whose address information is the same as that of the target client within a preset range and whose address information is calibrated, the method further includes the steps of:
if one inquired client exists, executing the step of taking the locating point of the address information of the client as the locating point of the address information of the target client; if a plurality of queried clients exist, displaying positioning points of address information of the clients on a map; when a selection instruction triggered based on the displayed positioning point is received, the positioning point corresponding to the selection instruction is updated to be a new positioning point of the address information.
Alternatively, in other embodiments, the address location program 01 may be further executed by the processor 12 to implement, after the step of querying the clients whose address information is the same as the address information of the target client within a preset range and whose address information is calibrated according to the client list, the following steps:
if the client with the address information identical to the address information of the target client in the preset range and calibrated is not found, outputting prompt information based on a positioning point of the address information of the target client on a map so as to enable a user to manually calibrate the address information of the target client according to the prompt information; and receiving a locating point set by a user for the address information, and updating the locating point to be a new locating point of the address information.
The address locating device provided by the embodiment obtains the address information of the target client, and searches locating points of the address information on a map based on a preset map engine; if a plurality of locating points are found, acquiring the position coordinates of the locating points, and calculating the position coordinates of the centroids of the locating points according to the acquired position coordinates; judging whether the positioning of the address information on the map is accurate or not according to the position coordinates of the positioning points and the position coordinates of the mass center; if the positioning is accurate, the centroid is updated to be a new positioning point of the address information. By the scheme of the invention, a plurality of locating points of the client address information are integrated, the condition that one address corresponds to a plurality of locating points is solved, and the accuracy of locating the client address is improved.
Alternatively, in other embodiments, the address location program may be divided into one or more modules, and one or more modules are stored in the memory 11 and executed by one or more processors (the processor 12 in this embodiment) to perform the present invention, where the modules refer to a series of instruction blocks of a computer program capable of performing a specific function, for describing the execution of the address location program in the address location device.
For example, referring to fig. 3, a schematic program module of an address location program in an embodiment of an address location apparatus according to the present invention is shown, where the address location program may be divided into an address lookup module 10, a centroid calculation module 20, an accuracy judgment module 30, and a location update module 40, and the exemplary embodiments are as follows:
the address lookup module 10 is configured to: acquiring address information of a target client, and searching positioning points of the address information on a map based on a preset map engine;
the centroid calculation module 20 is configured to: if a plurality of locating points are found, acquiring the position coordinates of the locating points, and calculating the position coordinates of the centroids of the locating points according to the acquired position coordinates;
the accuracy judgment module 30 is configured to: judging whether the positioning of the address information on the map is accurate or not according to the position coordinates of the positioning points and the position coordinates of the mass center;
the location update module 40 is configured to: and if the positioning is accurate, updating the centroid to be a new positioning point of the address information.
The functions or operation steps implemented when the program modules such as the address searching module 10, the centroid calculating module 20, the accuracy judging module 30, and the positioning updating module 40 are executed are substantially the same as those of the above-described embodiments, and will not be described herein.
In addition, an embodiment of the present invention also proposes a computer-readable storage medium having stored thereon an address location program executable by one or more processors to implement the following operations:
acquiring address information of a target client, and searching positioning points of the address information on a map based on a preset map engine;
if a plurality of locating points are found, acquiring the position coordinates of the locating points, and calculating the position coordinates of the centroids of the locating points according to the acquired position coordinates;
judging whether the positioning of the address information on the map is accurate or not according to the position coordinates of the positioning points and the position coordinates of the mass center;
and if the positioning is accurate, updating the centroid to be a new positioning point of the address information.
The computer-readable storage medium of the present invention is substantially the same as the embodiments of the apparatus and method for address location described above, and will not be described in detail herein.
It should be noted that, the foregoing reference numerals of the embodiments of the present invention are merely for describing the embodiments, and do not represent the advantages and disadvantages of the embodiments. And the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method 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, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, apparatus, article or method that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (6)

1. A method of address location, the method comprising:
acquiring address information of a target client, and searching positioning points of the address information on a map based on a preset map engine;
if a plurality of locating points are found, acquiring the position coordinates of the locating points, and calculating the position coordinates of the centroids of the locating points according to the acquired position coordinates;
judging whether the positioning of the address information on the map is accurate or not according to the position coordinates of the positioning points and the position coordinates of the mass center;
if the positioning is accurate, updating the centroid to be a new positioning point of the address information;
if the positioning is inaccurate, determining a preset area to which the target client belongs, and acquiring a client list of the preset area from a database;
inquiring the clients with the address information identical to that of the target clients in a preset range and calibrated according to the client list, and updating the locating points of the inquired clients with new locating points of the address information of the target clients;
if the client with the address information identical to the address information of the target client in the preset range and calibrated is not found, outputting prompt information based on the positioning point of the address information of the target client on a map so that a user can manually calibrate the address information of the target client according to the prompt information, receiving the positioning point set by the user for the address information, and updating the positioning point to be a new positioning point of the address information.
2. The method of address location as claimed in claim 1, wherein the step of determining whether the location of the address information on the map is accurate based on the position coordinates of the plurality of anchor points and the position coordinates of the centroid comprises:
calculating the distance between each locating point and the mass center according to the position coordinates of the locating point and the position coordinates of the mass center;
and judging whether the positioning of the address information on the map is accurate or not according to the calculated distance, wherein if the distances from the positioning points to the mass centers are smaller than a preset threshold value, the positioning of the address information on the map is judged to be accurate, otherwise, the positioning of the address information on the map is judged to be inaccurate.
3. The method for locating an address according to claim 1, wherein after said step of querying clients whose address information is identical to that of said target client within a predetermined range and whose address information is calibrated according to said client list, said method further comprises the steps of:
if one inquired client exists, executing the step of taking the locating point of the address information of the client as the locating point of the address information of the target client;
if a plurality of queried clients exist, displaying positioning points of address information of the clients on a map;
when a selection instruction triggered based on the displayed positioning point is received, the positioning point corresponding to the selection instruction is updated to be a new positioning point of the address information.
4. An apparatus for address location, the apparatus comprising a memory and a processor, the memory having stored thereon an address location program operable on the processor, the address location program when executed by the processor performing the steps of:
acquiring address information of a target client, and searching positioning points of the address information on a map based on a preset map engine;
if a plurality of locating points are found, acquiring the position coordinates of the locating points, and calculating the position coordinates of the centroids of the locating points according to the acquired position coordinates;
judging whether the positioning of the address information on the map is accurate or not according to the position coordinates of the positioning points and the position coordinates of the mass center;
if the positioning is accurate, updating the centroid to be a new positioning point of the address information;
if the positioning is inaccurate, determining a preset area to which the target client belongs, and acquiring a client list of the preset area from a database;
inquiring the clients with the address information identical to that of the target clients in a preset range and calibrated according to the client list, and updating the locating points of the inquired clients with new locating points of the address information of the target clients;
if the client with the address information identical to the address information of the target client in the preset range and calibrated is not found, outputting prompt information based on the positioning point of the address information of the target client on a map so that a user can manually calibrate the address information of the target client according to the prompt information, receiving the positioning point set by the user for the address information, and updating the positioning point to be a new positioning point of the address information.
5. The address location apparatus of claim 4, wherein the step of determining whether the location of the address information on the map is accurate based on the position coordinates of the plurality of location points and the position coordinates of the centroid comprises:
calculating the distance between each locating point and the mass center according to the position coordinates of the locating point and the position coordinates of the mass center;
and judging whether the positioning of the address information on the map is accurate or not according to the calculated distance, wherein if the distances from the positioning points to the mass centers are smaller than a preset threshold value, the positioning of the address information on the map is judged to be accurate, otherwise, the positioning of the address information on the map is judged to be inaccurate.
6. A computer readable storage medium having stored thereon an address location program executable by one or more processors to implement the steps of the method of address location of any of claims 1 to 3.
CN201811119523.2A 2018-09-25 2018-09-25 Method, apparatus and computer readable storage medium for address location Active CN109471909B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811119523.2A CN109471909B (en) 2018-09-25 2018-09-25 Method, apparatus and computer readable storage medium for address location

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811119523.2A CN109471909B (en) 2018-09-25 2018-09-25 Method, apparatus and computer readable storage medium for address location

Publications (2)

Publication Number Publication Date
CN109471909A CN109471909A (en) 2019-03-15
CN109471909B true CN109471909B (en) 2023-05-30

Family

ID=65663229

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811119523.2A Active CN109471909B (en) 2018-09-25 2018-09-25 Method, apparatus and computer readable storage medium for address location

Country Status (1)

Country Link
CN (1) CN109471909B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113656446A (en) * 2021-08-31 2021-11-16 上海中通吉网络技术有限公司 Method and device for improving accuracy of geocoding
CN113836445A (en) * 2021-09-16 2021-12-24 北京百度网讯科技有限公司 Semantization method and device, electronic equipment and readable storage medium
CN116842120B (en) * 2023-07-04 2024-04-19 广东星云开物科技股份有限公司 Address information acquisition system, device, storage medium and method for equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101821763A (en) * 2007-10-19 2010-09-01 雅虎公司 Method and apparatus for geographic specific search results including map-based display
CN102819562A (en) * 2012-07-04 2012-12-12 国家基础地理信息中心 Network marking and reporting method for geospatial information
CN102867004A (en) * 2011-07-06 2013-01-09 高德软件有限公司 Method and system for matching addresses
CN103714103A (en) * 2012-10-08 2014-04-09 哈曼贝克自动系统股份有限公司 Seamless display of objects
CN104702432A (en) * 2014-01-15 2015-06-10 杭州海康威视系统技术有限公司 Alarm method based on position area division and server
CN106871907A (en) * 2017-04-01 2017-06-20 深圳市科漫达智能管理科技有限公司 A kind of location acquiring method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101821763A (en) * 2007-10-19 2010-09-01 雅虎公司 Method and apparatus for geographic specific search results including map-based display
CN102867004A (en) * 2011-07-06 2013-01-09 高德软件有限公司 Method and system for matching addresses
CN102819562A (en) * 2012-07-04 2012-12-12 国家基础地理信息中心 Network marking and reporting method for geospatial information
CN103714103A (en) * 2012-10-08 2014-04-09 哈曼贝克自动系统股份有限公司 Seamless display of objects
CN104702432A (en) * 2014-01-15 2015-06-10 杭州海康威视系统技术有限公司 Alarm method based on position area division and server
CN106871907A (en) * 2017-04-01 2017-06-20 深圳市科漫达智能管理科技有限公司 A kind of location acquiring method and device

Also Published As

Publication number Publication date
CN109471909A (en) 2019-03-15

Similar Documents

Publication Publication Date Title
KR102344012B1 (en) Method and apparatus for displaying point of interest
CN109522923B (en) Client address aggregation method, device and computer readable storage medium
CN109471909B (en) Method, apparatus and computer readable storage medium for address location
US9786010B2 (en) Homeowners insurance application process using geotagged photos
US8996551B2 (en) Managing geographic region information
CN107506499B (en) Method, device and server for establishing logical relationship between interest point and building
CN107909466B (en) Customer relationship network display method, device, equipment and readable storage medium
AU2016276964A1 (en) System and method for providing contextual information for a location
CN108804516B (en) Similar user searching device, method and computer readable storage medium
EP2602750A1 (en) Action characteristic extraction device, action characteristic extraction system, method of extracting action characteristic, and action characteristic extraction program
US20180365778A1 (en) Information processing system and information processing method
CN110083762B (en) Room source searching method, device and equipment and computer readable storage medium
CN112214561B (en) Map data processing method, map data processing device, computer equipment and storage medium
JP2017004252A (en) Image information processing system
CN111814069A (en) Information processing method, information processing apparatus, storage medium, and electronic device
US20150154228A1 (en) Hierarchical spatial clustering of photographs
US8467990B2 (en) Method for setting the geolocation of a non-GPS enabled device
CN111400289B (en) Intelligent user classification method, server and storage medium
WO2018024222A1 (en) Application recommendation method, device, and server
CN112118533A (en) Navigation information display method and device
US9449110B2 (en) Geotiles for finding relevant results from a geographically distributed set
KR101459872B1 (en) Indexing system of space object for combination object of SOI and content
CN104182446A (en) Method for searching data and method for planning itinerary
KR20200079673A (en) Method for generating an affiliate store database based on position information of an image taken by a user or a user input information and system for managing and searching an affiliate store information
CN114064829A (en) Method and device for carrying out aggregation display on positioning points 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
GR01 Patent grant
GR01 Patent grant