Data processing method and computer program product

By identifying the grid transaction center of a merchant in the map grid and recalling its surrounding points of interest, the problem of inaccurate merchant transaction positioning is solved, and the relationship between merchants and points of interest is accurately displayed in the electronic map, thus improving the accuracy of POI attribute mining in mobile payment scenarios.

CN113971247BActive Publication Date: 2026-11-27AUTONAVI SOFTWARE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111256725.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-27
Publication Date
2026-11-27
Estimated Expiration
2041-10-27

AI Technical Summary

Technical Problem

Existing technologies struggle to accurately identify the attributes of shops or stores related to mobile payments in merchant transaction location, resulting in inaccurate transaction location, especially due to coordinate drift and redundant calculations caused by multiple branches of the same merchant and remote transactions.

Method used

By acquiring merchant transaction information, dividing the map into grids, determining the grid transaction centers of merchants, and using density clustering and spatial indexing technologies, the merchant transaction centers are aggregated, their surrounding points of interest are recalled, and a corresponding relationship is established based on the attributes of merchants and points of interest to accurately mine mobile payment-related attributes.

Benefits of technology

It enables accurate display of the relationship between merchants and points of interest in electronic maps, improves the accuracy of POI attribute mining in mobile payment scenarios, reduces redundant calculations, and enhances the accuracy of transaction positioning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113971247B_ABST
    Figure CN113971247B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a data processing method and a computer program product, wherein the data processing method comprises: obtaining merchant transaction information generated based on mobile payment, the merchant transaction information comprising: a merchant identifier and a transaction location; dividing the transaction location into a corresponding map grid according to a geographical position range covered by the map grid; determining a grid transaction center of a merchant corresponding to the merchant identifier in the map grid according to the transaction location in the map grid; aggregating the grid transaction centers of the merchants corresponding to the same merchant identifier in a set geographical area to obtain a merchant transaction center of the merchant; obtaining a point of interest located around the merchant transaction center of the merchant; obtaining a point of interest associated with the merchant based on at least an attribute of the merchant and an attribute of the point of interest; and establishing a corresponding relationship among the merchant, the merchant transaction center of the merchant, and the point of interest associated with the merchant.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a data processing method and a computer program product. Background Technology

[0002] Points of Interest (POI) are a type of data in electronic maps that represent real-world locations, such as tourist attractions, businesses (shopping malls, shops, etc.), and transportation facilities (stations, speed limit signs, etc.).

[0003] Since Points of Interest (POIs) represent real-world locations, the richness of their attributes significantly impacts the development of applications based on electronic maps. Currently, POI attributes mainly include geographic location, address, and name. However, for businesses such as shops and stores, whether consumers can use mobile payment (electronic payment) at those shops or stores is valuable information. Therefore, accurately extracting mobile payment-related attributes for POIs with payment scenarios, such as shops or stores, is a problem that those skilled in the art need to solve. Summary of the Invention

[0004] In view of this, embodiments of this application provide a data processing scheme to at least partially solve the above-mentioned problems.

[0005] According to a first aspect of the embodiments of this application, a data processing method is provided, the method comprising: acquiring merchant transaction information generated based on mobile payment, the merchant transaction information including: merchant identifier and transaction location; dividing the transaction location into corresponding map grids according to the geographical location range covered by the map grid; determining the grid transaction center of the merchant corresponding to the merchant identifier in the map grid based on the transaction location in the map grid; aggregating the grid transaction centers of merchants corresponding to the same merchant identifier within a set geographical area to obtain the merchant transaction center of the merchant; acquiring points of interest located around the merchant transaction center of the merchant; acquiring the points of interest associated with the merchant based at least on the attributes of the merchant and the attributes of the points of interest; and establishing a correspondence between the merchant, the merchant transaction center of the merchant, and the points of interest associated with the merchant.

[0006] According to a second aspect of the embodiments of this application, another data processing method is provided, the method comprising: receiving merchant transaction information generated based on mobile payment, the merchant transaction information including: merchant identifier and transaction location; determining points of interest corresponding to the merchant identifier and / or the transaction location based on a pre-established correspondence between merchants, merchant transaction centers of merchants and points of interest associated with merchants, wherein the correspondence is obtained according to the method described in the first aspect; and displaying the merchant transaction center and the points of interest in an electronic map.

[0007] According to a third aspect of the present application, an electronic device is provided, comprising: a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface communicate with each other via the communication bus; the memory is used to store at least one executable instruction, wherein the executable instruction causes the processor to perform an operation corresponding to the data processing method described in the first or second aspect.

[0008] According to a fourth aspect of the embodiments of this application, a computer storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the operations corresponding to the data processing method described in the first or second aspect.

[0009] According to a fifth aspect of the embodiments of this application, a computer program product is provided, including computer instructions that instruct a computing device to perform an operation corresponding to the data processing method described in the first or second aspect.

[0010] According to the data processing scheme provided in this application, the transaction location in the merchant transaction information generated by mobile payment is used to determine the map grid to which the merchant belongs. Then, based on the merchant's identifier and the merchant's transaction location in the corresponding map network, the grid transaction center of the merchant in the corresponding map grid is determined. Furthermore, within a defined geographical area, the grid transaction centers of merchants are aggregated to obtain merchant transaction centers. This allows for the recall of points of interest (POIs) in the vicinity of the merchant transaction center. Then, based on the attributes of the merchant and the POIs, POIs associated with the merchant are determined from the recalled POIs. Thus, a correspondence is established between merchants, merchant transaction centers, and POIs associated with merchants. Based on this, the relationship between merchants, POIs, and mobile payment (electronic payment) can be effectively mined, accurately extracting mobile payment-related attributes for POIs with payment scenarios. Attached Figure Description

[0011] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings.

[0012] Figure 1A This is a schematic flowchart illustrating a data processing method provided in an embodiment of this application.

[0013] Figure 1B A schematic diagram illustrating grid allocation for a transaction, provided as an embodiment of this application;

[0014] Figure 1C A schematic diagram illustrating the regional attribution of transactions provided in this application embodiment.

[0015] Figure 2 A flowchart illustrating another data processing method provided in an embodiment of this application;

[0016] Figure 3 This is a schematic diagram of the structure of a data processing device provided in an embodiment of this application;

[0017] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0018] To enable those skilled in the art to better understand the technical solutions in the embodiments of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art should fall within the protection scope of the embodiments of this application.

[0019] Currently, when associating merchants and Points of Interest (POIs), transaction localization is typically based on mobile payment transactions. The association is then based on these transactions to uncover POI attributes related to mobile payments. However, this transaction localization approach may have several problems, such as:

[0020] 1. Transactions generated by the same merchant may originate from multiple entities located in multiple different places. That is, the merchant may have branches in multiple different locations (one merchant corresponds to multiple transaction entities), but the same merchant identifier is used in the transaction, which leads to inaccurate transaction positioning and makes it impossible to accurately discover the attributes of POIs with payment scenarios related to mobile payment.

[0021] 2. There are non-face-to-face remote transactions, meaning that customers are not always at the merchant's location when making a transaction. On the one hand, there may be some coordinate drift due to the asynchrony between the transaction and location; on the other hand, customers may make remote mobile payments (for example, customers place orders remotely, but the transaction location is based on the location of the customer when placing the order). This may lead to inaccurate transaction location, and thus make it impossible to accurately discover the attributes of POIs with payment scenarios related to mobile payments.

[0022] Based on this, embodiments of this application provide a more accurate data processing scheme to solve the above problems. The specific implementation of embodiments of this application is further described below with reference to the accompanying drawings.

[0023] like Figure 1A As shown, Figure 1A This is a flowchart illustrating a data processing method provided in an embodiment of this application. The method includes:

[0024] S101, obtain merchant transaction information generated based on mobile payment.

[0025] The merchant transaction information includes merchant identification and transaction location. When a customer and a merchant conduct a transaction using mobile payment, corresponding transaction information is generated, which includes both customer information and merchant transaction information. This embodiment focuses on merchant transaction information, which includes at least a merchant identification (including but not limited to ID) and transaction location. Typically, the transaction location can be in the form of geographic coordinates, but it is not limited to this; other methods that can accurately represent the transaction location are also applicable.

[0026] For example, when a mobile terminal makes a mobile payment based on a transaction, it can obtain the longitude and latitude of the mobile terminal through its positioning module, thereby representing the transaction location.

[0027] Furthermore, it should be noted that a merchant may have multiple entities, such as multiple branches or chain stores of the same brand. Although the locations of these entities differ, they can use the same identifier. For example, Merchant A may have a branch A1 in Zone X and a branch A2 in Zone Y, but the merchant identifier in the transaction information generated by A1 and A2 will both be that of Merchant A. Therefore, it is possible to generate multiple transaction coordinates for the same merchant with significantly different transaction locations.

[0028] In the embodiments of this application, unless otherwise specified, the terms "multiple", "various", etc., related to "multiple" in this application all refer to two or more.

[0029] S103, divide the transaction location into the corresponding map grid according to the geographical location covered by the map grid.

[0030] The map grid can be pre-divided. The map grid can be divided into different sizes according to actual needs. In this embodiment, a traditional digital raster format can be used for map grid division, such as map grids ranging in size from 50m*50m to 200m*200m. For example, a 53m*74m map grid can meet the needs of merchant and POI positioning. Of course, when storage and computing performance are sufficient, smaller map grids can be used to achieve better accuracy. Furthermore, during map grid division, different sizes (methods, sizes, shapes) can be implemented according to actual needs, and the resulting map grid sizes are not necessarily completely consistent; map grids at different latitudes and longitudes can be adapted to different sizes. Also, the resulting map grids are not necessarily rectangular; for example, map grids can be divided along latitude and longitude lines to obtain map grids with curved edges.

[0031] Clearly, since the map grid directly corresponds to the actual space, the transaction location of each transaction will fall into a map grid. Thus, the transaction location can be divided into the corresponding map grid, that is, the map grid to which each transaction location belongs can be determined.

[0032] Furthermore, because the map is divided into multiple map grids, the number of map grids generated will be very large when the map grid size is small. For example, when dividing the map grid into 53m*74m grids, the number of map grids generated will reach the order of 100B (trillions). If the transactions are not geographically differentiated, since some merchants often operate nationwide chains, it would be necessary to define the map grid belonging to the transaction across the entire map, resulting in significant redundant calculations.

[0033] Based on this, the regions corresponding to the map grid and the exchange can be determined first. For example, since most merchants with a large number of transactions are located in cities, cities can be used as partitions to define the affiliation of the map grid and the transactions. Subsequently, data processing in this application embodiment can also be performed on a partition-by-partition basis.

[0034] For example, first, identify the transactions corresponding to a city (transactions generally include the transaction location, allowing direct identification of the corresponding city). Then, based on pre-defined map grids corresponding to that city (e.g., based on geographical boundaries, determining which map grids a city corresponds to), transactions and map grids can be assigned. This allows for assigning transactions in Beijing to Beijing's map grids, and transactions in Shanghai to Shanghai's map grids. In other words, transactions within the same region belong to the same region's map grids, eliminating the need for cross-regional assignment. Figure 1C As shown, Figure 1C This diagram illustrates a regional transaction attribution definition method provided in this application embodiment. Transactions are first assigned to corresponding cities, eliminating the need for cross-regional allocation during the attribution process. In this example, subsequent data processing can be performed city-by-city. This method avoids redundant calculations during large-scale attribution definitions, improving computational speed.

[0035] S105, Based on the transaction location in the map grid, determine the grid transaction center in the map grid corresponding to the merchant identifier.

[0036] Specifically, for any map grid where a merchant's transaction location is situated, the transaction locations belonging to that grid can first be determined. Then, by statistically analyzing the transaction locations belonging to that grid, the merchant's transaction center within that grid can be obtained. This grid transaction center can also be represented by coordinates.

[0037] In one feasible approach, the weight of a merchant's transaction location within a map grid can be determined according to a preset transaction weighting rule. Based on the merchant's transaction location and its corresponding weight within the map grid, the grid transaction center for that merchant is determined. Alternatively, a weighted average can be calculated based on the merchant's transaction location and its corresponding weight within the map grid, and the resulting location is determined as the grid transaction center for that merchant. Thus, by assigning weights to transaction locations and determining the grid transaction center based on these weights, more precise transaction locations can be highlighted, providing a basis for accurately determining the grid transaction center. Furthermore, the weighted averaging method makes the obtained grid transaction center more objective and accurate.

[0038] For example, the weighted average, median, or most frequently occurring transaction location of transactions belonging to that map grid can be used as the coordinates of the transaction center for that grid. The weighting of the average can be determined according to actual needs. For instance, each transaction can have an equal weight of 1, meaning the weighted average is the arithmetic mean; or, transactions can have unequal weights, such as transactions closer to the grid center having higher weights, or transactions with larger transaction amounts having higher weights, etc.

[0039] In addition, in some cases, such as when a merchant is located in a location that is assigned to the boundary of a map grid, the transaction location in the merchant's transaction information may fall within the map grid where the merchant is located and one or more adjacent map grids. By using the weights corresponding to the transaction locations, the obtained grid transaction centers can be made to be more consistent with reality.

[0040] On the other hand, regarding the merchant's transaction location, such as Figure 1B As shown, the possible transaction location distribution is as follows: a higher number of transactions occur in some map grids (e.g., typically corresponding to the actual coordinates of a branch), while fewer transactions occur in other map grids (e.g., possibly due to random remote mobile payments by customers). Figure 1B As shown, Figure 1B This diagram illustrates a map grid assignment for transaction locations provided in an embodiment of this application. Each black dot in the diagram represents a certain number of transactions. By assigning weights to transaction locations, the influence of a few occasional data points in this scenario can be effectively avoided.

[0041] S107, aggregate the grid transaction centers of merchants corresponding to the same merchant identifier within the set geographical area to obtain the merchant transaction center of the merchant.

