CN114238729A - Geographical location information determination method, apparatus, device, medium, and program product - Google Patents

Geographical location information determination method, apparatus, device, medium, and program product Download PDF

Info

Publication number
CN114238729A
CN114238729A CN202111402299.XA CN202111402299A CN114238729A CN 114238729 A CN114238729 A CN 114238729A CN 202111402299 A CN202111402299 A CN 202111402299A CN 114238729 A CN114238729 A CN 114238729A
Authority
CN
China
Prior art keywords
target
information
anonymous
transaction data
online transaction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111402299.XA
Other languages
Chinese (zh)
Inventor
徐建东
邓胜辉
曹广平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202111402299.XA priority Critical patent/CN114238729A/en
Publication of CN114238729A publication Critical patent/CN114238729A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/907Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/909Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using geographical or spatial information, e.g. location
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • Data Mining & Analysis (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Remote Sensing (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Library & Information Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application relates to a geographic position information determination method, a geographic position information determination device, a geographic position information determination computer device, a storage medium and a geographic position information determination computer program product. The method comprises the following steps: acquiring target anonymous online transaction data and service scene information of the target anonymous online transaction data, and determining target attribute information of a target anonymous user corresponding to the target anonymous online transaction data based on the service scene information; matching the target attribute information with information stored in a target buffer; if the matching is successful, determining the geographical position information of the target anonymous user according to the matched information; and if the matching is unsuccessful, matching the target attribute information with the information stored in the target searcher, and determining the geographical position information of the target anonymous user according to the matched information. The method can realize the management of anonymous clients.

Description

Geographical location information determination method, apparatus, device, medium, and program product
Technical Field
The present application relates to the field of big data intelligent analysis technology, and in particular, to a transaction area determination method, apparatus, storage medium, and computer program product.
Background
In the financial service, a financial institution is provided with a website or subordinate institution, and the website or subordinate institution manages and serves customers. Generally speaking, a financial institution determines a geographic area where a customer is located according to geographic location information of the customer, divides the customer according to the geographic area, determines a corresponding website or subordinate institution, and performs targeted service and management on the customer in the geographic area by the website or the subordinate institution.
In the prior art, generally, a financial institution records information of a bank branch point when a customer opens an electronic channel in a financial system of the financial institution, determines a geographic position of the customer according to the information of the bank branch point, and divides the customer according to the geographic position so as to manage and direct service for the customer.
However, a large number of existing customers, namely anonymous customers, open the relevant electronic channel not by way of going to a bank website for transaction, but by way of online registration. The financial institution does not further divide the anonymous client because the geographic position information of the anonymous client is not clear, thereby being not beneficial to managing the anonymous client.
Disclosure of Invention
In view of the above, it is necessary to provide a geographic location information determining method, apparatus, computer device, storage medium and computer program product capable of determining geographic location information of an anonymous client to achieve management of the anonymous client.
In a first aspect, a method for determining geographic location information is provided, where the method includes:
acquiring target anonymous online transaction data and service scene information of the target anonymous online transaction data, and determining target attribute information of a target anonymous user corresponding to the target anonymous online transaction data based on the service scene information;
matching the target attribute information with information stored in a target buffer, wherein the attribute information of anonymous users in a geographic position area corresponding to the maximum anonymous online transaction occurrence number in a target historical time period is stored in the target buffer;
if the matching is successful, determining the geographical position information of the target anonymous user according to the matched information;
and if the matching is unsuccessful, matching the target attribute information with the information stored in the target searcher, and determining the geographic position information of the target anonymous user according to the matched information, wherein the target searcher stores multiple groups of corresponding relations between the attribute information of the anonymous user and the geographic position area.
In one embodiment, obtaining targeted anonymous online transaction data comprises:
acquiring a plurality of anonymous online transaction data within a preset time period;
and determining priority information of each anonymous online transaction data according to a preset priority setting mode, and selecting the anonymous online transaction data with the highest priority as target anonymous online transaction data according to the priority information.
In one embodiment, before determining the priority information of each anonymous online transaction data according to a preset priority setting mode, the method further includes:
acquiring attribute information of anonymous users corresponding to the anonymous online transaction data, and performing filtering processing on the anonymous online transaction data based on the attribute information of the anonymous users corresponding to the anonymous online transaction data so as to filter the anonymous online transaction data with illegal attribute information in the anonymous online transaction data;
correspondingly, according to a preset priority setting mode, determining priority information of each anonymous online transaction data, which comprises the following steps:
and determining the priority information of the anonymous online transaction data obtained after filtering according to a preset priority setting mode.
In one embodiment, matching the destination attribute information with information stored in a destination cache comprises:
determining a target attribute category corresponding to the target attribute information;
and determining a target buffer from a plurality of buffers according to the target attribute type, wherein each buffer corresponds to different attribute types, and attribute information of anonymous users of the target geographic position area, which is consistent with the attribute type corresponding to each buffer, is stored in each buffer.
In one embodiment, matching the target attribute information with information stored in the target retriever includes:
and determining a target searcher from a plurality of searchers according to the target attribute type, wherein each searcher corresponds to different attribute types, and each searcher stores a plurality of groups of corresponding relations between the attribute information of anonymous users which are consistent with the attribute type corresponding to each searcher and the geographic position.
In one embodiment, before obtaining the target anonymous online transaction data and the service scenario information of the target anonymous online transaction data, the method further includes:
acquiring a plurality of historical anonymous online transaction data in a target historical time period and attribute information of anonymous users corresponding to the historical anonymous online transaction data;
matching attribute information of anonymous users corresponding to the historical anonymous online transaction data with information in each retriever aiming at the historical anonymous online transaction data to obtain historical geographic position areas corresponding to the historical anonymous online transaction data;
counting historical anonymous online transaction data corresponding to each historical geographic location area, and taking the historical geographic location area with the largest anonymous online transaction occurrence number in a target historical time period as a target historical geographic location area;
and acquiring the attribute type corresponding to each searcher and the storage information corresponding to the target historical geographic position area in each searcher, and loading the storage information into a buffer with the same attribute type as the searcher in batch.
In one embodiment, after the retrieval information corresponding to the geographic location area in each retriever is loaded to the corresponding buffer in batch according to the attribute type, the method includes:
judging whether attribute information of anonymous users stored repeatedly exists in the buffer;
and if the attribute information of the anonymous user which is stored repeatedly exists, determining the information to be reserved according to the time for loading the attribute information of each anonymous user into the cache, and updating the cache according to the information to be reserved.
In one embodiment, the method further comprises:
detecting whether a trigger instruction of the buffer is met, and determining the updating information of the buffer under the condition that the trigger instruction is met;
and updating the buffer according to the updating information of the buffer.
In a second aspect, there is provided a geographic position information determination apparatus, the apparatus comprising:
the acquisition module is used for acquiring the target anonymous online transaction data and the service scene information of the target anonymous online transaction data, and determining the target attribute information of the target anonymous user corresponding to the target anonymous online transaction data based on the service scene information;
the first matching module is used for matching the target attribute information with the information stored in the target buffer, wherein the attribute information of the anonymous user in the geographic position region corresponding to the geographic position region with the largest number of anonymous online transactions in the target historical time period is stored in the target buffer, and under the condition of successful matching, the geographic position information of the target anonymous user is determined according to the matched information;
and the second matching module is used for matching the target attribute information with the information stored in the target retriever under the condition that the matching between the target attribute information and the information stored in the target buffer is unsuccessful, and determining the geographic position information of the target anonymous user according to the matched information, wherein the target retriever stores a plurality of groups of corresponding relations between the attribute information of the anonymous user and the geographic position area.
In one embodiment, the obtaining module includes:
the data acquisition unit is used for acquiring a plurality of anonymous online transaction data in a preset time period;
and the priority setting unit is used for determining the priority information of each anonymous online transaction data according to a preset priority setting mode, and selecting the anonymous online transaction data with the highest priority as the target anonymous online transaction data according to the priority information.
In one embodiment, the apparatus further comprises a filtering module, specifically:
the filtering module is used for acquiring attribute information of anonymous users corresponding to the anonymous online transaction data, and performing filtering processing on the anonymous online transaction data based on the attribute information of the anonymous users corresponding to the anonymous online transaction data so as to filter the anonymous online transaction data with illegal attribute information in the anonymous online transaction data;
correspondingly, the priority setting unit is used for determining the priority information of the anonymous online transaction data obtained after filtering according to a preset priority setting mode.
In one embodiment, the first matching module is specifically configured to:
determining a target attribute category corresponding to the target attribute information;
and determining a target buffer from a plurality of buffers according to the target attribute type, wherein each buffer corresponds to different attribute types, and attribute information of anonymous users of the target geographic position area, which is consistent with the attribute type corresponding to each buffer, is stored in each buffer.
In one embodiment, the second matching module is specifically configured to:
and determining a target searcher from a plurality of searchers according to the target attribute type, wherein each searcher corresponds to different attribute types, and each searcher stores a plurality of groups of corresponding relations between the attribute information of anonymous users which are consistent with the attribute type corresponding to each searcher and the geographic position.
In one embodiment, the apparatus further comprises a loading module, the loading module comprising:
the historical data unit is used for acquiring a plurality of historical anonymous online transaction data in a target historical time period and attribute information of anonymous users corresponding to the historical anonymous online transaction data;
the data matching unit is used for matching attribute information of anonymous users corresponding to the historical anonymous online transaction data with information in the retrievers aiming at the historical anonymous online transaction data to obtain historical geographic position areas corresponding to the historical anonymous online transaction data;
the data statistics unit is used for carrying out statistics on historical anonymous online transaction data corresponding to each historical geographic position area, and taking the historical geographic position area with the largest number of anonymous online transactions in a target historical time period as a target historical geographic position area;
and the data loading unit is used for acquiring the attribute type corresponding to each searcher and the storage information corresponding to the target historical geographic position area in each searcher and loading the storage information into a buffer with the same attribute type as the searcher in batch.
In one embodiment, the apparatus further comprises an update module configured to:
judging whether attribute information of anonymous users stored repeatedly exists in the buffer;
and if the attribute information of the anonymous user which is stored repeatedly exists, determining the information to be reserved according to the time for loading the attribute information of each anonymous user into the cache, and updating the cache according to the information to be reserved.
In one embodiment, the apparatus further includes an update module, and the trigger module is configured to:
detecting whether a trigger instruction of the buffer is met, and determining the updating information of the buffer under the condition that the trigger instruction is met;
and updating the buffer according to the updating information of the buffer.
In a third aspect, a computer device is provided, comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, implements the geographical location information determination method as described in the first aspect above.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the geographical location information determination method according to the first aspect as described above.
In a fifth aspect, the present application further provides a computer program product. The computer program product comprising a computer program that when executed by a processor implements a method of determining geographical location information as described in any of the above first aspects.
The geographic position information determining method, the geographic position information determining device, the computer equipment, the storage medium and the computer program product are used for acquiring the target anonymous online transaction data and the service scene information of the target anonymous online transaction data, and determining the target attribute information of the target anonymous user corresponding to the target anonymous online transaction data based on the service scene information; matching the target attribute information with information stored in a target buffer, wherein the attribute information of anonymous users in a geographic position area corresponding to the maximum anonymous online transaction occurrence number in a target historical time period is stored in the target buffer; if the matching is successful, determining the geographical position information of the target anonymous user according to the matched information; and if the matching is unsuccessful, matching the target attribute information with the information stored in the target searcher, and determining the geographic position information of the target anonymous user according to the matched information, wherein the target searcher stores multiple groups of corresponding relations between the attribute information of the anonymous user and the geographic position area. The geographic position information of the target anonymous user is obtained by acquiring the target attribute information of the target anonymous user corresponding to the target anonymous online transaction data and sequentially matching the target attribute information with the information in the buffer and the retriever, so that the geographic region of the anonymous user is determined, and the anonymous user is managed conveniently; in addition, because the data volume of the information stored in the target buffer is small compared with the information stored in the target searcher, the target attribute information is matched with the information stored in the target buffer, and then the target attribute information is matched with the information stored in the target buffer only aiming at the target attribute information which can not be matched with the information stored in the target buffer.
Drawings
FIG. 1 is a schematic flow chart diagram illustrating a method for determining geographic location information, according to one embodiment;
FIG. 2 is a schematic flow chart of step 101 in one embodiment;
FIG. 3 is an exemplary diagram of a method for geographic location information determination in one embodiment;
FIG. 4 is a schematic flow chart of step 102 in one embodiment;
FIG. 5 is a flow diagram illustrating a method for determining geographic location information, according to one embodiment;
FIG. 6 is an exemplary diagram of a method for geographic location information determination in one embodiment;
FIG. 7 is a flowchart illustrating a method for determining geographic location information according to one embodiment;
FIG. 8 is a schematic flow chart diagram illustrating a method for determining geographic location information, in accordance with one embodiment;
FIG. 9 is a flowchart illustrating a method for determining geographic location information according to one embodiment;
FIG. 10 is a block diagram showing the structure of a geographical position information determining apparatus according to one embodiment;
FIG. 11 is a diagram illustrating an internal structure of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In the financial service, a financial institution is provided with a website or subordinate institution, and the website or subordinate institution manages and serves customers. Generally speaking, a financial institution determines a geographic area where a customer is located according to geographic location information of the customer, divides the customer according to the geographic area, determines a corresponding website or subordinate institution, and performs targeted service and management on the customer in the geographic area by the website or the subordinate institution.
The bank electronic channel comprises an online bank, a telephone bank, a mobile phone bank and other electronic service equipment and networks. The customers conduct financial transactions in an autonomous service manner through bank electronic channels. The mode of opening bank electronic channel service includes two modes, one mode is opening by passing down bank outlets, and the other mode is registering on the network.
In the prior art, a financial institution records information of a bank branch when a customer opens an electronic channel in a financial system of the financial institution, determines a geographical position of the customer according to the information of the bank branch, and divides the customer according to the geographical position so as to manage the customer conveniently.
However, a large number of existing customers, namely anonymous customers, open the relevant electronic channel not by way of going to a bank website for transaction, but by way of online registration. The financial institution does not further divide the anonymous client because the geographic position information of the anonymous client is not clear, thereby being not beneficial to managing the anonymous client.
In view of this, the embodiment of the present application provides a method for determining geographic location information, which is used for determining the geographic location of an anonymous client, so as to manage the anonymous client.
It should be noted that, in the geographic location information determining method provided in the embodiment of the present application, an execution subject may be a geographic location information determining device, and the geographic location information determining device may be implemented as part or all of a terminal in a software, hardware, or a combination of software and hardware.
In the following method embodiments, the execution subject is a terminal, where the terminal may be a personal computer, a notebook computer, a media player, a smart television, a smart phone, a tablet computer, a portable wearable device, and the like, and it is understood that the method may also be applied to a server, and may also be applied to a system including a terminal and a server, and is implemented through interaction between the terminal and the server.
Referring to fig. 1, a flowchart of a method for determining geographic location information according to an embodiment of the present application is shown. As shown in fig. 1, the method for determining geographical location information includes the following steps:
step 101, obtaining the target anonymous online transaction data and the service scene information of the target anonymous online transaction data, and determining target attribute information of a target anonymous user corresponding to the target anonymous online transaction data based on the service scene information.
The target anonymous online transaction data comprises transaction flow, withdrawal transaction data, balance inquiry data and the like of the target anonymous user.
The target attribute information at least comprises one of IP address information, mobile phone numbers, working units and the like. The service scenario information includes a service scenario corresponding to the attribute information of the mobile phone number, for example, a mobile phone number registration/login scenario and a service scenario corresponding to the attribute information of the IP address, for example, a computer side registration/login scenario, and at this time, since the anonymous client does not bind the mobile phone number information during registration/login, the IP address information is used as the attribute information.
Optionally, the terminal divides the anonymous online transaction data into two service scenes, namely a PC end and a mobile phone end, according to the type of the device used by the anonymous user when the anonymous online transaction data is generated. When the terminal receives the target anonymous online transaction data, the terminal detects the equipment used by the anonymous user, and obtains the service scene information of the target anonymous online transaction data according to the type information of the equipment.
Optionally, the terminal is provided with a mapping relationship between the service scene information and the target attribute information. After the terminal obtains the service scene information, the target attribute information is determined in a table look-up mode.
Step 102, matching the target attribute information with the information stored in the target buffer.
The attribute information of the anonymous user corresponding to the geographical location area with the largest number of anonymous online transactions in the target historical time period is stored in the target buffer.
The attribute information of the anonymous user comprises an IP address, a mobile phone number or a work unit of the anonymous user and the like. The target buffer comprises attribute information, a geographical location area corresponding to the attribute information, area postcode information, banking outlet/branch code information and the like.
Optionally, the geographical location area, the zip code, and the bank branch/branch code may be generated into an MD5 code value using MD5 message digest algorithm.
Optionally, the terminal is provided with a buffer area, the buffer area is divided into a plurality of areas according to the number of the types of the attribute information, and each area is correspondingly provided with one buffer.
Optionally, the target attribute information is matched with the attribute information in the target buffer by using an information matching algorithm, for example, a KMP matching algorithm.
And 103, if the matching is successful, determining the geographical position information of the target anonymous user according to the matched information.
The geographical location information includes geographical location area, area zip code information, bank branch code information, and the like.
Optionally, when the target attribute information is successfully matched with the attribute information in the target buffer, the attribute information is used to obtain a corresponding MD5 encoded value, and then the MD5 encoded value is decoded to obtain corresponding geographic location information.
And 104, if the matching is unsuccessful, matching the target attribute information with the information stored in the target searcher, and determining the geographical position information of the target anonymous user according to the matched information.
The target retriever stores multiple groups of corresponding relations between attribute information of anonymous users and geographic position areas. The geographical location information includes geographical location area, area zip code information, bank branch code information, and the like.
Optionally, the terminal is provided with a specific storage area for storing data in the retriever, the specific storage area is divided into a plurality of areas according to the number of categories of the attribute information, and each area is provided with one retriever correspondingly.
The specific matching method may refer to the same matching method in step 102, and is not described herein.
The embodiment obtains the geographic position information of the target anonymous user by obtaining the target attribute information of the target anonymous user corresponding to the target anonymous online transaction data and sequentially matching the target attribute information with the information in the buffer and the retriever to obtain the geographic position information of the target anonymous user, thereby realizing the determination of the geographic area of the anonymous user and facilitating the management of the anonymous user; in addition, because the data volume of the information stored in the target buffer is small compared with the information stored in the target searcher, the target attribute information is matched with the information stored in the target buffer, and then the target attribute information is matched with the information stored in the target buffer only aiming at the target attribute information which can not be matched with the information stored in the target buffer.
In the implementation of the present application, as shown in fig. 2, based on the embodiment shown in fig. 1, the present embodiment relates to obtaining target anonymous online transaction data in step 101, which includes steps 201 and 202:
step 201, obtaining a plurality of anonymous online transaction data within a preset time period.
The preset time period may refer to a time period that ends at the current time in time sequence. The length of the time period can be adjusted according to the real-time situation. For example, the length of the time period may be set to 5 s.
Optionally, the server stores online transaction data of the client, and the terminal sets a sampling interval according to the length of the preset time period and loads corresponding anonymous online transaction data from the server at regular time.
Optionally, to avoid overloading the server with a large number of requests, which results in the server being unavailable, as shown in fig. 3, the traffic of the server for a preset period of time may be throttled using the flow limiter of fig. 3. To prevent attacks on the online transaction data on the server, encryption processing and token verification may be performed on the online transaction data on the server.
Optionally, the server stores list information of non-anonymous clients, and online transaction data of clients not on the list may be determined as anonymous online transaction data.
Step 202, determining priority information of each anonymous online transaction data according to a preset priority setting mode, and selecting the anonymous online transaction data with the highest priority as target anonymous online transaction data according to the priority information.
Optionally, the preset priority setting mode includes manual setting and automatic setting. Priority levels can be set according to the type of the convergence service corresponding to the online transaction data, wherein the financial service types are divided according to the real-time requirement level of the online transaction.
Specifically, the manual setting method specifically includes that financial institution personnel input the priority level corresponding to each type of the convergence service or input the type of the convergence service needing the preferential response on a terminal interface.
Specifically, the automatic setting method specifically includes storing a mapping relationship between financial service types and priority levels in the terminal, where the higher the real-time requirement level is, the higher the corresponding priority level is.
Optionally, when multiple priority levels are included, the anonymous online transaction data is sorted according to the priority levels. And calling the anonymous online transaction data in sequence, and determining the called anonymous online transaction data as target anonymous online transaction data.
Optionally, as shown in fig. 3, after the transaction distributor determines the target anonymous online transaction data according to the preset priority setting mode, the target anonymous online transaction data is transmitted to the buffer to perform the determination process of the geographic location of the anonymous customer.
According to the embodiment of the application, a plurality of anonymous online transaction data in a preset time period are obtained, priority information of each anonymous online transaction data is determined according to a preset priority setting mode, the anonymous online transaction data with the highest priority is selected as the target anonymous online transaction data according to the priority information, the target anonymous online transaction data are obtained according to the priority sequence, the algorithm efficiency of subsequent geographic position positioning is improved, and the system pressure is reduced.
In the present embodiment, based on the embodiment shown in fig. 2, the present embodiment relates to a step before determining priority information of each anonymous online transaction data according to a preset priority setting manner in step 102, and the step includes the following steps:
the method comprises the steps of obtaining attribute information of anonymous users corresponding to anonymous online transaction data, and executing filtering processing on the anonymous online transaction data based on the attribute information of the anonymous users corresponding to the anonymous online transaction data so as to filter the anonymous online transaction data with illegal attribute information in a plurality of anonymous online transaction data.
Optionally, the filtering processing method includes performing parameter verification and permission verification on the anonymous online transaction data, where the parameter verification includes checking whether attribute information is normative.
According to the embodiment of the application, the attribute information of the anonymous user corresponding to each piece of anonymous online transaction data is obtained, and filtering processing is performed on each piece of anonymous online transaction data based on the attribute information of the anonymous user corresponding to each piece of anonymous online transaction data, so that the calculation amount of an algorithm is reduced, and the processing efficiency of the algorithm is improved.
In the implementation of the present application, as shown in fig. 4, based on the embodiment shown in fig. 1, the present embodiment relates to matching, in step 102, target attribute information with information stored in a target buffer, and includes steps 301 and 302:
step 301, determining a target attribute type corresponding to the target attribute information.
The target attribute type includes at least one of an IP address type, a mobile phone number type, a work unit type, and the like.
Step 302, determining a target buffer from a plurality of buffers according to the target attribute type.
And each buffer corresponds to different attribute types, and attribute information of anonymous users in the target geographic position area, which is consistent with the attribute type corresponding to each buffer, is stored in each buffer.
Optionally, the buffer is expanded according to a real-time situation. Specifically, as the attribute class increases, the number of buffers is correspondingly increased.
Fig. 3 exemplarily shows a case of including 2 buffers, i.e., an IP buffer and a mobile phone number buffer. Optionally, when the target attribute information corresponding to the target anonymous online transaction data is an IP address, matching the IP address with information in an IP buffer; and when the target attribute information corresponding to the target anonymous online transaction data is a mobile phone number, matching the mobile phone number with the information in the mobile phone number buffer.
According to the method and the device, the target attribute type corresponding to the target attribute information is determined, the target cache is determined from the plurality of caches according to the target attribute type, the directional query of the location information of the anonymous online transaction data of the target is realized, and the efficiency of information query matching in the caches is improved.
In this embodiment of the present application, based on the embodiment shown in fig. 3, the implementation process of matching the target attribute information with the information stored in the target retriever in step 104 includes: and determining the target retriever from a plurality of retrievers according to the target attribute category.
And each searcher stores multiple groups of corresponding relations between the attribute information of anonymous users consistent with the attribute category corresponding to each searcher and the geographic position. Optionally, the number of retrievers is the same as the number of buffers.
Optionally, the retriever is expanded horizontally according to the real-time situation. Specifically, the number of retrievers is flexibly increased as the attribute categories increase.
Also, referring to fig. 3, fig. 3 exemplarily shows a case where 2 retrievers, i.e., an IP library retriever and a mobile phone number retriever, are included. Optionally, when the target attribute information corresponding to the target anonymous online transaction data is an IP address, matching the IP address with information in an IP retriever; and when the target attribute information corresponding to the target anonymous online transaction data is a mobile phone number, matching the mobile phone number with the information in the mobile phone number retriever.
According to the method and the device, the target retriever is determined from the plurality of retrievers according to the target attribute category, so that the directional query of the location information of the target anonymous online transaction data is realized, and the efficiency of information query matching in the retrievers is improved.
In the embodiment of the present application, referring to fig. 5, based on the above embodiment, before the obtaining, in step 101, the target anonymous online transaction data and the service scenario information of the target anonymous online transaction data, the method for determining geographic location information further includes steps 401, 402, and 403:
step 401, obtaining a plurality of historical anonymous online transaction data in a target historical time period and attribute information of anonymous users corresponding to each historical anonymous online transaction data.
The target historical time period refers to any time period before a preset time period in time sequence. The length units of the time period include days, weeks, months or years.
Alternatively, the target history period is set to the previous 1 day or the previous 1 week of the preset period, and so on.
And step 402, matching the attribute information of the anonymous user corresponding to each historical anonymous online transaction data with the information in each retriever to obtain a historical geographic position area corresponding to each historical anonymous online transaction data.
Optionally, for each piece of historical anonymous online transaction data, a corresponding retriever is determined according to attribute information of an anonymous user corresponding to each piece of historical anonymous online transaction data, and the attribute information is matched with information in the determined retriever. The specific implementation manner is similar to the process of matching the target attribute information with the information stored in the target retriever in the above embodiment, and details are not repeated here.
Fig. 6 exemplarily shows a case where 2 retrievers, i.e., an IP library retriever and a mobile phone number retriever, are included. The transaction distributor distributes the transaction distributor to the corresponding retrievers according to the attribute information of the historical anonymous online transaction data, namely the IP address or the mobile phone number, so as to execute the process of matching the attribute information of the anonymous users corresponding to the historical anonymous online transaction data with the information in the retrievers.
Optionally, when the geographical location information stored in the retriever is an MD5 encoded value, the terminal determines an MD5 encoded value corresponding to the attribute information according to the attribute information, and then decodes the MD5 encoded value to obtain the geographical location area to which the anonymous user belongs.
And step 403, taking the historical geographic location area with the largest number of anonymous online transactions in the target historical time period as the target historical geographic location area.
Optionally, the historical anonymous online transaction data corresponding to each historical geographic location area is counted to obtain the target historical geographic location area. Specifically, the terminal counts according to historical anonymous online transaction data corresponding to historical geographic position areas to obtain historical anonymous online transaction quantity corresponding to each historical geographic position area.
And step 404, acquiring the attribute type corresponding to each retriever and the storage information corresponding to the target historical geographic position area in each retriever, and loading the storage information into the buffer in batches.
The buffer is a buffer having the same attribute type as the searcher.
As shown in fig. 6, when the monitoring module monitors that online transactions occur frequently in a certain area, the retrievers corresponding to the geographic location area are loaded into the corresponding caches. Loading corresponding information in the IP library retriever to an IP buffer in batches; and the corresponding information in the mobile phone number retriever can be loaded into the mobile phone number cache in batches.
Optionally, the target historical geographic location area is matched with each retriever, and the matched information is loaded into a buffer having the same attribute information as the retriever.
According to the embodiment, historical anonymous online transaction data corresponding to each historical geographic position area are counted, the historical geographic position area with the largest anonymous online transaction occurrence number in the target historical time period is used as the target historical geographic position area, the attribute type corresponding to each retriever and the storage information corresponding to the target historical geographic position area in each retriever are obtained, the storage information is loaded into the buffer with the same attribute type as the retriever in batches, geographic position information corresponding to an online transaction high-incidence area is loaded into the buffer, and the query efficiency of the geographic position information of the online transaction high-incidence area is improved.
In the embodiment of the present application, referring to fig. 7, based on the embodiment described in fig. 4, the method for determining geographic location information includes steps 501 and 502:
step 501, judging whether the buffer stores the attribute information of the anonymous user repeatedly.
Optionally, the attribute information and the geographic location information are stored in the buffer in a key-value key value pair manner, the attribute information is set to a key value, and the geographic location information is set to a value. And the terminal detects the key value, judges whether a certain key value in the cache corresponds to a plurality of key-value key value pairs, and if so, determines that the attribute information of the anonymous user which is repeatedly stored exists in the cache.
Step 502, if the attribute information of the anonymous user is stored repeatedly, determining the information to be reserved according to the time for loading the attribute information of each anonymous user into the cache, and updating the cache according to the information to be reserved.
Optionally, when the terminal stores the information in the buffer in the key-value key value pair manner, the terminal may record the loading time of the key-value key value pair, where the loading time is a time for loading the attribute information of each anonymous user to the buffer. When the terminal detects that a certain key value corresponds to a plurality of key-value key value pairs, the loading time corresponding to each key-value key value pair is compared, the newly loaded key-value key value pair is determined as information to be reserved, and other key-value key value pairs corresponding to the key value are deleted.
According to the embodiment, whether the attribute information of the anonymous user is stored repeatedly or not is judged, if the attribute information of the anonymous user is stored repeatedly, the information to be reserved is determined according to the time for loading the attribute information of each anonymous user to the buffer, and the buffer is updated according to the information to be reserved.
In the embodiment of the present application, referring to fig. 8, based on the embodiment described in fig. 4, the method for determining geographic location information includes steps 601 and 602:
step 601, detecting whether a trigger instruction of the buffer is satisfied, and determining the update information of the buffer under the condition that the trigger instruction is satisfied.
Wherein the trigger instruction comprises a manual trigger instruction and an automatic trigger instruction.
Optionally, the manual trigger instruction is an instruction for triggering the buffer to update in a manual trigger manner. And a trigger button of the buffer is arranged on the terminal interface, and the trigger instruction is that the trigger button is clicked. When the terminal detects that the trigger button is clicked, the trigger instruction of the buffer is satisfied. As shown in fig. 6, the update instruction of the buffer is triggered in the form of a trigger, and the management platform interface sets relevant information of the trigger instruction.
Optionally, the automatic triggering instruction is an instruction for automatically triggering an update of the buffer according to a set triggering condition. Wherein the trigger condition includes updating time period information, for example, 3 days. When the preset time period is reached, the updating instruction of the buffer is automatically triggered. Or according to the hotspot geographic position area corresponding to the hotspot data, when the change of the hotspot geographic position area is detected, triggering a triggering instruction of the buffer.
Optionally, the terminal is provided with a corresponding relationship between the trigger instruction and the buffer update mode. The buffer updating mode includes buffer updating content, storage mode of the buffer content and the like. And when the triggering instruction of the buffer is met, the terminal determines the updating mode of the triggering instruction according to the corresponding relation and determines the updating information corresponding to the buffer according to the updating mode.
Step 602, updating the buffer according to the update information of the buffer.
According to the embodiment, whether the trigger instruction of the cache is met is detected, the updating information of the cache is determined under the condition that the trigger instruction is met, and then the cache is updated according to the updating information of the cache, so that the updating of the stored information in the cache is realized, and the efficiency of inquiring the geographical position of the anonymous user through the cache is improved.
In the embodiment of the present application, as shown in fig. 9, a method for determining geographic position information is provided, where the method includes the following steps:
step 701, acquiring a plurality of historical anonymous online transaction data in a target historical time period and attribute information of anonymous users corresponding to the historical anonymous online transaction data.
And step 702, matching the attribute information of the anonymous user corresponding to each historical anonymous online transaction data with the information in each retriever to obtain a historical geographic position area corresponding to each historical anonymous online transaction data.
Step 703, determining the historical geographic location area with the largest number of anonymous online transactions occurring within the target historical time period.
Step 704, obtaining the attribute type corresponding to each retriever and the storage information corresponding to the historical geographic location area in each retriever, and loading the storage information into the buffer in batch.
The buffer is a buffer having the same attribute type as the searcher.
Step 705, judging whether the attribute information of the anonymous user stored repeatedly exists in the buffer, if so, determining the information to be reserved in the buffer to update the buffer.
The method for determining the information to be reserved in the buffer to update the buffer comprises the following steps: and determining the information to be reserved according to the time for loading the attribute information of each anonymous user into the buffer, and updating the buffer according to the information to be reserved.
Step 706, detecting whether the trigger instruction of the buffer is satisfied, and if so, determining the update information of the buffer to update the buffer.
Step 707, acquiring a plurality of anonymous online transaction data within a preset time period and attribute information of the anonymous user corresponding to each anonymous online transaction data.
Step 708, filtering each anonymous online transaction data based on the attribute information of the anonymous user corresponding to each anonymous online transaction data.
The filtering processing aims to filter out the anonymous online transaction data with illegal attribute information in the plurality of anonymous online transaction data.
And 709, determining the priority information of the anonymous online transaction data obtained after filtering, and taking the anonymous online transaction data with the highest priority as target anonymous online transaction data.
Step 710, obtaining the target anonymous online transaction data and the corresponding service scenario information thereof, and determining the target attribute information of the target anonymous user corresponding to the target anonymous online transaction data based on the service scenario information.
And 711, determining a target attribute type corresponding to the target attribute information, and determining a target buffer from the plurality of buffers according to the target attribute type.
And each buffer corresponds to different attribute types, and attribute information of anonymous users in the target geographic position area, which is consistent with the attribute type corresponding to each buffer, is stored in each buffer.
Step 712 matches the target attribute information with information stored in the target buffer.
And 713, if the matching is successful, determining the geographical position information of the target anonymous user according to the matched information.
Step 714, if the matching is unsuccessful, determining the target retriever from the plurality of retrievers according to the target attribute type.
And each searcher stores multiple groups of corresponding relations between the attribute information of anonymous users consistent with the attribute category corresponding to each searcher and the geographic position.
And step 715, matching the target attribute information with the information stored in the target retriever, and determining the geographic position information of the target anonymous user according to the matched information.
In the embodiment, the geographic position information of the target anonymous user is obtained by acquiring the target attribute information of the target anonymous user corresponding to the target anonymous online transaction data and sequentially matching the target attribute information with the information in the buffer and the retriever, so that the geographic area of the anonymous user is determined, and the anonymous user is managed conveniently. And because the target attribute information is matched with the information stored in the target buffer to obtain the geographic position information of the target anonymous user, the target attribute information is matched with the information stored in the target retriever only when the matching is unsuccessful, and the geographic position information of the target anonymous user is determined according to the matched information, thereby improving the determination efficiency of the geographic position information.
It should be understood that although the various steps in the flowcharts of fig. 1-2, 4-5, and 7-9 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps of fig. 1-2, 4-5, and 7-9 may include multiple steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of execution of the steps or stages is not necessarily sequential, but may be alternated or alternated with other steps or at least a portion of the steps or stages in other steps.
In an embodiment of the present application, as shown in fig. 10, there is provided a geographic position information determination apparatus, including an acquisition module, a first matching module, and a second matching module, wherein:
the acquisition module is used for acquiring the target anonymous online transaction data and the service scene information of the target anonymous online transaction data, and determining the target attribute information of the target anonymous user corresponding to the target anonymous online transaction data based on the service scene information;
the first matching module is used for matching the target attribute information with the information stored in the target buffer, wherein the attribute information of the anonymous user in the geographic position region corresponding to the geographic position region with the largest number of anonymous online transactions in the target historical time period is stored in the target buffer, and under the condition of successful matching, the geographic position information of the target anonymous user is determined according to the matched information;
and the second matching module is used for matching the target attribute information with the information stored in the target retriever under the condition that the matching between the target attribute information and the information stored in the target buffer is unsuccessful, and determining the geographic position information of the target anonymous user according to the matched information, wherein the target retriever stores a plurality of groups of corresponding relations between the attribute information of the anonymous user and the geographic position area.
In one embodiment, the acquisition module includes:
the data acquisition unit is used for acquiring a plurality of anonymous online transaction data in a preset time period;
and the priority setting unit is used for determining the priority information of each anonymous online transaction data according to a preset priority setting mode, and selecting the anonymous online transaction data with the highest priority as the target anonymous online transaction data according to the priority information.
In one embodiment, the apparatus further comprises a filtration module, in particular:
the filtering module is used for acquiring attribute information of anonymous users corresponding to the anonymous online transaction data, and performing filtering processing on the anonymous online transaction data based on the attribute information of the anonymous users corresponding to the anonymous online transaction data so as to filter the anonymous online transaction data with illegal attribute information in the anonymous online transaction data;
correspondingly, the priority setting unit is used for determining the priority information of the anonymous online transaction data obtained after filtering according to a preset priority setting mode.
In one embodiment, the first matching module is specifically configured to:
determining a target attribute category corresponding to the target attribute information;
and determining a target buffer from a plurality of buffers according to the target attribute type, wherein each buffer corresponds to different attribute types, and attribute information of anonymous users of the target geographic position area, which is consistent with the attribute type corresponding to each buffer, is stored in each buffer.
In one embodiment, the second matching module is specifically configured to:
and determining a target searcher from a plurality of searchers according to the target attribute type, wherein each searcher corresponds to different attribute types, and each searcher stores a plurality of groups of corresponding relations between the attribute information of anonymous users which are consistent with the attribute type corresponding to each searcher and the geographic position.
In one embodiment, the apparatus further comprises a loading module, the loading module comprising:
the historical data unit is used for acquiring a plurality of historical anonymous online transaction data in a target historical time period and attribute information of anonymous users corresponding to the historical anonymous online transaction data;
the data matching unit is used for matching attribute information of anonymous users corresponding to the historical anonymous online transaction data with information in the retrievers aiming at the historical anonymous online transaction data to obtain historical geographic position areas corresponding to the historical anonymous online transaction data;
the data statistics unit is used for carrying out statistics on historical anonymous online transaction data corresponding to each historical geographic position area, and taking the historical geographic position area with the largest number of anonymous online transactions in a target historical time period as a target historical geographic position area;
and the data loading unit is used for acquiring the attribute type corresponding to each searcher and the storage information corresponding to the target historical geographic position area in each searcher and loading the storage information into a buffer with the same attribute type as the searcher in batch.
In one embodiment, the apparatus further comprises an update module to:
judging whether attribute information of anonymous users stored repeatedly exists in the buffer;
and if the attribute information of the anonymous user which is stored repeatedly exists, determining the information to be reserved according to the time for loading the attribute information of each anonymous user into the cache, and updating the cache according to the information to be reserved.
In one embodiment, the apparatus further comprises an update module, the trigger module to:
detecting whether a trigger instruction of the buffer is met, and determining the updating information of the buffer under the condition that the trigger instruction is met;
and updating the buffer according to the updating information of the buffer.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 11. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a method of geolocation information determination. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 11 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
step 101, acquiring target anonymous online transaction data and service scene information of the target anonymous online transaction data, and determining target attribute information of a target anonymous user corresponding to the target anonymous online transaction data based on the service scene information;
102, matching the target attribute information with information stored in a target buffer;
step 103, if the matching is successful, determining the geographical position information of the target anonymous user according to the matched information;
and 104, if the matching is unsuccessful, matching the target attribute information with the information stored in the target searcher, and determining the geographical position information of the target anonymous user according to the matched information.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring a plurality of anonymous online transaction data within a preset time period; and determining priority information of each anonymous online transaction data according to a preset priority setting mode, and selecting the anonymous online transaction data with the highest priority as target anonymous online transaction data according to the priority information.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring attribute information of anonymous users corresponding to the anonymous online transaction data, and performing filtering processing on the anonymous online transaction data based on the attribute information of the anonymous users corresponding to the anonymous online transaction data so as to filter the anonymous online transaction data with illegal attribute information in the anonymous online transaction data; and determining the priority information of the anonymous online transaction data obtained after filtering according to a preset priority setting mode.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
determining a target attribute category corresponding to the target attribute information; and determining a target buffer from a plurality of buffers according to the target attribute type, wherein each buffer corresponds to different attribute types, and attribute information of anonymous users of the target geographic position area, which is consistent with the attribute type corresponding to each buffer, is stored in each buffer.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and determining a target searcher from a plurality of searchers according to the target attribute type, wherein each searcher corresponds to different attribute types, and each searcher stores a plurality of groups of corresponding relations between the attribute information of anonymous users which are consistent with the attribute type corresponding to each searcher and the geographic position.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring a plurality of historical anonymous online transaction data in a target historical time period and attribute information of anonymous users corresponding to the historical anonymous online transaction data; matching attribute information of anonymous users corresponding to the historical anonymous online transaction data with information in each retriever aiming at the historical anonymous online transaction data to obtain historical geographic position areas corresponding to the historical anonymous online transaction data;
counting historical anonymous online transaction data corresponding to each historical geographic location area, and taking the historical geographic location area with the largest anonymous online transaction occurrence number in a target historical time period as a target historical geographic location area; and acquiring the attribute type corresponding to each searcher and the storage information corresponding to the target historical geographic position area in each searcher, and loading the storage information into a buffer with the same attribute type as the searcher in batch.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
judging whether attribute information of anonymous users stored repeatedly exists in the buffer; and if the attribute information of the anonymous user which is stored repeatedly exists, determining the information to be reserved according to the time for loading the attribute information of each anonymous user into the cache, and updating the cache according to the information to be reserved.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
detecting whether a trigger instruction of the buffer is met, and determining the updating information of the buffer under the condition that the trigger instruction is met; and updating the buffer according to the updating information of the buffer.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
In an embodiment, a computer program is provided, which when executed by a processor further performs the steps in the above described method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (19)

1. A method for determining geolocation information, said method comprising:
acquiring target anonymous online transaction data and service scene information of the target anonymous online transaction data, and determining target attribute information of a target anonymous user corresponding to the target anonymous online transaction data based on the service scene information;
matching the target attribute information with information stored in a target buffer, wherein the attribute information of anonymous users in a geographic position area corresponding to the maximum anonymous online transaction occurrence number in a target historical time period is stored in the target buffer;
if the matching is successful, determining the geographical position information of the target anonymous user according to the matched information;
and if the matching is unsuccessful, matching the target attribute information with information stored in a target searcher, and determining the geographic position information of the target anonymous user according to the matched information, wherein the target searcher stores multiple groups of corresponding relations between the attribute information of the anonymous user and a geographic position area.
2. The method of claim 1, wherein obtaining target anonymous online transaction data comprises:
acquiring a plurality of anonymous online transaction data within a preset time period;
and determining priority information of each anonymous online transaction data according to a preset priority setting mode, and selecting the anonymous online transaction data with the highest priority as the target anonymous online transaction data according to the priority information.
3. The method of claim 2, wherein prior to determining the priority information for each of the anonymous online transaction data based on a predetermined priority setting, the method further comprises:
acquiring attribute information of anonymous users corresponding to the anonymous online transaction data, and performing filtering processing on the anonymous online transaction data based on the attribute information of the anonymous users corresponding to the anonymous online transaction data so as to filter the anonymous online transaction data with illegal attribute information in the anonymous online transaction data;
correspondingly, the determining the priority information of each anonymous online transaction data according to a preset priority setting mode comprises the following steps:
and determining the priority information of the anonymous online transaction data obtained after filtering according to the preset priority setting mode.
4. The method of claim 1, wherein matching the destination attribute information with information stored in a destination cache comprises:
determining a target attribute category corresponding to the target attribute information;
and determining the target cache from a plurality of caches according to the target attribute type, wherein each cache corresponds to different attribute types, and attribute information of anonymous users of the target geographic position area, which is consistent with the attribute type corresponding to each cache, is stored in each cache.
5. The method of claim 4, wherein matching the target attribute information with information stored in a target retriever comprises:
and determining the target retrievers from a plurality of retrievers according to the target attribute categories, wherein each retriever corresponds to different attribute categories, and a plurality of groups of corresponding relations between the attribute information of anonymous users which are consistent with the attribute categories corresponding to each retriever and the geographic positions are stored in each retriever.
6. The method of claim 5, wherein before obtaining the target anonymous online transaction data and the service context information of the target anonymous online transaction data, the method further comprises:
acquiring a plurality of historical anonymous online transaction data in the target historical time period and attribute information of anonymous users corresponding to the historical anonymous online transaction data;
matching attribute information of anonymous users corresponding to the historical anonymous online transaction data with information in the retrievers aiming at the historical anonymous online transaction data to obtain historical geographic position areas corresponding to the historical anonymous online transaction data;
counting historical anonymous online transaction data corresponding to each historical geographic location area, and taking the historical geographic location area with the largest anonymous online transaction occurrence number in the target historical time period as a target historical geographic location area;
and acquiring the attribute type corresponding to each retriever and the storage information corresponding to the target historical geographic position area in each retriever, and loading the storage information into a buffer with the same attribute type as the retriever in batch.
7. The method according to claim 6, wherein after the retrieved information corresponding to the geographic location area in each of the retrievers is loaded to the corresponding buffer in batch according to the attribute category, the method comprises:
judging whether attribute information of anonymous users stored repeatedly exists in the buffer;
and if the attribute information of the anonymous user which is stored repeatedly exists, determining the information to be reserved according to the time for loading the attribute information of each anonymous user into the cache, and updating the cache according to the information to be reserved.
8. The method of claim 6, further comprising:
detecting whether a trigger instruction of the buffer is met, and determining the updating information of the buffer under the condition that the trigger instruction is met;
and updating the buffer according to the updating information of the buffer.
9. A geographic location information determination apparatus, the apparatus comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring target anonymous online transaction data and service scene information of the target anonymous online transaction data and determining target attribute information of a target anonymous user corresponding to the target anonymous online transaction data based on the service scene information;
the first matching module is used for matching the target attribute information with information stored in a target cache, wherein the attribute information of the anonymous user corresponding to the geographical location area with the largest number of anonymous online transactions in the target historical time period is stored in the target cache, and under the condition of successful matching, the geographical location information of the target anonymous user is determined according to the matched information;
and the second matching module is used for matching the target attribute information with the information stored in the target retriever under the condition that the target attribute information is unsuccessfully matched with the information stored in the target cache, and determining the geographic position information of the target anonymous user according to the matched information, wherein the target retriever stores a plurality of groups of corresponding relations between the attribute information of the anonymous user and a geographic position area.
10. The apparatus of claim 9, wherein the obtaining module comprises:
the data acquisition unit is used for acquiring a plurality of anonymous online transaction data in a preset time period;
and the priority setting unit is used for determining the priority information of each anonymous online transaction data according to a preset priority setting mode, and selecting the anonymous online transaction data with the highest priority as the target anonymous online transaction data according to the priority information.
11. The apparatus of claim 10, further comprising a filtration module;
the filtering module is used for acquiring attribute information of anonymous users corresponding to the anonymous online transaction data, and performing filtering processing on the anonymous online transaction data based on the attribute information of the anonymous users corresponding to the anonymous online transaction data so as to filter the anonymous online transaction data with illegal attribute information in the anonymous online transaction data;
correspondingly, the priority setting unit is used for determining the priority information of each anonymous online transaction data obtained after filtering according to the preset priority setting mode.
12. The apparatus of claim 9, wherein the first matching module is configured to determine a target attribute category corresponding to the target attribute information; and determining the target cache from a plurality of caches according to the target attribute type, wherein each cache corresponds to different attribute types, and attribute information of anonymous users of the target geographic position area, which is consistent with the attribute type corresponding to each cache, is stored in each cache.
13. The apparatus according to claim 12, wherein the second matching module is configured to determine the target retriever from a plurality of retrievers according to the target attribute category, wherein each of the retrievers corresponds to a different attribute category, and each of the retrievers stores therein a plurality of sets of correspondences between attribute information and geographic locations of anonymous users that are consistent with the attribute category corresponding to each of the retrievers.
14. The apparatus of claim 13, further comprising a loading module; the loading module comprises:
the historical data unit is used for acquiring a plurality of historical anonymous online transaction data in the target historical time period and attribute information of anonymous users corresponding to the historical anonymous online transaction data;
the data matching unit is used for matching attribute information of anonymous users corresponding to the historical anonymous online transaction data with information in the retrievers aiming at the historical anonymous online transaction data to obtain historical geographic position areas corresponding to the historical anonymous online transaction data;
the data statistics unit is used for carrying out statistics on historical anonymous online transaction data corresponding to each historical geographic position area, and taking the historical geographic position area with the largest number of anonymous online transactions in the target historical time period as a target historical geographic position area;
and the data loading unit is used for acquiring the attribute type corresponding to each searcher and the storage information corresponding to the target historical geographic position area in each searcher, and loading the storage information into a buffer with the same attribute type as the searcher in batch.
15. The apparatus of claim 14, further comprising an update module;
the updating module is used for judging whether the attribute information of the anonymous user stored repeatedly exists in the buffer; and if the attribute information of the anonymous user which is stored repeatedly exists, determining the information to be reserved according to the time for loading the attribute information of each anonymous user into the cache, and updating the cache according to the information to be reserved.
16. The apparatus of claim 14, further comprising a triggering module;
the trigger module is used for detecting whether a trigger instruction of the buffer is met, and determining the updating information of the buffer under the condition that the trigger instruction is met; and updating the buffer according to the updating information of the buffer.
17. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 8.
18. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 8.
19. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 8 when executed by a processor.
CN202111402299.XA 2021-11-19 2021-11-19 Geographical location information determination method, apparatus, device, medium, and program product Pending CN114238729A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111402299.XA CN114238729A (en) 2021-11-19 2021-11-19 Geographical location information determination method, apparatus, device, medium, and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111402299.XA CN114238729A (en) 2021-11-19 2021-11-19 Geographical location information determination method, apparatus, device, medium, and program product

Publications (1)

Publication Number Publication Date
CN114238729A true CN114238729A (en) 2022-03-25

Family

ID=80750803

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111402299.XA Pending CN114238729A (en) 2021-11-19 2021-11-19 Geographical location information determination method, apparatus, device, medium, and program product

Country Status (1)

Country Link
CN (1) CN114238729A (en)

Similar Documents

Publication Publication Date Title
US11544154B2 (en) Systems and methods for monitoring distributed database deployments
US20210258236A1 (en) Systems and methods for social graph data analytics to determine connectivity within a community
US9373004B2 (en) Methods and systems for deleting requested information
US9491182B2 (en) Methods and systems for secure internet access and services
US20190097807A1 (en) Network access control based on distributed ledger
US10044729B1 (en) Analyzing requests to an online service
CN109299144B (en) Data processing method, device and system and application server
CN109740089A (en) Collecting method, device, system, readable storage medium storing program for executing and electronic equipment
CN109495467B (en) Method and device for updating interception rule and computer readable storage medium
TW201944306A (en) Method and device for determining high-risk user
CN112101994A (en) Member rights management method, member rights management device, computer equipment and readable storage medium
CN109981702B (en) File storage method and system
CN107483381B (en) Monitoring method and device of associated account
CN111148018B (en) Method and device for identifying and positioning regional value based on communication data
WO2019232821A1 (en) Method for processing risk control data, device, computer apparatus, and storage medium
CN109542945B (en) Block chain data statistical analysis method, device and storage medium
US11394748B2 (en) Authentication method for anonymous account and server
CN114238729A (en) Geographical location information determination method, apparatus, device, medium, and program product
CN110471966B (en) Information data verification method, device, computer equipment and storage medium
CN111988195B (en) Response scheme determination method, device, equipment and medium for packet test
CN114257411A (en) Transaction flow control method, apparatus, device, medium and computer program product
CN114281260A (en) Storage method, device, equipment and medium applied to distributed storage system
KR100462829B1 (en) A method for determining validity of command and a system thereof
CN111915315B (en) Authentication mode recommendation method and device, electronic equipment and readable storage medium
US11003722B2 (en) Crowdsourcing content associations in a profile-hosting system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination