Method and device for determining illegal POS machine relocation

By performing geographical distribution clustering of transaction-related users on the transaction data of POS machines, determining the location of overlapping business districts, and combining the business address of POS machines to determine the illegal migration, the problem of low accuracy of illegal migration of POS machines in the existing technology is solved, and the realization of the realization of illegal migration of POS machines is achieved. Higher detection accuracy.

CN112686663BActive Publication Date: 2024-11-19CHINA CONSTRUCTION BANK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011565142.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-25
Publication Date
2024-11-19
Estimated Expiration
2040-12-25

AI Technical Summary

Technical Problem

The prior art is not very accurate when determining that the POS machine is illegally moved, especially the old terminal does not have the function of submitting geographical locations, and the geographical information of the new terminal is easily tampered with, resulting in unreliable detection results.

Method used

By obtaining transaction data within the preset period of the POS machine, extracting transaction-related users, and performing geographical distribution and clustering based on the transaction flow data, determining the overlapping business district location information, and determining whether the POS machine's business address is illegally transferred.

Benefits of technology

The accuracy of the POS machine illegally moves the machine can be accurately judged if the POS machine does not have the function of reporting the geographic location or the geographical information is tampered with.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112686663B_ABST
    Figure CN112686663B_ABST
Patent Text Reader

Abstract

The present invention provides a method and device for determining illegal relocation of a POS machine, the method comprising: obtaining transaction data within a preset time period of the POS machine; extracting multiple transaction-related users corresponding to the POS machine according to the transaction data within the preset time period of the POS machine; determining the overlapping business district location information of multiple transaction-related users within the preset time period according to the transaction flow data of the multiple transaction-related users in the bank transaction system; obtaining the determination result of illegal relocation of the POS machine according to the overlapping business district location information and the business address of the POS machine. Since the living circles of most users are relatively fixed, by analyzing the consumption transaction flow of the transaction-related users of the POS machine, the location of the business district adjacent to the POS machine can be determined, thereby determining whether relocation has occurred. Compared with the prior art, even if there is no function of reporting the terminal geographic location or the geographic information is tampered with, it is still possible to accurately determine whether relocation has occurred, thereby improving the accuracy of determination.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a method and device for determining illegal relocation of a POS machine. Background Art

[0002] Merchant acquiring usually has strict requirements on the merchant's POS machines, and POS machines are not allowed to be used in non-designated areas. The existing method is to report the terminal's geographical location through the terminal, and the bank determines whether the machine has been moved by detecting whether the terminal's geographical location has changed.

[0003] However, many older terminals do not have the function of reporting the terminal's geographic location. As for newer terminals that have this function, some criminals may circumvent bank inspections by tampering with the geographic information of the POS machines, resulting in low accuracy in determining whether the POS machines have been illegally moved. Summary of the invention

[0004] The embodiment of the present invention provides a method for determining illegal relocation of a POS machine, which is used to improve the accuracy of determining illegal relocation of a POS machine. The method includes:

[0005] Obtain transaction data from the POS machine within a preset period of time;

[0006] Extract multiple transaction-related users corresponding to the POS machine based on the transaction data within a preset period of time of the POS machine;

[0007] Determining overlapping business district location information of the multiple transaction-related users within the preset time period according to the transaction flow data of the multiple transaction-related users in the bank transaction system;

[0008] According to the overlapping business district location information and the business address of the POS machine, the illegal relocation result of the POS machine is obtained.

[0009] In a specific embodiment of the present invention, determining the overlapping business district location information of the multiple transaction-related users within the preset time period according to the transaction flow data of the multiple transaction-related users in the bank transaction system includes:

[0010] Determine the consumer merchant information of each transaction-related user within the preset time period according to the transaction flow data of the multiple transaction-related users in the bank transaction system;

[0011] Performing geographical distribution clustering on the consumer merchant information of each transaction-related user within the preset time period to obtain consumer business district information of each transaction-related user within the preset time period;

[0012] According to the consumption business district information of each transaction-related user in the preset time period, the overlapping business district location information of the multiple transaction-related users in the preset time period is obtained.

[0013] In a specific implementation, the consumption merchant information of each transaction-related user within the preset time period is clustered by geographical distribution to obtain the consumption business district information of each transaction-related user within the preset time period, including:

[0014] Taking each consumer merchant of a transaction-associated user within the preset time period as a location point, calculating the sum of the distances between each location point and all location points;

[0015] Determine the location point corresponding to the minimum distance and value as the center point of the consumption business circle of the transaction-related user within the preset time period;

[0016] Performing geographic distribution clustering on all location points on the map to determine the radius of the consumption business circle of the transaction-associated user within the preset time period;

[0017] The consumption business circle information of each transaction-associated user in the preset time period is obtained by combining the center point of the consumption business circle of each transaction-associated user in the preset time period and the radius of the consumption business circle of each transaction-associated user in the preset time period.

[0018] In a specific embodiment of the present invention, before taking each consumer merchant of a transaction-associated user within the preset time period as a location point, the method further includes:

[0019] According to the geographical location of each consumer merchant of a transaction-associated user within the preset time period, consumer merchant information whose geographical location is far away from the geographical locations of other consumer merchants is eliminated.