[0042] The geographical area can be set by those skilled in the art according to actual needs. For example, the geographical area can be defined by city, or by districts and towns under a city, or by a preset geographical range as needed.

[0043] For merchants, at least the following situations exist: (1) One merchant ID corresponds to one merchant, and the merchant's grid transaction center is located in only one map grid; (2) One merchant ID corresponds to one merchant, but the merchant's grid transaction center is distributed in multiple adjacent map grids (for example, if a merchant is assigned to a grid boundary area, the transaction location in the merchant transaction information corresponding to the merchant may fall in the map grid where the merchant is located and one or more adjacent map grids, thus causing the merchant's grid transaction center to be distributed in multiple adjacent map grids); (3) One merchant ID corresponds to multiple merchant entities, and the grid transaction centers of these multiple merchant entities are distributed in different multiple map grids; (4) One merchant ID corresponds to multiple merchant entities, and the grid transaction centers of these multiple merchant entities are distributed in different multiple map grids, and the grid transaction centers of each merchant entity in some of these merchant entities are distributed in multiple adjacent map grids.

[0044] Based on this, in one feasible approach, this step can be implemented as follows: for the same merchant within a defined geographical area, determine the effective grids where the number of transactions for that merchant exceeds a preset value within a preset time period; perform density clustering based on the coordinates of the grid transaction centers of the effective grids to obtain the merchant's transaction centers. The number of transactions can be calculated based on factors such as the number of orders, the number of transaction information items, or the number of merchant transaction information items within the transaction information. The preset time period can be appropriately set by those skilled in the art according to actual needs, such as one day, one week, one month, or one year, etc. Similarly, the preset value can also be appropriately set by those skilled in the art according to actual needs, and this application embodiment does not impose any limitations on this.

[0045] In reality, since the radius of a physical store is not very far, the further away the store is, the fewer transactions will be generated, or they will all be transactions generated by remote payments. Therefore, for map grids with sparse transaction volumes, it can usually be considered that these transactions are actually based on remote payments. By defining map grids with more than a preset number of transactions as valid grids, interfering transactions can be effectively filtered out, thus achieving more accurate identification of merchant transaction centers.

[0046] Furthermore, density clustering is performed on the grid transaction centers based on the effective grid to obtain the merchant transaction centers of the merchants. The density-based clustering algorithm assumes that the cluster structure can be determined by the density of the sample distribution. It clusters based on the density of the dataset in spatial distribution, that is, as long as the sample density in a region is greater than a certain threshold, it is assigned to a cluster with similar density. Therefore, for the cases (1) and (2) above, for a certain merchant, the merchant transaction center of the merchant can be directly obtained through density clustering. For the case (3) above, density clustering may cluster multiple merchant transaction centers. Similarly, for the case (4) above, density clustering may cluster multiple merchant transaction centers. Moreover, for merchant entities whose grid transaction centers are distributed in multiple adjacent map grids, the grid transaction centers in multiple adjacent map grids can be effectively clustered to the vicinity of the actual merchant entity's merchant transaction center. In addition, for the merchant transaction center, it can have attribute information such as ID and location to facilitate subsequent data processing.

[0047] Based on the obtained merchant transaction centers, each merchant transaction center can be assigned a corresponding merchant transaction center identifier, which is then associated with the calculated coordinates of the merchant transaction center. For example, for merchant A, there are three corresponding merchant transaction centers. Therefore, each merchant transaction center can be assigned a corresponding identifier as A1, A2, and A3, and then associated with the coordinates P1, P2, and P3 of its corresponding merchant transaction center, thus forming associations such as (A, A1, P1), (A, A2, P2), and (A, A3, P3), which facilitates subsequent queries.

[0048] S109, Obtain Points of Interest (POIs) located around the merchant's transaction center.

[0049] Once the merchant transaction center is identified, it's equivalent to identifying the merchant or a physical branch of that merchant and its coordinates. Therefore, POI recall can be conducted targeting the merchant or its physical branch based on the pre-defined POIs. For example, POIs within a 500m radius of the merchant transaction center can be recalled.

[0050] In one embodiment, a spatial index of the merchant may be established based on the merchant name of the merchant and the location coordinates of the merchant transaction center; and according to the spatial index of the merchant and a pre-established spatial index of points of interest, points of interest located around the merchant transaction center of the merchant are acquired. The spatial index is a data structure arranged in a certain order according to the position of the spatial object or a certain spatial relationship between the spatial objects. In the embodiment of the present application, the spatial index of the merchant includes a merchant identifier, a merchant transaction center identifier, and spatial coordinates of the merchant transaction center; the spatial index of the point of interest includes the point of interest and spatial coordinates of the point of interest. Through the spatial index, the points of interest around the merchant can be quickly and efficiently recalled for the merchant.

[0051] In a feasible manner, the spatial index of the merchant includes the merchant name split into individual characters, and the spatial index of the point of interest includes the point of interest name split into individual characters. Based on this, acquiring, according to the spatial index of the merchant and a pre-established spatial index of points of interest, points of interest located around the merchant transaction center of the merchant may be implemented as: according to the merchant name in the spatial index of the merchant and the name of the point of interest in the spatial index of the point of interest, and the location of the merchant transaction center in the spatial index of the merchant and the location of the point of interest in the spatial index of the point of interest, acquiring a point of interest whose name has the same characters as the merchant name and whose location is the same as or close to the location of the merchant transaction center as the point of interest located around the merchant transaction center of the merchant (close means that in the spatial index, the distance between the coordinates of the POI and the coordinates corresponding to the merchant transaction center does not exceed a certain value).

[0052] For example, it is assumed that there are multiple points of interest having the same or similar locations as the merchant transaction center of the merchant, and it is further assumed that the name of a certain point of interest is "Zhongguancun Subway Station", then its word segmentation includes "中". Therefore, if the name of the merchant also includes "中" (for example, its name may be "xx Snack Zhongguancun Store"), then "Zhongguancun Subway Station" will be taken as a surrounding point of interest of the merchant transaction center of the merchant. In this way, merchant transaction centers and points of interest that contain the same characters and whose spatial distance meets a preset range condition can be allocated together, which can further improve the efficiency of point of interest recall when there are a large number of merchant transaction centers and points of interest.

[0053] S111: acquire, based at least on the attribute of the merchant and the attribute of the point of interest, a point of interest associated with the merchant.

[0054] Wherein, the attribute of the merchant includes at least a merchant identifier and a merchant name, and the attribute of the point of interest includes at least a point of interest identifier and a point of interest name.

[0055] Based on this, this step can be implemented as follows: obtaining the similarity between the merchant's name and the name of the point of interest; and obtaining the points of interest associated with the merchant based on the similarity and the interaction behavior information between the merchant and the point of interest. The interaction behavior information between the merchant and the point of interest can be obtained through the interaction behavior information between users associated with the merchant (including but not limited to the merchant's customers, employees, and related service personnel such as delivery personnel, takeout personnel, etc.) and the point of interest. That is, when obtaining the points of interest associated with the merchant based on the similarity and the interaction behavior information between the merchant and the point of interest, the interaction behavior information between users associated with the merchant and the point of interest can be obtained; and the points of interest associated with the merchant can be obtained based on the similarity and interaction behavior information. The interaction behavior information includes, but is not limited to: information on the merchant's customers navigating to the POI, WIFI usage behavior information (such as whether the WIFI used by the merchant or customer when making a transaction is consistent with the WIFI included in the POI), and delivery behavior information (such as whether the merchant's or customer's delivery order is related to the POI), etc. The higher the similarity between names, the greater the likelihood that they are located within a small geographical area (such as near Zhongguancun subway station); and interaction behavior information can effectively reflect the degree of association between merchants and points of interest. Therefore, obtaining points of interest associated with merchants based on name similarity and interaction behavior information is more efficient and accurate.

