CN110796522B - Method for matching POI (Point of interest) by merchant, authentication method and respective devices - Google Patents
Method for matching POI (Point of interest) by merchant, authentication method and respective devices Download PDFInfo
- Publication number
- CN110796522B CN110796522B CN201911055514.6A CN201911055514A CN110796522B CN 110796522 B CN110796522 B CN 110796522B CN 201911055514 A CN201911055514 A CN 201911055514A CN 110796522 B CN110796522 B CN 110796522B
- Authority
- CN
- China
- Prior art keywords
- merchant
- poi
- geohash
- point
- positioning
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0609—Buyer or seller confidence or verification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0639—Item locations
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the specification provides a method for matching POI by a merchant, an authentication method and respective devices, wherein the method for matching POI by the merchant comprises the following steps: acquiring transaction positioning data of a merchant; calculating the Geohash corresponding to the positioning point of the merchant by using the transaction positioning data; acquiring a Geohash adjacent to the Geohash corresponding to the positioning point; and searching the POI points matched with the positioning points from the geographic information system by taking the Geohash corresponding to the positioning points and the Geohash adjacent to the Geohash corresponding to the positioning points as search ranges according to the Geohash corresponding to the POI points in the geographic information system.
Description
Technical Field
The embodiment of the specification relates to the technical field of computers, in particular to a method for matching a POI (Point of interest) and an authentication method for a merchant. One or more embodiments of the present specification also relate to an apparatus for merchant matching POI, an apparatus for authentication, a computing device, and a computer-readable storage medium.
Background
With the continuous development of informatization, online trading through a third-party platform has become a common trading mode for people. However, motivated by the interest, merchants may use false identities to engage in illegal activities such as gambling, fraud, etc., cheating back commissions to cheat paying treasures from open/false stores, etc. For these risks, it is necessary to resolve them by authenticating the merchant.
However, how to quickly and accurately acquire the information of the merchant, such as the operating address, the merchant name, and the like, so as to efficiently and reliably authenticate the merchant becomes a problem that is difficult for the wind-control staff to solve.
Disclosure of Invention
In view of this, the embodiments of the present specification provide a method for matching a POI with a merchant and an authentication method. One or more embodiments of the present disclosure relate to an apparatus for matching a POI with a merchant, an apparatus for authenticating the POI, a computing device, and a computer-readable storage medium, so as to solve the technical deficiencies of the prior art.
According to a first aspect of embodiments herein, there is provided a method for a merchant to match POIs, including: acquiring transaction positioning data of a merchant; calculating the Geohash corresponding to the positioning point of the merchant by using the transaction positioning data; acquiring a Geohash adjacent to the Geohash corresponding to the positioning point; and searching the POI points matched with the positioning points from the geographic information system by taking the Geohash corresponding to the positioning points and the Geohash adjacent to the Geohash corresponding to the positioning points as search ranges according to the Geohash corresponding to the POI points in the geographic information system.
The calculating the Geohash corresponding to the location point of the merchant by using the transaction location data includes: clustering the transaction positioning data in the preset time period of the merchant by adopting a Geohash, wherein one category corresponds to one Geohash; selecting the Geohash with the largest transaction quantity as the Geohash corresponding to the positioning point of the merchant, and calculating the average value of the transaction positioning data in the Geohash as the positioning point of the merchant.
Optionally, the searching, according to the Geohash corresponding to the POI point in the geographic information system, the Geohash corresponding to the location point and the Geohash adjacent to the Geohash corresponding to the location point as a search range, where the searching for the POI point matched with the location point includes: and searching POI points within a preset radius range from the positioning point by taking the Geohash corresponding to the positioning point and the Geohash adjacent to the Geohash corresponding to the positioning point as search ranges according to the Geohash corresponding to the POI points in the geographic information system.
Optionally, the Geohash adjacent to the Geohash corresponding to the location point includes: and eight adjacent Geohash are respectively positioned above, below, on the left, on the right, above left, above right, below left and below right of the Geohash corresponding to the positioning points.
According to a second aspect of embodiments herein, there is provided an apparatus for merchant matching POI, comprising: the positioning data acquisition module is configured to acquire the transaction positioning data of the merchant. And the positioning code calculation module is configured to calculate the Geohash corresponding to the positioning point of the merchant by using the transaction positioning data. An adjacent code obtaining module configured to obtain a Geohash adjacent to the Geohash corresponding to the anchor point. And the search matching module is configured to search out the POI points matched with the positioning points from the geographic information system by taking the Geohash corresponding to the positioning points and the Geohash adjacent to the Geohash corresponding to the positioning points as search ranges according to the Geohash corresponding to the POI points in the geographic information system.
Optionally, the positioning code calculation module includes: and the clustering submodule is configured to cluster the transaction positioning data in the preset time period of the merchant by adopting a Geohash, and one category corresponds to one Geohash. And the mean value calculation submodule is configured to select the Geohash with the largest transaction quantity as the Geohash corresponding to the positioning point of the merchant, and calculate the mean value of the transaction positioning data as the positioning point of the merchant.
Optionally, the search matching module is configured to search, according to a Geohash corresponding to a POI point in a geographic information system, a POI point within a preset radius range from the location point by using the Geohash corresponding to the location point and a Geohash adjacent to the Geohash corresponding to the location point as search ranges.
According to a third aspect of embodiments herein, there is provided a method of merchant authentication, including: acquiring information to be authenticated provided by a merchant; searching a POI point matched with a positioning point of a merchant by applying the method for matching POI of the merchant according to any embodiment of the first aspect of the description; and authenticating the information to be authenticated provided by the merchant by using the information provided by the POI point.
Optionally, the authenticating the to-be-authenticated information provided by the merchant by using the information provided by the POI point includes: comparing the merchant name and the contact information provided by the POI point with the merchant name and the contact information provided by the merchant; and if the merchant authentication is consistent, confirming that the merchant authentication is passed.
Optionally, the method further comprises: and after the authentication is passed, extracting the information missing from the merchant from the information provided by the POI point, and supplementing the information missing to the account information of the merchant.
According to a fourth aspect of embodiments herein, there is provided an apparatus for merchant authentication, including: the information acquisition module is configured to acquire the information to be authenticated provided by the merchant. The POI matching module is configured to apply the method for matching POIs of the merchant according to any embodiment of the first aspect of the present specification to search out POI points matching with the location point of the merchant. And the authentication module is configured to authenticate the information to be authenticated provided by the merchant by using the information provided by the POI point.
Optionally, the authentication module comprises: and the comparison sub-module is configured to compare the business name and the contact information provided by the POI point with the business name and the contact information provided by the business. A confirmation sub-module configured to confirm that the merchant authentication is passed if the comparison sub-module determines that the merchant authentication is consistent.
Optionally, the method further comprises: and the supplement module is configured to extract the information missing from the merchant from the information provided by the POI point and supplement the information missing to the account information of the merchant after the confirmation and authentication of the confirmation sub-module are passed.
According to a fifth aspect of embodiments herein, there is provided a computing device comprising: a memory and a processor; the memory is to store computer-executable instructions, and the processor is to execute the computer-executable instructions to: acquiring transaction positioning data of a merchant; calculating the Geohash corresponding to the positioning point of the merchant by using the transaction positioning data; acquiring a Geohash adjacent to the Geohash corresponding to the positioning point; and searching the POI points matched with the positioning points from the geographic information system by taking the Geohash corresponding to the positioning points and the Geohash adjacent to the Geohash corresponding to the positioning points as search ranges according to the Geohash corresponding to the POI points in the geographic information system.
According to a sixth aspect of embodiments herein, there is provided a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of the method for merchant matching POIs as described in any one of the embodiments of the first aspect herein.
According to a seventh aspect of embodiments herein, there is provided a computing device comprising: a memory and a processor; the memory is to store computer-executable instructions, and the processor is to execute the computer-executable instructions to: acquiring information to be authenticated provided by a merchant; searching a POI point matched with a positioning point of a merchant by applying the method for matching POI of the merchant according to any embodiment of the first aspect of the description; and authenticating the information to be authenticated provided by the merchant by using the information provided by the POI point.
According to an eighth aspect of the embodiments of the present specification, there is provided a computer-readable storage medium storing computer instructions which, when executed by a processor, implement the steps of the method for merchant authentication according to any one of the third aspects of the present specification.
One embodiment of one aspect of the present specification implements a method for matching a POI with a merchant, which includes calculating a Geohash corresponding to a location point of the merchant using transaction location data of the merchant, acquiring a Geohash adjacent to the Geohash corresponding to the location point, and searching a POI point matching the location point from a geographic information system according to the Geohash corresponding to the POI point in the geographic information system, using the Geohash corresponding to the location point and the Geohash adjacent to the Geohash corresponding to the location point as a search range, so that information provided by the POI point can be acquired as information of the merchant through the matching POI point, and since the POI point matching is performed through the Geohash of the location point and the adjacent Geohash, a POI search space can be greatly reduced, search efficiency and accuracy are improved, and a purpose of quickly and accurately acquiring merchant information is achieved;
in another aspect of the present description, an embodiment of the present description implements a method for merchant authentication, where the method searches for a POI point matching with a location point of a merchant by using a method for merchant matching POI provided in an embodiment of the present description, authenticates information to be authenticated of the merchant by using information provided by the POI point, authenticates information provided by the merchant based on third-party data of a geographic information system, and authenticates information provided by the merchant objectively and fairly, thereby achieving the purpose of efficient and reliable merchant authentication.
Drawings
FIG. 1 is a flow chart of a method for matching POI by a merchant according to one embodiment of the present disclosure;
FIG. 2 is a schematic map provided by one embodiment of the present description;
FIG. 3 is a flowchart illustrating a processing procedure of a method for matching POI by a merchant according to another embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an apparatus for matching POIs for a merchant according to an embodiment of the present specification;
FIG. 5 is a schematic structural diagram of an apparatus for matching POI for a merchant according to another embodiment of the present disclosure;
FIG. 6 is a flow diagram of a method for merchant authentication provided by one embodiment of the present description;
FIG. 7 is a block diagram of a device for merchant authentication according to an embodiment of the present disclosure;
FIG. 8 is a schematic structural diagram of a merchant authenticating apparatus according to another embodiment of the present disclosure;
fig. 9 is a block diagram of a computing device according to an embodiment of the present disclosure.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present description. This description may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, as those skilled in the art will be able to make and use the present disclosure without departing from the spirit and scope of the present disclosure.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present specification refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein in one or more embodiments to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first can be termed a second and, similarly, a second can be termed a first without departing from the scope of one or more embodiments of the present description. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
First, the noun terms to which one or more embodiments of the present specification relate are explained.
The Geohash is used for converting the longitude and latitude of two dimensions into character strings, and each character string represents a certain rectangular area. That is, all points (latitude and longitude coordinates) in the rectangular area share the same Geohash character string, and the longer the character string, the more precise the range is represented.
A POI (Point of Interest), in a geographic information system, a POI may be a house, a shop, a mailbox, a bus station, etc.
In the present specification, a method for matching a POI with a merchant and a method for authenticating the POI are provided, and the present specification relates to an apparatus for matching a POI with a merchant, an apparatus for authenticating the POI, a computing device, and a computer-readable storage medium, which are described in detail in the following embodiments one by one.
Fig. 1 shows a flowchart of a method for matching POIs according to an embodiment of the present specification, including steps 102 to 108.
Step 102: and acquiring the transaction positioning data of the merchant.
For example, the transaction location data (LBS, location based service) of the merchant terminal may be obtained through a radio communication network of a telecommunication mobile operator, such as a GSM network and a CDMA network, or an external location means, such as GPS, under the support of a geographic information system platform, and may include location information of the buyer at the time of transaction, location information of the merchant incoming item, and the like. The geographic information system is used for storing map information, providing electronic maps and providing people to inquire target geographic information.
Step 104: and calculating the Geohash corresponding to the positioning point of the merchant by using the transaction positioning data.
There may be multiple merchant transactions for one merchant, and in this embodiment of the present specification, the location point of the merchant may be determined based on a clustering manner. The clustering method is not limited, and for example, a clustering method such as Geohash and DBSCAN can be used. The positions of the merchants are positioned in a clustering mode, so that the accuracy of merchant positioning can be improved, and the geographic error of the merchant positioning positions is reduced.
The Geohash adopts the dichotomy to continuously reduce the longitude and latitude intervals to carry out binary coding, code parity bits generated by the longitude and latitude are crossed and combined, and then the calculation is carried out in an alphanumeric expression mode, so that the calculation speed is high, and therefore, the Geohash is adopted in the embodiment of the specification to carry out clustering. Specifically, for example, the calculating, by using the transaction location data, a Geohash corresponding to the location point of the merchant may include: clustering the transaction positioning data in the preset time period of the merchant by adopting a Geohash, wherein one category corresponds to one Geohash; and selecting the Geohash with the largest transaction quantity as the Geohash corresponding to the positioning point of the merchant, and calculating the average value of the transaction positioning data in the Geohash as the positioning point of the merchant. As another example, the central point of the Geohash with the largest transaction amount may be used as the location point of the merchant.
Step 106: and acquiring the Geohash adjacent to the Geohash corresponding to the positioning point.
In this embodiment of the present specification, the reason why the Geohash adjacent to the Geohash corresponding to the location point is obtained is that there may be different geohashes for the POI points matching with the location point. For example, as shown in the map diagram of fig. 2, the shops corresponding to the two POI points near the positioning point 201 are the shop 203 and the shop 204, respectively. Wherein the Geohash code of the shop 203 is the same as the Geohash of the localization point 201, while the Geohash code of the shop 204, which is more matched to the localization point 201, is different from the localization point 201. By using the Geohash corresponding to the locating point 201 and the geohashes of the eight neighboring domains as the search range, a more matched shop 204 can be searched, and a better matching effect is achieved.
As shown in the map diagram of fig. 2, the Geohash adjacent to the Geohash corresponding to the anchor point 201 may include: and one or more of eight adjacent Geohash positioned above, below, leftward, rightward, above-left, above-right, below-left and below-right the Geohash corresponding to the positioning point. By the implementation method, eight adjacent GeoHashs of the GeoHash corresponding to the locating point can be brought into the search range, and the matching effect is improved.
The Geohash is essentially a way of filling space with a Peano curve, and according to the generation principle of the Peano curve, coordinate tables (including a longitude table and a dimension table, each including four directions) of upper, lower, left and right points of a certain character can be determined. Therefore, according to the curve generation principle, characters corresponding to the direction can be recursively calculated from the last character of the Geohash corresponding to the locating point according to the direction of the adjacent Geohash, so that the Geohash adjacent to the Geohash corresponding to the locating point is reversely deduced.
Step 108: and searching the POI points matched with the positioning points from the geographic information system by taking the Geohash corresponding to the positioning points and the Geohash adjacent to the Geohash corresponding to the positioning points as search ranges according to the Geohash corresponding to the POI points in the geographic information system.
In order to facilitate searching for a POI point matching a location point, the POI point in the geographic information system may be mapped to a corresponding Geohash in advance.
Because the acquisition of the geographic information has certain errors, the matching between the POI point and the positioning point is suitable for balancing the accuracy and the coverage rate by adopting a certain radius so as to achieve a better matching effect. For example, the Geohash corresponding to the positioning point and the Geohash adjacent to the Geohash corresponding to the positioning point may be used as a search range to search out the POI points within a preset radius range from the positioning point. And one or more POI points within a preset radius range from the positioning point can be selected. Specifically, the Geohash corresponding to the locating point and the POI points in the Geohash adjacent to the Geohash corresponding to the locating point may be extracted, and a distance between each two of the locating point of the merchant and the extracted POI points may be calculated by using a spherical distance calculation method, so as to screen out the POI points whose distance is within a preset radius range. In the embodiment, the initial search is carried out through the Geohash, the accurate search is carried out by utilizing the preset radius, the error of geographic information acquisition is effectively balanced, and a better matching effect is achieved.
Since store merchants (such as transportation merchants, mobile vendors, online transaction merchants, etc.) are suitable for matching POI points, in an embodiment of this specification, it may be further determined, according to the transaction location data of the merchant within a preset time period, whether transaction locations of the merchant within the preset time period collectively determine whether the merchant is a store merchant; and if the POI points are concentrated, the merchant is considered as a store merchant, and the POI points are continuously matched with the merchant.
The centralized judgment condition may be set according to the implementation environment, and the embodiments of the present specification are not limited. For example, in an implementation of clustering by using geohashes, the matching may be determined according to a percentage of transaction location data of a merchant aggregated in one Geohash, and if the percentage is within a preset range meeting a concentration requirement, for example, the percentage aggregated in one Geohash exceeds 80%, the geo hash is determined to be concentrated, and the step of selecting the geo hash with the largest number of transactions as the geo hash corresponding to the location point of the merchant is performed so as to continue to perform POI point matching on the merchant. As another example, the transaction location data of a merchant may be determined to be concentrated when the distance between the geohashes is shorter than a preset distance, for example, 80%, for example, the distance is within a preset concentration distance range. In the implementation of performing POI point matching on multiple merchants at a time, centralized merchants can continue to perform POI point matching, and non-centralized merchants are removed.
It can be seen that, in the method for matching a business point to a POI provided in the embodiments of the present specification, matching of POI points is performed through a Geohash of a location point and an adjacent Geohash, which can greatly reduce a search space and improve search efficiency and accuracy, so that information provided by the matching POI points can be obtained as information of the business, and a purpose of quickly and accurately obtaining information of the business is achieved.
The method for matching a merchant with a POI is further described below with reference to fig. 3, taking an application of the method for matching a merchant with a POI provided in this specification in merchant authentication as an example. Fig. 3 is a flowchart illustrating a processing procedure of a method for matching a POI with a merchant according to another embodiment of the present disclosure, where the specific steps include steps 302 to 320.
Step 302: transaction location data for a plurality of merchants is obtained.
Step 304: and for each merchant, clustering the transaction positioning data in the preset time period of the merchant by adopting a Geohash, wherein one category corresponds to one Geohash.
Step 306: and for each merchant, judging whether the transaction positions in the merchant preset time period are centralized or not according to the transaction positioning data in the merchant preset time period.
Step 308: and selecting Geohash with the largest transaction quantity as Geohash corresponding to the positioning point of the merchant according to the merchants in the transaction position set, and calculating the average value of the transaction positioning data in the Geohash as the positioning point of the merchant.
Step 310: and removing the merchant from the authentication process aiming at the merchant with the non-centralized transaction position.
Step 312: and aiming at each merchant with concentrated transaction positions, acquiring eight adjacent Geohash which are respectively positioned above, below, left, right, above left, above right, below left and below right of the Geohash corresponding to the merchant positioning point.
Step 314: and aiming at each merchant in each transaction position set, taking the Geohash corresponding to the positioning point of the merchant and eight adjacent Geohash as search ranges, and searching out POI points within a preset radius range from the positioning point.
Step 316: and comparing the business name and the contact information provided by the searched POI point with the business name and the contact information provided by the corresponding business.
Step 318: and if the merchant authentication is consistent, confirming that the merchant authentication is passed.
Step 320: after the authentication is passed, the information which is missing corresponding to the merchant is extracted from the information provided by the POI point and is supplemented to the account information of the corresponding merchant.
As can be seen, the method for matching a POI by a merchant provided in the embodiments of the present specification uses a Geohash to perform clustering, has a fast calculation speed, and can greatly reduce a search space and improve search efficiency and accuracy by matching POI points through the Geohash of a location point and an adjacent Geohash. In the application of merchant authentication, the information provided by the POI point can be used, namely, the information provided by the merchant is authenticated based on third-party data of a geographic information system, the source of the authentication information is objective and fair, and the purpose of efficient and reliable merchant authentication is realized.
Corresponding to the above method embodiment, the present specification further provides an embodiment of a device for matching a business with a POI, and fig. 4 shows a schematic structural diagram of the device for matching a business with a POI, provided by an embodiment of the present specification. As shown in fig. 4, the apparatus includes: a positioning data acquisition module 402, a positioning code calculation module 404, an adjacent code acquisition module 406, and a search matching module 408.
The location data acquisition module 402 may be configured to acquire transaction location data for a merchant.
The location code calculation module 404 may be configured to calculate a Geohash corresponding to the location point of the merchant by using the transaction location data.
The neighboring code obtaining module 406 may be configured to obtain a Geohash neighboring the Geohash corresponding to the anchor point.
The search matching module 408 may be configured to search, according to the Geohash corresponding to the POI point in the geographic information system, the POI point matched with the location point from the geographic information system by using the Geohash corresponding to the location point and the Geohash adjacent to the Geohash corresponding to the location point as a search range.
It can be seen that, in the method for matching a business point to a POI provided in the embodiments of the present specification, matching of POI points is performed through a Geohash of a location point and an adjacent Geohash, which can greatly reduce a search space and improve search efficiency and accuracy, so that information provided by the matching POI points can be obtained as information of the business, and a purpose of quickly and accurately obtaining information of the business is achieved.
The Geohash adopts the dichotomy to continuously reduce the longitude and latitude intervals to carry out binary coding, code parity bits generated by the longitude and latitude are crossed and combined, and then the calculation is carried out in an alphanumeric expression mode, so that the calculation speed is high, and therefore, the Geohash is adopted in the embodiment of the specification to carry out clustering. For example, fig. 5 shows a schematic structural diagram of an apparatus for matching POIs for a merchant according to another embodiment of the present specification. As shown in fig. 5, the positioning code calculating module 404 may include: the clustering submodule 4041 is configured to cluster the transaction location data in the preset time period of the merchant by using a Geohash, and one class corresponds to one Geohash. The mean value calculating sub-module 4042 is configured to select the Geohash with the largest transaction number as the Geohash corresponding to the location point of the merchant, and calculate an average value of the transaction location data therein as the location point of the merchant.
Because the acquisition of the geographic information has certain errors, the matching between the POI point and the positioning point is suitable for balancing the accuracy and the coverage rate by adopting a certain radius so as to achieve a better matching effect. Therefore, in an embodiment of the present specification, the search matching module 408 may be configured to search out, according to the Geohash corresponding to the POI point in the geographic information system, a POI point within a preset radius range from the location point by using the Geohash corresponding to the location point and the Geohash adjacent to the Geohash corresponding to the location point as search ranges.
The foregoing is an exemplary scheme of the device for matching POIs for a merchant according to this embodiment. It should be noted that the technical solution of the device for matching a business with a POI belongs to the same concept as the technical solution of the method for matching a business with a POI described above, and details of the technical solution of the device for matching a business with a POI, which are not described in detail, can be referred to the description of the technical solution of the method for matching a business with a POI described above.
Fig. 6 shows a flowchart of a method for merchant authentication, including steps 602 to 606, according to an embodiment of the present description.
Step 602: and acquiring information to be authenticated provided by the merchant.
For example, the merchant name and contact information submitted by the third-party platform when the merchant requests authentication may be obtained to wait for authentication information.
Step 604: the method for matching the POI of the merchant according to any embodiment of the present specification is applied to search out the POI point matched with the positioning point of the merchant.
Step 606: and authenticating the information to be authenticated provided by the merchant by using the information provided by the POI point.
For example, the business name and the contact address provided by the POI point may be compared with the business name and the contact address provided by the business, such as a phone; and if the merchant authentication is consistent, confirming that the merchant authentication is passed. By the embodiment, the merchant name and the contact information provided by the merchant can be authenticated based on the merchant name and the contact information provided by the searched POI, the authentication information source is objective and fair, and the purpose of efficient and reliable merchant authentication is realized. And under the condition that a plurality of POI points matched with the positioning point exist, the merchant name and the contact way of one POI point are consistent with the merchant name and the contact way provided by the merchant, and the merchant can be considered to pass the authentication.
After the authentication is passed, the information missing from the merchant can be extracted from the information provided by the POI point and supplemented to the account information of the merchant, so that the shortage of the account information of the merchant is made up. For example, the information of the industry such as the MCC code can be extracted from the information provided by the POI point and added to the account information of the merchant.
It can be seen that, according to the method for authenticating a merchant provided in the embodiments of the present specification, a method for matching a POI with a merchant according to any embodiment of the present specification is applied to search out a POI point matched with a location point of the merchant, so that a search space can be greatly reduced, search efficiency and accuracy can be improved, information provided by the POI point, that is, information provided by the merchant is authenticated based on third-party data of a geographic information system, and an information source of the authentication is objective and fair, thereby achieving an objective of efficient and reliable authentication of the merchant.
Corresponding to the above method embodiment, the present specification further provides an embodiment of a merchant authentication apparatus, and fig. 7 illustrates a schematic structural diagram of a merchant authentication apparatus provided in an embodiment of the present specification. As shown in fig. 7, the apparatus includes: an information acquisition module 702, a POI matching module 704, and an authentication module 706.
The information obtaining module 702 may be configured to obtain information to be authenticated provided by a merchant.
The POI matching module 704 may be configured to apply the method for matching POI to merchants according to claim 1 to search out POI points matching with the location points of the merchants.
The authentication module 706 may be configured to authenticate the information to be authenticated provided by the merchant by using the information provided by the POI point.
It can be seen that, the device for merchant authentication provided by the embodiments of the present specification searches out the POI point matched with the location point of the merchant by applying the method for matching the POI with the merchant according to any embodiment of the present specification, which can greatly reduce the search space and improve the search efficiency and accuracy, authenticates the information provided by the merchant by using the information provided by the POI point, that is, based on the third-party data of the geographic information system, and authenticates the information provided by the merchant, and the source of the authentication information is objective and fair, thereby achieving the purpose of efficient and reliable merchant authentication.
Fig. 8 is a schematic structural diagram illustrating a merchant authentication apparatus according to another embodiment of the present disclosure. As shown in fig. 8, the authentication module 706 of the apparatus may include: the comparison sub-module 7061 is configured to compare the business name and the contact address provided by the POI point with the business name and the contact address provided by the business. And the confirming sub-module 7062 is configured to confirm that the merchant is authenticated and output a corresponding authentication result if the comparison sub-module determines that the merchant is authenticated. By the embodiment, the merchant name and the contact information provided by the merchant can be authenticated based on the merchant name and the contact information provided by the searched POI, the authentication information source is objective and fair, and the purpose of efficient and reliable merchant authentication is realized.
As shown in fig. 8, in an implementation manner of another embodiment of this specification, the method may further include: the supplementing module 708 may be configured to extract information missing from the information provided by the POI point and supplement the information missing from the information provided by the POI point to the account information of the merchant after the confirmation module confirms that the authentication is passed. After the authentication is passed, the embodiment can also extract the information missing from the merchant from the information provided by the POI point, and the information is supplemented to the account information of the merchant, so that the shortage of the account information of the merchant is made up.
The above is an illustrative scheme of the device for merchant authentication according to this embodiment. It should be noted that the technical solution of the device for merchant authentication and the technical solution of the method for merchant authentication belong to the same concept, and details of the technical solution of the device for merchant authentication, which are not described in detail, can be referred to the description of the technical solution of the method for merchant authentication.
FIG. 9 illustrates a block diagram of a computing device 900 provided in accordance with one embodiment of the present specification. Components of the computing device 900 include, but are not limited to, a memory 910 and a processor 920. The processor 920 is coupled to the memory 910 via a bus 930, and a database 950 is used to store data.
Computing device 900 also includes access device 940, access device 940 enabling computing device 900 to communicate via one or more networks 960. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. Access device 940 may include one or more of any type of network interface (e.g., a Network Interface Card (NIC)) whether wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the present description, the above-described components of computing device 900, as well as other components not shown in FIG. 9, may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 9 is for purposes of example only and is not limiting as to the scope of the description. Those skilled in the art may add or replace other components as desired.
Computing device 900 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), a mobile phone (e.g., smartphone), a wearable computing device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 900 may also be a mobile or stationary server.
In an embodiment of an aspect of the present specification, the processor 920 is configured to execute the following computer-executable instructions:
acquiring transaction positioning data of a merchant;
calculating the Geohash corresponding to the positioning point of the merchant by using the transaction positioning data;
acquiring a Geohash adjacent to the Geohash corresponding to the positioning point;
and searching the POI points matched with the positioning points from the geographic information system by taking the Geohash corresponding to the positioning points and the Geohash adjacent to the Geohash corresponding to the positioning points as search ranges according to the Geohash corresponding to the POI points in the geographic information system.
Optionally, the calculating, by using the transaction location data, a Geohash corresponding to the location point of the merchant includes:
clustering the transaction positioning data in the preset time period of the merchant by adopting a Geohash, wherein one category corresponds to one Geohash;
selecting the Geohash with the largest transaction quantity as the Geohash corresponding to the positioning point of the merchant, and calculating the average value of the transaction positioning data in the Geohash as the positioning point of the merchant.
Optionally, the searching, according to the Geohash corresponding to the POI point in the geographic information system, the Geohash corresponding to the location point and the Geohash adjacent to the Geohash corresponding to the location point as a search range, where the searching for the POI point matched with the location point includes:
and searching POI points within a preset radius range from the positioning point by taking the Geohash corresponding to the positioning point and the Geohash adjacent to the Geohash corresponding to the positioning point as search ranges according to the Geohash corresponding to the POI points in the geographic information system.
Optionally, the Geohash adjacent to the Geohash corresponding to the location point includes: and eight adjacent Geohash are respectively positioned above, below, on the left, on the right, above left, above right, below left and below right of the Geohash corresponding to the positioning points.
The above is an illustrative scheme of a computing device of the present embodiment. It should be noted that the technical solution of the computing device and the technical solution of the method for matching a POI by a merchant belong to the same concept, and details of the technical solution of the computing device, which are not described in detail, can be referred to the description of the technical solution of the method for matching a POI by a merchant.
Among other embodiments of another aspect of the present description, the processor 920 is configured to execute the following computer-executable instructions:
acquiring information to be authenticated provided by a merchant;
applying the method for matching the POI by the merchant according to any embodiment of the specification to search out the POI point matched with the positioning point of the merchant;
and authenticating the information to be authenticated provided by the merchant by using the information provided by the POI point.
Optionally, the authenticating the to-be-authenticated information provided by the merchant by using the information provided by the POI point includes:
comparing the merchant name and the contact information provided by the POI point with the merchant name and the contact information provided by the merchant;
and if the merchant authentication is consistent, confirming that the merchant authentication is passed.
Optionally, the method further comprises:
and after the authentication is passed, extracting the information missing from the merchant from the information provided by the POI point, and supplementing the information missing to the account information of the merchant.
The above is an illustrative scheme of a computing device of the present embodiment. It should be noted that the technical solution of the computing device and the technical solution of the merchant authentication method described above belong to the same concept, and details that are not described in detail in the technical solution of the computing device can all refer to the description of the technical solution of the merchant authentication method described above.
An embodiment of an aspect of the present specification also provides a computer readable storage medium storing computer instructions that, when executed by a processor, are to:
acquiring transaction positioning data of a merchant;
calculating the Geohash corresponding to the positioning point of the merchant by using the transaction positioning data;
acquiring a Geohash adjacent to the Geohash corresponding to the positioning point;
and searching the POI points matched with the positioning points from the geographic information system by taking the Geohash corresponding to the positioning points and the Geohash adjacent to the Geohash corresponding to the positioning points as search ranges according to the Geohash corresponding to the POI points in the geographic information system.
Optionally, the calculating, by using the transaction location data, a Geohash corresponding to the location point of the merchant includes:
clustering the transaction positioning data in the preset time period of the merchant by adopting a Geohash, wherein one category corresponds to one Geohash;
selecting the Geohash with the largest transaction quantity as the Geohash corresponding to the positioning point of the merchant, and calculating the average value of the transaction positioning data in the Geohash as the positioning point of the merchant.
Optionally, the searching, according to the Geohash corresponding to the POI point in the geographic information system, the Geohash corresponding to the location point and the Geohash adjacent to the Geohash corresponding to the location point as a search range, where the searching for the POI point matched with the location point includes:
and searching POI points within a preset radius range from the positioning point by taking the Geohash corresponding to the positioning point and the Geohash adjacent to the Geohash corresponding to the positioning point as search ranges according to the Geohash corresponding to the POI points in the geographic information system.
Optionally, the Geohash adjacent to the Geohash corresponding to the location point includes: and eight adjacent Geohash are respectively positioned above, below, on the left, on the right, above left, above right, below left and below right of the Geohash corresponding to the positioning points.
The above is an illustrative scheme of a computer-readable storage medium of the embodiment. It should be noted that the technical solution of the storage medium and the technical solution of the method for matching a POI by a merchant belong to the same concept, and details that are not described in detail in the technical solution of the storage medium can be referred to the description of the technical solution of the method for matching a POI by a merchant.
An embodiment of another aspect of the specification also provides a computer-readable storage medium storing computer instructions that, when executed by a processor, are to:
acquiring information to be authenticated provided by a merchant;
searching out a POI point matched with the positioning point of the merchant by applying the method for matching POI of the merchant according to any embodiment of the specification;
and authenticating the information to be authenticated provided by the merchant by using the information provided by the POI point.
Optionally, the authenticating the to-be-authenticated information provided by the merchant by using the information provided by the POI point includes:
comparing the merchant name and the contact information provided by the POI point with the merchant name and the contact information provided by the merchant;
and if the merchant authentication is consistent, confirming that the merchant authentication is passed.
Optionally, the method further comprises:
and after the authentication is passed, extracting the information missing from the merchant from the information provided by the POI point, and supplementing the information missing to the account information of the merchant.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that the technical solution of the storage medium and the technical solution of the above-mentioned merchant authentication method belong to the same concept, and details that are not described in detail in the technical solution of the storage medium can be referred to the description of the technical solution of the above-mentioned merchant authentication method.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The computer instructions comprise computer program code which may be in the form of source code, object code, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that, for the sake of simplicity, the foregoing method embodiments are described as a series of acts, but those skilled in the art should understand that the present embodiment is not limited by the described acts, because some steps may be performed in other sequences or simultaneously according to the present embodiment. Further, those skilled in the art should also appreciate that the embodiments described in this specification are preferred embodiments and that acts and modules referred to are not necessarily required for an embodiment of the specification.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The preferred embodiments of the present specification disclosed above are intended only to aid in the description of the specification. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the embodiments and the practical application, to thereby enable others skilled in the art to best understand and utilize the embodiments. The specification is limited only by the claims and their full scope and equivalents.
Claims (8)
1. A method of merchant authentication, comprising:
acquiring information to be authenticated provided by a merchant;
searching out POI points matched with the positioning points of the merchants by applying a method for matching the POI points by the merchants;
authenticating the information to be authenticated provided by the merchant by using the information provided by the POI point;
the method for matching POI by the merchant comprises the following steps:
acquiring transaction positioning data of a merchant;
calculating the Geohash corresponding to the positioning point of the merchant by using the transaction positioning data;
acquiring a Geohash adjacent to the Geohash corresponding to the positioning point;
and searching the POI points matched with the positioning points from the geographic information system by taking the Geohash corresponding to the positioning points and the Geohash adjacent to the Geohash corresponding to the positioning points as search ranges according to the Geohash corresponding to the POI points in the geographic information system.
2. The method of claim 1, wherein the authenticating the information to be authenticated provided by the merchant by using the information provided by the POI point comprises:
comparing the merchant name and the contact information provided by the POI point with the merchant name and the contact information provided by the merchant;
and if the merchant authentication is consistent, confirming that the merchant authentication is passed.
3. The method of claim 2, further comprising:
and after the authentication is passed, extracting the information missing from the merchant from the information provided by the POI point, and supplementing the information missing to the account information of the merchant.
4. An apparatus for merchant authentication, comprising:
the information acquisition module is configured to acquire to-be-authenticated information provided by a merchant;
the POI matching module is configured to search out POI points matched with the positioning points of the merchants by applying a method for matching POI by the merchants;
the authentication module is configured to authenticate the information to be authenticated provided by the merchant by using the information provided by the POI point;
the method for matching POI by the merchant comprises the following steps:
acquiring transaction positioning data of a merchant;
calculating the Geohash corresponding to the positioning point of the merchant by using the transaction positioning data;
acquiring a Geohash adjacent to the Geohash corresponding to the positioning point;
and searching the POI points matched with the positioning points from the geographic information system by taking the Geohash corresponding to the positioning points and the Geohash adjacent to the Geohash corresponding to the positioning points as search ranges according to the Geohash corresponding to the POI points in the geographic information system.
5. The apparatus of claim 4, the authentication module comprising:
the comparison sub-module is configured to compare the business name and the contact information provided by the POI point with the business name and the contact information provided by the business;
a confirmation sub-module configured to confirm that the merchant authentication is passed if the comparison sub-module determines that the merchant authentication is consistent.
6. The apparatus of claim 5, further comprising:
and the supplement module is configured to extract the information missing from the merchant from the information provided by the POI point and supplement the information missing to the account information of the merchant after the confirmation and authentication of the confirmation sub-module are passed.
7. A computing device, comprising:
a memory and a processor;
the memory is to store computer-executable instructions, and the processor is to execute the computer-executable instructions to:
acquiring information to be authenticated provided by a merchant;
searching out POI points matched with the positioning points of the merchants by applying a method for matching the POI points by the merchants;
authenticating the information to be authenticated provided by the merchant by using the information provided by the POI point; the method for matching POI by the merchant comprises the following steps:
acquiring transaction positioning data of a merchant;
calculating the Geohash corresponding to the positioning point of the merchant by using the transaction positioning data;
acquiring a Geohash adjacent to the Geohash corresponding to the positioning point;
and searching the POI points matched with the positioning points from the geographic information system by taking the Geohash corresponding to the positioning points and the Geohash adjacent to the Geohash corresponding to the positioning points as search ranges according to the Geohash corresponding to the POI points in the geographic information system.
8. A computer readable storage medium storing computer instructions which, when executed by a processor, carry out the steps of the method of merchant authentication of any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911055514.6A CN110796522B (en) | 2019-10-31 | 2019-10-31 | Method for matching POI (Point of interest) by merchant, authentication method and respective devices |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911055514.6A CN110796522B (en) | 2019-10-31 | 2019-10-31 | Method for matching POI (Point of interest) by merchant, authentication method and respective devices |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110796522A CN110796522A (en) | 2020-02-14 |
CN110796522B true CN110796522B (en) | 2022-05-13 |
Family
ID=69440672
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911055514.6A Active CN110796522B (en) | 2019-10-31 | 2019-10-31 | Method for matching POI (Point of interest) by merchant, authentication method and respective devices |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110796522B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112711645B (en) * | 2021-01-11 | 2022-05-10 | 腾讯科技(深圳)有限公司 | Method and device for expanding position point information, storage medium and electronic equipment |
CN112699206B (en) * | 2021-03-23 | 2021-07-13 | 上海迹寻科技有限公司 | User position and residence analysis method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103164512A (en) * | 2013-02-25 | 2013-06-19 | 百度在线网络技术(北京)有限公司 | Processing method and equipment of address information of interest point |
CN105095390A (en) * | 2015-06-30 | 2015-11-25 | 北京奇虎科技有限公司 | Method and device for chain brand collection based on POI data |
CN106886674A (en) * | 2016-08-24 | 2017-06-23 | 阿里巴巴集团控股有限公司 | A kind of geographical position Distance Batch computational methods and device |
CN109754266A (en) * | 2018-12-25 | 2019-05-14 | 国家消防工程技术研究中心 | Authentication information image display method, device, server and storage medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8958822B2 (en) * | 2010-10-25 | 2015-02-17 | Alohar Mobile Inc. | Determining points of interest of a mobile user |
US9396275B2 (en) * | 2011-09-15 | 2016-07-19 | Hewlett Packard Enterprise Development Lp | Geographically partitioned online search system |
-
2019
- 2019-10-31 CN CN201911055514.6A patent/CN110796522B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103164512A (en) * | 2013-02-25 | 2013-06-19 | 百度在线网络技术(北京)有限公司 | Processing method and equipment of address information of interest point |
CN105095390A (en) * | 2015-06-30 | 2015-11-25 | 北京奇虎科技有限公司 | Method and device for chain brand collection based on POI data |
CN106886674A (en) * | 2016-08-24 | 2017-06-23 | 阿里巴巴集团控股有限公司 | A kind of geographical position Distance Batch computational methods and device |
CN109754266A (en) * | 2018-12-25 | 2019-05-14 | 国家消防工程技术研究中心 | Authentication information image display method, device, server and storage medium |
Non-Patent Citations (1)
Title |
---|
附近POI:geohash原理;weedge;《https://weedge.github.io/post/geohash/》;20180503;第1-5页 * |
Also Published As
Publication number | Publication date |
---|---|
CN110796522A (en) | 2020-02-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10149094B2 (en) | Systems and methods to identify a predefined geographical region in which a mobile device is located | |
JP6158162B2 (en) | Method and apparatus for displaying points of interest | |
US11193786B2 (en) | System and method for determining location | |
CN110008293B (en) | Geographic position query method and device | |
US10289695B2 (en) | Computerized system and method for performing a location-based search | |
WO2019072092A1 (en) | Ip address positioning method and apparatus, electronic device, and storage medium | |
WO2015154438A1 (en) | Positioning method and device | |
CN104796984B (en) | Base station positioning method and device | |
CN110796522B (en) | Method for matching POI (Point of interest) by merchant, authentication method and respective devices | |
CN109995884A (en) | The method and apparatus for determining accurate geographic position | |
CN106162804A (en) | For providing the method and apparatus of the access information of wireless access focus | |
US9787557B2 (en) | Determining semantic place names from location reports | |
CN106716471A (en) | Systems and methods for identifying mobile devices | |
KR102225194B1 (en) | Method and apparatus for verifying entity information | |
CN104834721A (en) | Search processing method and device based on positions | |
WO2021008148A1 (en) | Indoor positioning method and apparatus, electronic device and computer readable storage medium | |
CN111238507A (en) | Method and system for determining geographic position of cell, electronic device and storage medium | |
CN112653748A (en) | Information pushing method and device, electronic equipment and readable storage medium | |
CN109803232A (en) | Determination method and device, equipment and the storage medium of positional relationship | |
CN113449986A (en) | Service distribution method, device, server and storage medium | |
KR20180040841A (en) | Method for Fingerprinting Positioning Based on the Reliability of the Measurement Reference Position and Apparatus therefor | |
CN110740418A (en) | Method and device for generating user visit information | |
US9449110B2 (en) | Geotiles for finding relevant results from a geographically distributed set | |
CN104580379B (en) | Method and device for sending display information | |
CN110705994A (en) | Risk user detection method and device |
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 |