[0020] In a specific embodiment of the present invention, obtaining the overlapping business district location information of the plurality of transaction-related users within the preset time period according to the consumption business district information of each transaction-related user within the preset time period includes:

[0021] According to the center point of the consumption business circle of each transaction-related user within the preset time period, the point with the minimum distance to the center point of the consumption business circle of each transaction-related user within the preset time period is found on the map as the center of the overlapping business circle.

[0022] In a specific embodiment of the present invention, the determination result of illegal relocation of the POS machine is obtained according to the overlapping business district location information and the business address of the POS machine, including:

[0023] If the distance between the business address of the POS machine and the overlapping business district location is less than or equal to the preset threshold, the POS machine has not been illegally moved;

[0024] If the distance between the business address of the POS machine and the overlapping business district location is greater than a preset threshold, the POS machine is illegally moved.

[0025] In a specific implementation, the preset threshold is obtained by comparing the center of the overlapping business district and the consumption business district information of each transaction-related user within the preset time period.

[0026] In specific implementation, the distance between the business address of the POS terminal and the location of the overlapping business district includes:

[0027] The distance between the business address of the POS terminal and the center of the overlapping business district.

[0028] A specific embodiment of the present invention further provides a method for determining illegal relocation of a POS machine, further comprising:

[0029] If it is determined that the POS machine has been moved illegally, a warning message about the illegal POS machine move will be sent to the bank staff.

[0030] The embodiment of the present invention further provides a device for determining illegal relocation of a POS machine, for improving the accuracy of determining illegal relocation of a POS machine, the device comprising:

[0031] The transaction data acquisition module is used to acquire the transaction data of the POS machine within a preset period of time;

[0032] A transaction-related user extraction module is used to extract multiple transaction-related users corresponding to the POS machine based on transaction data within a preset period of time of the POS machine;

[0033] An overlapping business district location determination module, used to determine the overlapping business district location information of the multiple transaction-related users within the preset time period according to the transaction flow data of the multiple transaction-related users in the bank transaction system;

[0034] The illegal machine relocation determination module is used to obtain the illegal machine relocation determination result of the POS machine according to the overlapping business district location information and the business address of the POS machine.

[0035] In a specific embodiment of the present invention, the overlapping business district location determination module includes:

[0036] A consumer merchant information determination unit, configured to determine the consumer merchant information of each transaction-associated user within the preset time period based on the transaction flow data of the multiple transaction-associated users in the bank transaction system;

[0037] A consumption business district information determination unit, used to perform geographical distribution clustering on the consumption business information of each transaction-related user within the preset time period, to obtain the consumption business district information of each transaction-related user within the preset time period;

[0038] The overlapping business district location determining unit is used to obtain the overlapping business district location information of the multiple transaction-related users within the preset time period according to the consumption business district information of each transaction-related user within the preset time period.

[0039] In a specific implementation, the consumer business district information determination unit is specifically used to:

[0040] Taking each consumer merchant of a transaction-associated user within the preset time period as a location point, calculating the sum of the distances between each location point and all location points;

[0041] Determine the location point corresponding to the minimum distance and value as the center point of the consumption business circle of the transaction-related user within the preset time period;

[0042] Performing geographic distribution clustering on all location points on the map to determine the radius of the consumption business circle of the transaction-associated user within the preset time period;

[0043] The consumption business circle information of each transaction-associated user in the preset time period is obtained by combining the center point of the consumption business circle of each transaction-associated user in the preset time period and the radius of the consumption business circle of each transaction-associated user in the preset time period.

[0044] In a specific embodiment of the present invention, the consumer business circle information determination unit is further used to:

[0045] Before taking each consumer merchant of a transaction-associated user within the preset time period as a location point, consumer merchant information whose geographical location is far away from other consumer merchants' geographical locations is eliminated according to the geographical location of each consumer merchant of a transaction-associated user within the preset time period.

[0046] In a specific embodiment of the present invention, the overlapping business district location determination unit is specifically used to:

[0047] According to the center point of the consumption business circle of each transaction-related user within the preset time period, the point with the minimum distance to the center point of the consumption business circle of each transaction-related user within the preset time period is found on the map as the center of the overlapping business circle.

[0048] In a specific embodiment of the present invention, the illegal machine relocation determination module is specifically used to:

[0049] If the distance between the business address of the POS machine and the overlapping business district location is less than or equal to the preset threshold, the POS machine has not been illegally moved;

[0050] If the distance between the business address of the POS machine and the overlapping business district location is greater than a preset threshold, the POS machine is illegally moved.

[0051] In a specific implementation, the preset threshold is obtained by comparing the center of the overlapping business district and the consumption business district information of each transaction-related user within the preset time period.

[0052] In specific implementation, the distance between the business address of the POS terminal and the location of the overlapping business district includes:

[0053] The distance between the business address of the POS terminal and the center of the overlapping business district.

[0054] The POS machine illegal relocation determination device in a specific embodiment of the present invention further includes: a warning reminder module, which is used to:

[0055] If it is determined that the POS machine has been moved illegally, a warning message about the illegal POS machine move will be sent to the bank staff.

[0056] An embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method for determining illegal relocation of a POS machine when executing the computer program.