[0056] Furthermore, to reduce data processing volume, after obtaining the similarity and interaction behavior information, the relevance ranking of merchants and points of interest can be determined based on the similarity and interaction behavior information; a preset number of points of interest ranked first in relevance can be identified as points of interest associated with the merchants. The preset number can be appropriately set by those skilled in the art according to actual needs, and this embodiment does not impose any limitations on it.

[0057] S113, establish the correspondence between merchants, merchant transaction centers, and merchant-related points of interest.

[0058] For example, a table can be used to record the correspondence between merchants, merchant transaction centers, and merchant-related points of interest. A record can be in the form of [Merchant 1, (Merchant Transaction Center 1, coordinate 1), (POI 1, coordinate 2)].

[0059] Furthermore, since coordinates 1 and 2 may actually be the same (e.g., in the same food court), the record can also be in the form of (Merchant 1, Merchant Transaction Center 1, POI 1, Coordinate 1) if the accuracy requirement is not particularly high, as shown in Table 1.

[0060] Table 1

[0061] Merchant logo Merchant Transaction Center Logo POI identifier Spatial coordinates A A1 P1 (x1, y1) B B1 P2 (x1, y1) A A2 P3 (x2, y2) A A1 P2 (x1, y1)

[0062] The merchant identifier, merchant transaction center identifier, and POI identifier in the table can be in the form of actual names (e.g., xx snack, xx snack xx road branch, xx building), etc., or they can be unique strings obtained by encoding the names accordingly.