[0057] An embodiment of the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for executing the above-mentioned method for determining illegal relocation of a POS machine.

[0058] In the embodiment of the present invention, the transaction data within a preset time period of the POS machine is obtained; based on the transaction data within the preset time period of the POS machine, multiple transaction-related users corresponding to the POS machine are extracted; based on the transaction flow data of the multiple transaction-related users in the bank transaction system, the overlapping business district location information of the multiple transaction-related users within the preset time period is determined; based on the overlapping business district location information and the business address of the POS machine, the result of determining the illegal relocation of the POS machine is obtained. Since the living circle of most users is relatively fixed, by analyzing the consumption transaction flow of the transaction-related users of the POS machine, the fixed business district where the transaction-related users consume can be obtained to determine the location of the business district adjacent to the POS machine, thereby determining whether the POS machine has been moved. Compared with the prior art, even if the POS machine does not have the function of reporting the terminal's geographical location, or the geographical information of the POS machine has been tampered with, it is still possible to accurately determine whether the POS machine has been moved, thereby improving the accuracy of determining the illegal relocation of the POS machine. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0060] Figure 1 Schematic diagram of a method for determining illegal relocation of a POS machine in an embodiment of the present invention.

[0061] Figure 2 It is a schematic diagram of a specific implementation method of step 103 in a specific embodiment of the present invention.

[0062] Figure 3 It is a schematic diagram of a specific implementation method of step 202 in a specific embodiment of the present invention.

[0063] Figure 4 It is a schematic diagram of a specific implementation method of step 104 in a specific embodiment of the present invention.

[0064] Figure 5 It is a schematic diagram of a method for determining illegal relocation of a POS machine in a specific embodiment of the present invention.

[0065] Figure 6 Schematic diagram of a device for determining illegal relocation of a POS machine in an embodiment of the present invention.

[0066] Figure 7 Schematic diagram of the structure of the overlapping business district location determination module 603 in a specific embodiment of the present invention.

[0067] Figure 8 It is a schematic diagram of a device for determining illegal relocation of a POS machine in a specific embodiment of the present invention.

[0068] Fig. 9 Schematic diagram of an electronic device used for determining illegal relocation of a POS machine in an embodiment of the present invention. DETAILED DESCRIPTION

[0069] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0070] The embodiment of the present invention provides a method for determining illegal relocation of a POS machine, which is used to improve the accuracy of determining illegal relocation of a POS machine. Figure 1 As shown, the method includes:

[0071] Step 101: Acquire transaction data of a POS machine within a preset period of time;

[0072] Step 102: extracting multiple transaction-related users corresponding to the POS machine according to the transaction data within a preset period of time of the POS machine;

[0073] Step 103: determining overlapping business district location information of multiple transaction-related users within a preset time period based on the transaction flow data of multiple transaction-related users in the bank transaction system;

[0074] Step 104: Obtain the illegal relocation result of the POS machine based on the overlapping business district location information and the business address of the POS machine.

[0075] Depend on Figure 1 It can be known from the process shown that in the embodiment of the present invention, by obtaining the transaction data within the preset time period of the POS machine; extracting multiple transaction-related users corresponding to the POS machine according to the transaction data within the preset time period of the POS machine; determining the overlapping business district location information of multiple transaction-related users within the preset time period according to the transaction flow data of multiple transaction-related users in the bank transaction system; and obtaining the result of determining the illegal relocation of the POS machine according to the overlapping business district location information and the business address of the POS machine. Since the living circle of most users is relatively fixed, by analyzing the consumption transaction flow of the transaction-related users of the POS machine, the fixed business district where the transaction-related users consume can be obtained to determine the location of the business district adjacent to the POS machine, thereby determining whether the POS machine has been relocated. Compared with the prior art, even if the POS machine does not have the function of reporting the terminal's geographical location, or the geographical information of the POS machine has been tampered with, it is still possible to accurately determine whether the POS machine has been relocated, thereby improving the accuracy of determining the illegal relocation of the POS machine.

[0076] In the specific implementation, firstly, the transaction data of the POS machine within the preset period is obtained. The preset period is a time period pre-set according to the actual judgment needs, for example, it can be the time period between the current illegal relocation of the POS machine and the last illegal relocation of the POS machine, or it can be a fixed time period, such as one month, 90 days or 120 days.

[0077] After obtaining the transaction data within the preset time period of the POS machine, multiple transaction-related users corresponding to the POS machine are extracted according to the transaction data within the preset time period of the POS machine. Each transaction conducted by the POS machine is completed between the merchant holding the POS machine and the customer, so the customer corresponding to each transaction is the transaction-related user of the transaction. According to the transaction data within the preset time period of the POS machine, the transaction-related users corresponding to multiple transactions can be extracted.

[0078] After extracting multiple transaction-related users corresponding to the POS machine, the overlapping business district location information of multiple transaction-related users within a preset period of time is determined based on the transaction flow data of the multiple transaction-related users in the bank transaction system. Figure 2 As shown, including:

[0079] Step 201: Determine the consumer merchant information of each transaction-related user within a preset time period according to the transaction flow data of multiple transaction-related users in the bank transaction system;

[0080] Step 202: performing geographical distribution clustering on the consumer merchant information of each transaction-related user within a preset period of time, and obtaining the consumer business district information of each transaction-related user within the preset period of time;

[0081] Step 203: Obtaining overlapping business district location information of multiple transaction-related users within the preset time period based on the consumption business district information of each transaction-related user within the preset time period.

[0082] Since the living circles of most users are relatively fixed, by analyzing the consumption transaction flows of the transaction-associated users of the POS machines, we can obtain the consumption merchant information of each transaction-associated user. Cluster analysis can then be performed to obtain the fixed business districts where the transaction-associated users consume. By overlapping the consumption business districts of multiple transaction-associated users, the location of the business district adjacent to the POS machines can be determined.

[0083] The specific implementation process of step 202 is as follows: Figure 3 As shown, including:

[0084] Step 301: taking each consumer merchant of a transaction-related user within a preset time period as a location point, and calculating the sum of the distances between each location point and all location points;

[0085] Step 302: determining the location point corresponding to the minimum distance and value as the center point of the consumption business circle of the transaction-related user within a preset time period;

[0086] Step 303: performing geographic distribution clustering on all location points on the map to determine the radius of the consumption business circle of the transaction-related user within a preset time period;

[0087] Step 304: combining the center point of the consumption business circle of each transaction-related user in the preset time period and the radius of the consumption business circle of each transaction-related user in the preset time period, obtaining the consumption business circle information of each transaction-related user in the preset time period.

[0088] Since the consumption of transaction-related users is random, there is also a situation where the consumption range occasionally deviates from the fixed business district. Therefore, in a specific embodiment, in order to avoid misjudgment, before taking each consumption merchant of a transaction-related user within a preset time period as a location point, the following steps are also included:

[0089] According to the geographical location of each consumer merchant of a transaction-related user within a preset period of time, the consumer merchant information whose geographical location is far away from the geographical location of other consumer merchants is eliminated. Impossible data is eliminated in advance to avoid affecting the determination of the fixed business district location.

[0090] When step 303 is implemented, the center point of the consumption business circle of the transaction-associated user within the preset time period is determined as the center of the circle, and a different radius is set each time, that is, a set step size is added to the previous radius each time, and the proportion of the number of location points in the circle corresponding to each radius to all location points is calculated. A predetermined threshold is set in advance, such as 75% or 80%. When the proportion of the number of location points in the circle corresponding to a certain radius to all location points is higher than this threshold, this radius is determined as the radius of the consumption business circle of the transaction-associated user within the preset time period.

[0091] According to the center point of the consumption business circle of each transaction-associated user within the preset time period and the radius of the consumption business circle of each transaction-associated user within the preset time period, the circular area and geographical location of the consumption business circle of each transaction-associated user can be obtained.

[0092] After obtaining the consumption business district information of each transaction-related user within the preset time period, the overlapping business district location information of multiple transaction-related users within the preset time period is obtained based on the consumption business district information of each transaction-related user within the preset time period. The specific implementation process includes:

[0093] According to the center point of the consumption business circle of each transaction-related user within the preset time period, the minimum distance to the center point of the consumption business circle of each transaction-related user within the preset time period is found on the map as the center of the overlapping business circle.

[0094] In order to avoid errors caused by accidental data, before searching on the map, data is first screened for the center point of the consumer business district of each transaction-related user within the preset time period, and the consumer business district information that is obviously far away from the center points of other consumer business districts is deleted.

[0095] After obtaining the center of the overlapping business district, compare the consumption business district information of each transaction-related user within the preset time period with the center of the overlapping business district to determine a preset threshold. The specific process is: taking the center of the overlapping business district as the center of the circle, perform data analysis on the overlapping part of the circular area of ​​the consumption business district of each transaction-related user within the preset time period to determine the radius of the overlapping business district, reserve a certain error and margin based on the radius of the overlapping business district, and obtain a preset threshold.

[0096] After determining the overlapping business district location information and preset thresholds of multiple transaction-related users within a preset period of time, the illegal relocation of the POS machine is determined based on the overlapping business district location information and the business address of the POS machine. Figure 4 As shown, including:

[0097] Step 401: If the distance between the business address of the POS machine and the overlapping business district location is less than or equal to a preset threshold, the POS machine is not illegally moved;

[0098] Step 402: If the distance between the business address of the POS machine and the overlapping business district location is greater than a preset threshold, the POS machine is illegally moved.

[0099] Among them, the distance between the business address of the POS machine and the location of the overlapping business district, when implemented specifically, refers to the distance between the business address of the POS machine and the center of the overlapping business district.

[0100] The determination of illegal POS machine relocation provided in the specific embodiment of the present invention is mainly based on the following fact: generally, one or more POS machines, i.e., terminals, of a merchant of a certain acquiring bank should have a normal business scope whose geographical location should be within a certain deviation range of the merchant's business address. Specifically, the geographical location where the POS machine transaction occurs and the geographical distance of the merchant's business address can be calculated to determine whether the POS machine has been relocated. However, if the merchant uses some means to tamper with the geographical information when the POS machine transaction occurs, this method will fail.