[0063] Since a single merchant may exist as multiple entities, a merchant identifier may correspond to multiple merchant transaction center identifiers with different spatial coordinates. For example, merchant identifier A in Table 1 corresponds to two merchant transaction center identifiers, A1 and A2, with different spatial coordinates. Furthermore, since multiple Points of Interest (POIs) with the same coordinates may exist in the same space (e.g., POI1 and POI2 have the same spatial coordinates), different merchant transaction center identifiers may also correspond to the same POI. That is, A1 and B1 correspond to the same POI identifier (i.e., multiple branches of different merchants exist within the same building, such as multiple branches of different merchants in a shopping mall).

[0064] In other words, the same merchant identifier can correspond to multiple merchant transaction center identifiers with different spatial coordinates, and the same merchant transaction center identifier can also correspond to multiple POIs. For example, when KFC conducts transactions, the merchant identifier used is "KFC", but in reality, it may have identifiers such as "KFC Zhongguancun Branch" and "KFC Qianmen Branch", etc.; at the same time, "KFC Qianmen Branch" may also correspond to multiple POIs such as "Qianmen Street", "Du Yichu Shaomai Restaurant", "China Bookstore", "Zhang Yiyuan Tea House" etc.

[0065] By establishing the aforementioned correspondence, it is easy to query the merchant identifier and merchant transaction center identifier corresponding to any POI, and it is also easy to query the POI corresponding to any merchant or merchant transaction center identifier under the same or similar coordinates.

[0066] This embodiment determines the map grid to which a merchant belongs based on the transaction location in the merchant transaction information generated by mobile payment. Then, based on the merchant's identifier and transaction location within the corresponding map network, the grid transaction center of the merchant in that map grid is determined. Furthermore, within a defined geographical area, the grid transaction centers of merchants are aggregated to obtain merchant transaction centers. This allows for the recall of points of interest (POIs) in the vicinity of the merchant's transaction center. Based on the attributes of the merchant and the POIs, POIs associated with the merchant are determined from the recalled POIs. Thus, a correspondence is established between merchants, merchant transaction centers, and POIs associated with merchants. Based on this, the relationship between merchants, POIs, and mobile payment (electronic payment) can be effectively mined, accurately identifying mobile payment-related attributes for POIs with payment scenarios. The data processing method of this embodiment can be executed by any suitable electronic device with data processing capabilities, including but not limited to: servers, mobile terminals (such as mobile phones, tablets, etc.), and PCs.

[0067] Regarding the second aspect of the embodiments of this application, another data processing method is also provided, such as... Figure 2 As shown.

[0068] Figure 2 This is a flowchart illustrating another data processing method provided in an embodiment of this application, the method comprising:

[0069] S201, Receive merchant transaction information generated based on mobile payment.

[0070] The merchant transaction information includes: merchant identifier and transaction location.

[0071] S203, based on the pre-established correspondence between merchants, merchant transaction centers and merchant-associated points of interest, determine the points of interest corresponding to the merchant identifier and / or transaction location.

[0072] The correspondence between merchants, merchant transaction centers, and merchant-related points of interest is obtained according to the data processing method described in the foregoing embodiments, and will not be repeated here.

[0073] S205 displays merchant transaction centers and points of interest on an electronic map.

[0074] This embodiment can effectively uncover the relationship between merchants, points of interest and mobile payment (electronic payment) based on the pre-established correspondence between merchants, merchant transaction centers and points of interest associated with merchants, and accurately discover the attributes related to mobile payment for POIs with payment scenarios.

[0075] The data processing method of this embodiment can be executed by any suitable electronic device with data processing capabilities, including but not limited to: servers, mobile terminals (such as mobile phones, PADs, etc.) and PCs.

[0076] Regarding a third aspect of the embodiments of this application, a data processing apparatus is also provided, such as... Figure 3 As shown.

[0077] Figure 3 This is a schematic diagram of a data processing apparatus provided in an embodiment of this application. The apparatus includes:

[0078] The acquisition module 301 is used to acquire merchant transaction information generated based on mobile payment, wherein the merchant transaction information includes: merchant identifier and transaction location;

[0079] The grid division module 303 is used to divide the transaction location into corresponding map grids according to the geographical location range covered by the map grid;

[0080] The transaction attribution module 305 is used to determine the grid transaction center of the merchant corresponding to the merchant identifier in the map grid based on the transaction location in the map grid;

[0081] The merchant transaction center determination module 307 is used to aggregate the grid transaction centers of merchants corresponding to the same merchant identifier within a set geographical area to obtain the merchant transaction center of the merchant.

[0082] The point of interest acquisition module 309 is used to acquire points of interest located around the merchant transaction center of the merchant;

[0083] The association module 311 is used to obtain the interest points associated with the merchant based at least on the attributes of the merchant and the attributes of the interest points;

[0084] The correspondence establishment module 313 is used to establish the correspondence between merchants, merchant transaction centers and merchant-related points of interest.

[0085] Optionally, the transaction attribution module 305 is used to determine the weight of the transaction position of the merchant corresponding to the merchant identifier in the map grid according to the preset transaction weight rules; and to determine the grid transaction center of the merchant corresponding to the merchant identifier in the map grid based on the transaction position of the merchant in the map grid and its corresponding weight.

[0086] Optionally, when the transaction attribution module 305 determines the grid transaction center of the merchant corresponding to the merchant identifier in the map grid based on the merchant's transaction location in the map grid and its corresponding weight, it performs a weighted average of the merchant's transaction location in the map grid and determines the location obtained by the weighted average as the grid transaction center of the merchant corresponding to the merchant identifier in the map grid.

[0087] Optionally, the merchant transaction center determination module 307 is used to determine, for the same merchant within a set geographical area, the effective grids whose transaction volume for the merchant exceeds a preset value within a preset time period; and to perform density clustering based on the coordinates of the grid transaction centers of the effective grids to obtain the merchant transaction centers of the merchant.

[0088] Optionally, the point of interest acquisition module 309 is used to establish a spatial index of the merchant based on the merchant's name and the location coordinates of the merchant's transaction center; and to acquire points of interest located around the merchant's transaction center based on the merchant's spatial index and the pre-established spatial index of points of interest.

[0089] Optionally, the merchant's spatial index contains the merchant's name split into individual characters, and the interest point's spatial index contains the interest point's name split into individual characters; when the interest point acquisition module 309 acquires interest points located around the merchant's transaction center based on the merchant's spatial index and the pre-established interest point's spatial index: based on the merchant's name in the merchant's spatial index and the interest point's name in the interest point's spatial index, as well as the location of the merchant's transaction center in the merchant's spatial index and the location of the interest point in the interest point's spatial index, it acquires interest points whose names have the same characters as the merchant's name and whose locations are the same as or similar to the merchant's transaction center as interest points located around the merchant's transaction center.

[0090] Optionally, the association module 311 is used to obtain the similarity between the merchant's name and the name of the point of interest; and to obtain the point of interest associated with the merchant based on the similarity and the interaction behavior information between the merchant and the point of interest.

[0091] Optionally, when the association module 311 obtains the interest points associated with the merchant based on the similarity and the interaction behavior information between the merchant and the interest points: it obtains the interaction behavior information between the user associated with the merchant and the interest points; and obtains the interest points associated with the merchant based on the similarity and the interaction behavior information.

[0092] The data processing apparatus of this embodiment is used to implement the corresponding data processing methods in the foregoing multiple method embodiments and has the beneficial effects of the corresponding method embodiments, which will not be repeated here. Furthermore, the functional implementation of each module in the data processing apparatus of this embodiment can be referred to the description of the corresponding part in the foregoing method embodiments, which will also not be repeated here.

[0093] A fourth aspect of the embodiments of this application also provides an electronic device, such as... Figure 4 As shown, Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The specific embodiments of this invention do not limit the specific implementation of the electronic device.

[0094] like Figure 4 As shown, the electronic device may include: a processor 502, a communications interface 504, a memory 506, and a communications bus 508.

[0095] in:

[0096] The processor 502, communication interface 504, and memory 506 communicate with each other via communication bus 508.

[0097] Communication interface 504 is used to communicate with other electronic devices or servers.

[0098] The processor 502 is used to execute program 510, specifically to perform the relevant steps in the above data processing method embodiment.

[0099] Specifically, program 510 may include program code that includes computer operation instructions.

[0100] The processor 502 may be a CPU, an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application. The smart device may include one or more processors of the same type, such as one or more CPUs; or it may include processors of different types, such as one or more CPUs and one or more ASICs.

[0101] Memory 506 is used to store program 510. Memory 506 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.

[0102] Specifically, program 510 can be used to cause processor 502 to perform the operation corresponding to the data processing method described in any of the foregoing multiple method embodiments.

[0103] The specific implementation of each step in program 510 can be found in the corresponding steps and units described in the above data processing method embodiments, and will not be repeated here. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the devices and modules described above can be referred to the corresponding process descriptions in the foregoing method embodiments, and will not be repeated here.

[0104] A fifth aspect of the embodiments of this application also provides a computer storage medium having a computer program stored thereon, which, when executed by a processor, implements the functionality shown in FIG1 or Figure 2 The data processing method described herein.

[0105] It should be noted that, depending on the implementation needs, the various components / steps described in the embodiments of this application can be broken down into more components / steps, or two or more components / steps or parts of the operation of components / steps can be combined into new components / steps to achieve the purpose of the embodiments of this application.