[0101] For this scenario, starting from the customer base of the POS machine that has been moved, it can be assumed that all or most of the customers who have transactions on the POS machine are normal customers, and the customer's living circle must be around the actual location of the POS machine. Therefore, the transaction-related users who have transactions on the POS machine can be counted, and the transaction range of the POS machine can be determined according to the principle that the transaction frequency decreases as the distance from the center of the circle increases along the location of the POS machine.

[0102] Therefore, the consumer business circle corresponding to a transaction-associated user is determined by listing a series of recent transactions of the customer and the geographical locations of the transactions. The geographical location of each transaction is regarded as a point, and the distance to all points and the smallest point are calculated. This point is the center point of the consumer business circle of the transaction-associated user.

[0103] Calculation of the center point of the overlapping consumption business circles of multiple customers: The point with the smallest sum of distances to the center points of the consumption business circles of all transaction-related users is the center point of the overlapping consumption business circles of multiple customers.

[0104] Calculate whether the center point of the overlapping consumption business circles of multiple customers and the business geographical location of the POS machine registered in the bank system are within the threshold range. If so, it proves that the POS machine has not been moved, otherwise it is considered that illegal movement has occurred.

[0105] In a specific embodiment, a method for determining illegal relocation of a POS machine is also provided. Figure 5 As shown, in Figure 1 On the basis of:

[0106] Step 501: If it is determined that the POS machine is illegally moved, a warning message of illegal POS machine movement is sent to bank staff.

[0107] This is to alert the banking system and conduct subsequent processing and operations to avoid the illegal relocation of POS machines.

[0108] Based on the same inventive concept, the embodiment of the present invention further provides a device for determining illegal relocation of a POS machine. Since the principle of the problem solved by the device for determining illegal relocation of a POS machine is similar to that of the method for determining illegal relocation of a POS machine, the implementation of the device for determining illegal relocation of a POS machine can refer to the implementation of the method for determining illegal relocation of a POS machine, and the repeated parts will not be repeated. The specific structure is as follows: Figure 6 As shown:

[0109] The transaction data acquisition module 601 is used to acquire the transaction data of the POS machine within a preset period of time;

[0110] The transaction-related user extraction module 602 is used to extract multiple transaction-related users corresponding to the POS machine according to the transaction data within a preset period of the POS machine;

[0111] The overlapping business district location determination module 603 is used to determine the overlapping business district location information of multiple transaction-related users within a preset time period according to the transaction flow data of multiple transaction-related users in the bank transaction system;

[0112] The illegal machine relocation determination module 604 is used to obtain the illegal machine relocation determination result of the POS machine according to the overlapping business district location information and the business address of the POS machine.

[0113] In a specific embodiment, the structure of the overlapping business district location determination module 603 is as follows: Figure 7 As shown, including:

[0114] The consumer merchant information determination unit 701 is used to determine the consumer merchant information of each transaction-related user within a preset period of time based on the transaction flow data of multiple transaction-related users in the bank transaction system;

[0115] The consumption business district information determination unit 702 is used to perform geographical distribution clustering on the consumption business information of each transaction-related user within a preset period of time to obtain the consumption business district information of each transaction-related user within the preset period of time;

[0116] The overlapping business district location determining unit 703 is used to obtain overlapping business district location information of multiple transaction-related users within a preset time period according to the consumption business district information of each transaction-related user within a preset time period.

[0117] During the specific implementation, the consumer business district information determination unit 702 is specifically used to:

[0118] Take each consumer merchant of a transaction-associated user within a preset time period as a location point, and calculate the sum of the distances between each location point and all location points;

[0119] The location point corresponding to the minimum distance and value is determined as the center point of the consumption business circle of the transaction-related user within the preset time period;

[0120] Perform geographic distribution clustering on all location points on the map to determine the radius of the consumer business circle of the transaction-related user within a preset time period;

[0121] The consumption business circle information of each transaction-related user in the preset time period is obtained by combining the center point of the consumption business circle of each transaction-related user in the preset time period and the radius of the consumption business circle of each transaction-related user in the preset time period.

[0122] In order to reduce errors, the consumer business district information determining unit 702 is further used to:

[0123] Before taking each consumer merchant of a transaction-associated user within a preset period as a location point, consumer merchant information whose geographical location is far away from other consumer merchants' geographical locations is eliminated according to the geographical location of each consumer merchant of a transaction-associated user within the preset period.

[0124] In a specific embodiment, the overlapping business district location determining unit 703 is specifically used to:

[0125] According to the center point of the consumption business circle of each transaction-related user within the preset time period, the minimum distance to the center point of the consumption business circle of each transaction-related user within the preset time period is found on the map as the center of the overlapping business circle.

[0126] In order to avoid errors caused by accidental data, before searching on the map, data is first screened for the center point of the consumer business district of each transaction-related user within the preset time period, and the consumer business district information that is obviously far away from the center points of other consumer business districts is deleted.

[0127] After obtaining the center of the overlapping business district, compare the consumption business district information of each transaction-related user within the preset time period with the center of the overlapping business district to determine a preset threshold. The specific process is: taking the center of the overlapping business district as the center of the circle, perform data analysis on the overlapping part of the circular area of ​​the consumption business district of each transaction-related user within the preset time period to determine the radius of the overlapping business district, reserve a certain error and margin based on the radius of the overlapping business district, and obtain a preset threshold.