[0106] The methods described in the embodiments of this application can be implemented in hardware, firmware, or as software or computer code that can be stored in a recording medium (such as a CD-ROM, RAM, floppy disk, hard disk, or magneto-optical disk), or as computer code downloaded over a network that is originally stored in a remote recording medium or a non-transitory machine-readable medium and will be stored in a local recording medium. Thus, the methods described herein can be stored as software processing on a recording medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware (such as an ASIC or FPGA). It is understood that the computer, processor, microprocessor controller, or programmable hardware includes storage components (e.g., RAM, ROM, flash memory, etc.) capable of storing or receiving software or computer code that, when accessed and executed by the computer, processor, or hardware, implements the data processing methods described herein. Furthermore, when a general-purpose computer accesses code used to implement the data processing methods shown herein, the execution of the code transforms the general-purpose computer into a dedicated computer for executing the data processing methods shown herein.

[0107] Those skilled in the art will recognize that the units and method steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of this application.

[0108] The above embodiments are only used to illustrate the embodiments of this application, and are not intended to limit the embodiments of this application. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the embodiments of this application. Therefore, all equivalent technical solutions also fall within the scope of the embodiments of this application, and the patent protection scope of the embodiments of this application should be defined by the claims.

Claims

1. A data processing method, wherein, The method includes: Obtain merchant transaction information generated based on mobile payment, wherein the merchant transaction information includes: merchant identifier and transaction location; wherein, the merchant has one or more entities; The transaction locations are divided into corresponding map grids according to the geographical location covered by the map grid; According to the preset transaction weight rules, the weight of the transaction position of the merchant corresponding to the merchant identifier in the map grid is determined; based on the transaction position of the merchant in the map grid and its corresponding weight, the transaction position of the merchant in its map grid is weighted and averaged, and the position obtained by the weighted average is determined as the grid transaction center of the merchant corresponding to the merchant identifier in the map grid. For the same merchant within a defined geographical area, identify valid grids where the number of transactions for that merchant exceeds a preset value within a preset time period; Density clustering is performed on the coordinates of the grid transaction centers based on the effective grid to obtain the merchant transaction centers of the merchants; Obtain points of interest located around the merchant's transaction center; Based at least on the attributes of the merchant and the attributes of the points of interest, obtain the points of interest associated with the merchant; Establish the correspondence between the merchant, the merchant transaction center, and the points of interest associated with the merchant.

2. The method as described in claim 1, wherein, The acquisition of points of interest located around the merchant's transaction center includes: Based on the merchant's name and the location coordinates of the merchant's transaction center, a spatial index of the merchant is established. Based on the merchant's spatial index and the pre-established spatial index of points of interest, obtain the points of interest located around the merchant's transaction center.

3. The method as described in claim 2, wherein, The spatial index of the merchant contains the merchant name split into individual characters, and the spatial index of the point of interest contains the point of interest name split into individual characters. The step of obtaining points of interest located around the merchant's transaction center based on the merchant's spatial index and the pre-established spatial index of points of interest includes: Based on the merchant name in the merchant's spatial index and the name of the point of interest in the spatial index of the point of interest, as well as the location of the merchant's transaction center in the merchant's spatial index and the location of the point of interest in the spatial index of the point of interest, points of interest whose names contain the same characters as the merchant's name and whose locations are the same as or similar to the merchant's transaction center are identified as points of interest located around the merchant's transaction center.

4. The method of claim 1, wherein, The step of obtaining the interest points associated with the merchant based at least on the merchant's attributes and the interest point's attributes includes: Obtain the similarity between the merchant's name and the name of the point of interest; Based on the similarity and the interaction information between the merchant and the point of interest, the point of interest associated with the merchant is obtained.

5. The method of claim 4, wherein, The step of obtaining the interest points associated with the merchant based on the similarity and the interaction behavior information between the merchant and the interest points includes: Obtain information on the interaction behavior between users associated with the merchant and the points of interest; Based on the similarity and the interaction behavior information, the interest points associated with the merchant are obtained.

6. A data processing method, comprising: Receive merchant transaction information generated based on mobile payment, the merchant transaction information including: merchant identifier and transaction location; wherein, the merchant has one or more entities; Based on the pre-established correspondence between merchants, merchant transaction centers, and merchant-associated points of interest, points of interest corresponding to the merchant identifier and / or the transaction location are determined, wherein the correspondence is obtained according to any one of claims 1 to 5. The merchant transaction center and the points of interest are displayed on the electronic map.

7. A computer program product comprising computer instructions that instruct a computing device to perform an operation corresponding to any one of the data processing methods as described in claims 1-6.

Citation Information

Patent Citations

  • Mass moving target aggregation method and device

    CN103902622A

  • Map interest point failure mining method, device and equipment and computer readable storage medium

    CN107729459A

  • Merchant POI matching method, authentication method and respective devices

    CN110796522A