[0128] In specific implementation, the illegal machine relocation determination module 604 is specifically used for:

[0129] If the distance between the business address of the POS machine and the location of the overlapping business district is less than or equal to the preset threshold, the POS machine has not been illegally moved;

[0130] If the distance between the business address of the POS machine and the overlapping business district location is greater than a preset threshold, the POS machine is illegally moved.

[0131] The distance between the business address of the POS machine and the location of the overlapping business district specifically refers to the distance between the business address of the POS machine and the center of the overlapping business district.

[0132] In a specific embodiment of the present invention, a device for determining illegal relocation of a POS machine is also provided. Figure 8 As shown, in Figure 6 On the basis of

[0133] The warning module 801 is used to:

[0134] If it is determined that the POS machine has been moved illegally, a warning message about the illegal POS machine move will be sent to the bank staff.

[0135] The embodiment of the present invention provides an embodiment of an electronic device for implementing all or part of the content of the above-mentioned method for determining illegal relocation of a POS machine. The electronic device specifically includes the following content:

[0136] A processor, a memory, a communications interface and a bus; wherein the processor, the memory and the communications interface communicate with each other through the bus; the communications interface is used to realize information transmission between related devices; the electronic device can be a desktop computer, a tablet computer and a mobile terminal, etc., but the present embodiment is not limited thereto. In the present embodiment, the electronic device can be implemented with reference to the embodiment for realizing the method for determining illegal relocation of a POS machine and the embodiment for realizing the device for determining illegal relocation of a POS machine, and the contents thereof are incorporated herein and the repeated parts are not repeated.

[0137] Fig. 9 FIG. 9 is a schematic block diagram of the system structure of the electronic device 900 according to an embodiment of the present application. Fig. 9 As shown, the electronic device 900 may include a central processor 901 and a memory 902; the memory 902 is coupled to the central processor 901. It is worth noting that Fig. 9 is exemplary; other types of structures may also be used to supplement or replace this structure to implement telecommunication functions or other functions.

[0138] In one embodiment, the POS machine illegal relocation determination function may be integrated into the central processor 901. The central processor 901 may be configured to perform the following control:

[0139] Obtain transaction data from the POS machine within a preset period of time;

[0140] Extract multiple transaction-related users corresponding to the POS machine based on the transaction data within a preset period of time of the POS machine;

[0141] Determine the overlapping business district location information of multiple transaction-related users within a preset time period based on the transaction flow data of multiple transaction-related users in the bank transaction system;

[0142] Based on the overlapping business district location information and the business address of the POS machine, the illegal relocation of the POS machine is confirmed.

[0143] From the above description, it can be seen that the electronic device provided by the embodiment of the present application obtains the transaction data within the preset time period of the POS machine; extracts multiple transaction-related users corresponding to the POS machine according to the transaction data within the preset time period of the POS machine; determines the overlapping business district location information of multiple transaction-related users within the preset time period according to the transaction flow data of multiple transaction-related users in the bank transaction system; obtains the result of determining the illegal relocation of the POS machine according to the overlapping business district location information and the business address of the POS machine. Since the living circle of most users is relatively fixed, by analyzing the consumption transaction flow of the transaction-related users of the POS machine, the fixed business district where the transaction-related users consume can be obtained to determine the location of the business district adjacent to the POS machine, thereby determining whether the POS machine has been moved. Compared with the prior art, even if the POS machine does not have the function of reporting the terminal's geographical location, or the geographical information of the POS machine has been tampered with, it can accurately determine whether the POS machine has been moved, thereby improving the accuracy of determining the illegal relocation of the POS machine.

[0144] In another embodiment, the POS machine illegal relocation determination device can be configured separately from the central processor 901. For example, the POS machine illegal relocation determination device can be configured as a chip connected to the central processor 901, and the POS machine illegal relocation determination function is implemented through the control of the central processor.

[0145] like Fig. 9 As shown, the electronic device 900 may also include: a communication module 903, an input unit 904, an audio processor 905, a display 906, and a power supply 907. It is worth noting that the electronic device 900 does not necessarily have to include Fig. 9 In addition, the electronic device 900 may also include Fig. 9 For components not shown, reference may be made to the prior art.

[0146] like Fig. 9 As shown, the central processor 901 is sometimes also referred to as a controller or an operation control, and may include a microprocessor or other processor devices and / or logic devices. The central processor 901 receives inputs and controls the operations of various components of the electronic device 900 .

[0147] The memory 902 may be, for example, a cache, a flash memory, a hard drive, a removable medium, a volatile memory, a non-volatile memory or other suitable devices, or one or more thereof. The above-mentioned information related to the failure may be stored, and a program for executing the related information may also be stored. The central processing unit 901 may execute the program stored in the memory 902 to implement information storage or processing, etc.

[0148] The input unit 904 provides input to the central processor 901. The input unit 904 is, for example, a key or a touch input device. The power supply 907 is used to provide power to the electronic device 900. The display 906 is used to display display objects such as images and text. The display may be, for example, an LCD display, but is not limited thereto.

[0149] The memory 902 may be a solid-state memory, such as a read-only memory (ROM), a random access memory (RAM), a SIM card, etc. It may also be a memory that stores information even when the power is off, can be selectively erased, and is provided with more data, examples of which are sometimes referred to as EPROMs, etc. The memory 902 may also be some other type of device. The memory 902 includes a buffer memory 921 (sometimes referred to as a buffer). The memory 902 may include an application / function storage unit 922, which is used to store application programs and function programs or processes for executing the operation of the electronic device 900 through the central processor 901.

[0150] The memory 902 may also include a data storage unit 923 for storing data, such as contacts, digital data, pictures, sounds, and / or any other data used by the electronic device. The driver storage unit 924 of the memory 902 may include various drivers for communication functions of the electronic device and / or for executing other functions of the electronic device (such as messaging applications, address book applications, etc.).

[0151] The communication module 903 is a transmitter / receiver 903 that sends and receives signals via an antenna 908. The communication module (transmitter / receiver) 903 is coupled to the central processor 901 to provide input signals and receive output signals, which may be the same as the case of a conventional mobile communication terminal.

[0152] Based on different communication technologies, multiple communication modules 903 may be provided in the same electronic device, such as a cellular network module, a Bluetooth module and / or a wireless local area network module, etc. The communication module (transmitter / receiver) 903 is also coupled to a speaker 909 and a microphone 910 via an audio processor 905 to provide an audio output via the speaker 909 and receive an audio input from the microphone 910, thereby realizing a common telecommunication function. The audio processor 905 may include any suitable buffer, decoder, amplifier, etc. In addition, the audio processor 905 is also coupled to the central processor 901, so that recording can be performed on the local machine through the microphone 910, and the sound stored on the local machine can be played through the speaker 909.

[0153] The embodiment of the present invention further provides a computer-readable storage medium storing a computer program for executing the above-mentioned method for determining illegal relocation of a POS machine.

[0154] In summary, the method and device for determining illegal POS machine relocation provided by the embodiments of the present invention have the following advantages:

[0155] By obtaining the transaction data of the POS machine within the preset time period; extracting multiple transaction-related users corresponding to the POS machine according to the transaction data within the preset time period of the POS machine; determining the overlapping business district location information of multiple transaction-related users within the preset time period according to the transaction flow data of multiple transaction-related users in the bank transaction system; obtaining the result of illegal relocation of the POS machine according to the overlapping business district location information and the business address of the POS machine. Since the living circle of most users is relatively fixed, by analyzing the consumption transaction flow of the transaction-related users of the POS machine, the fixed business district where the transaction-related users consume can be obtained to determine the location of the business district adjacent to the POS machine, thereby determining whether the POS machine has been moved. Compared with the existing technology, even if the POS machine does not have the function of reporting the terminal's geographical location, or the geographical information of the POS machine has been tampered with, it can still accurately determine whether the POS machine has been moved, thereby improving the accuracy of determining the illegal relocation of the POS machine.

[0156] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0157] The present invention is described with reference to flowcharts and / or block diagrams of methods, apparatuses, and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as a combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0158] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0159] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0160] Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. In this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such a process, method, article or device. The orientation or position relationship indicated by the terms "upper", "lower", etc. is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. Unless otherwise expressly specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be a connection between the two components. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances. It should be noted that the embodiments of the present invention and the features in the embodiments can be combined with each other in the absence of conflict. The present invention is not limited to any single aspect, nor to any single embodiment, nor to any combination and / or permutation of these aspects and / or embodiments. Moreover, each aspect and / or embodiment of the present invention can be used alone or in combination with one or more other aspects and / or embodiments thereof.

[0161] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.

Claims

1. A method for determining illegal relocation of a POS machine, It is characterized in that include: Obtain transaction data from the POS machine within a preset period of time; Extract multiple transaction-related users corresponding to the POS machine based on the transaction data within a preset period of time of the POS machine; Determining overlapping business district location information of the multiple transaction-related users within the preset time period according to the transaction flow data of the multiple transaction-related users in the bank transaction system; According to the overlapping business district location information and the business address of the POS machine, the determination result of illegal POS machine relocation is obtained; wherein, the center point of the overlapping consumption business district of multiple transaction-related users and the business geographical location of the POS machine registered in the bank system are calculated to see whether they are within a preset threshold range, if so, it is proved that the POS machine has not been relocated, otherwise it is considered that illegal relocation has occurred; the preset threshold determination process is: with the center point of the overlapping business district as the center of the circle, data analysis is performed on the overlapping part of the circular area of ​​the consumption business district of each transaction-related user within the preset time period, the radius of the overlapping business district is determined, and the error and margin are reserved on the basis of the radius of the overlapping business district to obtain the preset threshold; Wherein, determining the overlapping business district location information of the multiple transaction-related users within the preset time period according to the transaction flow data of the multiple transaction-related users in the bank transaction system includes: Determine the consumer merchant information of each transaction-related user within the preset time period according to the transaction flow data of the multiple transaction-related users in the bank transaction system; Taking each consumer merchant of a transaction-associated user within the preset time period as a location point, calculating the sum of the distances between each location point and all location points; Determine the location point corresponding to the minimum distance and value as the center point of the consumption business circle of the transaction-related user within the preset time period; According to the center point of the consumption business circle of each transaction-related user within the preset time period, the point with the minimum distance to the center point of the consumption business circle of each transaction-related user within the preset time period is found on the map as the center of the overlapping business circle.

2. The method according to claim 1, It is characterized in that Determining the overlapping business district location information of the multiple transaction-related users within the preset time period according to the transaction flow data of the multiple transaction-related users in the bank transaction system, further comprising: Performing geographic distribution clustering on all location points on the map to determine the radius of the consumption business circle of the transaction-associated user within the preset time period; The consumption business circle information of each transaction-associated user in the preset time period is obtained by combining the center point of the consumption business circle of each transaction-associated user in the preset time period and the radius of the consumption business circle of each transaction-associated user in the preset time period.

3. The method according to claim 2, It is characterized in that Before taking each consumer merchant of a transaction-associated user within the preset time period as a location point, the method further includes: According to the geographical location of each consumer merchant of a transaction-associated user within the preset time period, consumer merchant information whose geographical location is far away from the geographical locations of other consumer merchants is eliminated.

4. The method according to claim 1, It is characterized in that According to the overlapping business district location information and the business address of the POS machine, the illegal relocation result of the POS machine is obtained, including: If the distance between the business address of the POS machine and the overlapping business district location is less than or equal to the preset threshold, the POS machine has not been illegally moved; If the distance between the business address of the POS machine and the overlapping business district location is greater than a preset threshold, the POS machine is illegally moved.

5. The method according to claim 4, It is characterized in that The distance between the business address of the POS terminal and the location of the overlapping business district includes: The distance between the business address of the POS terminal and the center of the overlapping business district.

6. The method according to claim 1, It is characterized in that Also includes: If it is determined that the POS machine has been moved illegally, a warning message about the illegal POS machine move will be sent to the bank staff.

7. A device for determining illegal relocation of a POS machine, It is characterized in that include: The transaction data acquisition module is used to acquire the transaction data of the POS machine within a preset period of time; A transaction-related user extraction module is used to extract multiple transaction-related users corresponding to the POS machine based on transaction data within a preset period of time of the POS machine; An overlapping business district location determination module, used to determine the overlapping business district location information of the multiple transaction-related users within the preset time period according to the transaction flow data of the multiple transaction-related users in the bank transaction system; The illegal machine relocation determination module is used to obtain the determination result of illegal machine relocation of the POS machine according to the overlapping business district location information and the business address of the POS machine; wherein, the center point of the overlapping consumption business district of multiple transaction-related users and the business geographical location of the POS machine registered in the bank system are calculated to see whether they are within a preset threshold range. If so, it proves that the POS machine has not been relocated, otherwise it is considered that illegal machine relocation has occurred; the preset threshold determination process is: with the center point of the overlapping business district as the center of the circle, data analysis is performed on the overlapping part of the circular area of ​​the consumption business district of each transaction-related user within the preset time period, the radius of the overlapping business district is determined, and the error and margin are reserved on the basis of the radius of the overlapping business district to obtain the preset threshold; The overlapping business district location determination module includes: A consumer merchant information determination unit, configured to determine the consumer merchant information of each transaction-associated user within the preset time period according to the transaction flow data of the plurality of transaction-associated users in the bank transaction system; The consumer business circle information determination unit is used to take each consumer business of a transaction-related user within the preset time period as a location point, calculate the sum of distances between each location point and all location points; and determine the location point corresponding to the minimum distance sum value as the center point of the consumer business circle of the transaction-related user within the preset time period; The overlapping business district position determination unit is used to find the minimum point on the map based on the center point of the consumption business district of each transaction-associated user within the preset time period, and use it as the center of the overlapping business district.

8. The device according to claim 7, It is characterized in that The consumer business circle information determination unit is specifically used to: Performing geographic distribution clustering on all location points on the map to determine the radius of the consumption business circle of the transaction-associated user within the preset time period; The consumption business circle information of each transaction-associated user in the preset time period is obtained by combining the center point of the consumption business circle of each transaction-associated user in the preset time period and the radius of the consumption business circle of each transaction-associated user in the preset time period.

9. The device as claimed in claim 8, It is characterized in that The consumer business circle information determination unit is further used for: Before taking each consumer merchant of a transaction-associated user within the preset time period as a location point, consumer merchant information whose geographical location is far away from other consumer merchants' geographical locations is eliminated according to the geographical location of each consumer merchant of a transaction-associated user within the preset time period.

10. The device according to claim 7, It is characterized in that The illegal machine relocation determination module is specifically used for: If the distance between the business address of the POS machine and the overlapping business district location is less than or equal to the preset threshold, the POS machine has not been illegally moved; If the distance between the business address of the POS machine and the overlapping business district location is greater than a preset threshold, the POS machine is illegally moved.

11. The device according to claim 10, It is characterized in that The distance between the business address of the POS terminal and the location of the overlapping business district includes: The distance between the business address of the POS terminal and the center of the overlapping business district.

12. The device according to claim 7, It is characterized in that Also includes: Alarm reminder module, used for: If it is determined that the POS machine has been moved illegally, a warning message about the illegal POS machine move will be sent to the bank staff.

13. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.

14. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.