WO2014166284A1 - Ip地址所在区域的确定方法及装置 - Google Patents

Ip地址所在区域的确定方法及装置 Download PDF

Info

Publication number
WO2014166284A1
WO2014166284A1 PCT/CN2013/090336 CN2013090336W WO2014166284A1 WO 2014166284 A1 WO2014166284 A1 WO 2014166284A1 CN 2013090336 W CN2013090336 W CN 2013090336W WO 2014166284 A1 WO2014166284 A1 WO 2014166284A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
area
target
account
positioning terminal
Prior art date
Application number
PCT/CN2013/090336
Other languages
English (en)
French (fr)
Inventor
李玉煌
贺鹏
胡勇
陈川
聂晶
梁宇
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2014166284A1 publication Critical patent/WO2014166284A1/zh
Priority to US14/879,950 priority Critical patent/US10097420B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/0278Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves involving statistical or probabilistic considerations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/69Types of network addresses using geographic information, e.g. room number
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/222Monitoring or handling of messages using geographical location information, e.g. messages transmitted or received in proximity of a certain spot or area
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/58Message adaptation for wireless communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements

Definitions

  • An IP address is an address assigned to each host connected to the Internet on the Internet.
  • the user can communicate with other hosts on the Internet through the host and the IP address.
  • the application server can determine the city where the user is located according to the mapping relationship between the IP address and the administrative division, and then push the weather forecast of the city to the user according to the deployed push policy.
  • Some shopping malls have discounts, entertainment and other information.
  • the existing IP address area can only be accurate to the city where it is located, and cannot be further subdivided into the district/county level, so it cannot be flexibly refined to the area of corresponding precision according to the specific precision requirements.
  • the embodiment of the invention provides a method and a device for determining an area where an IP address is located, to solve the above problem. .
  • the embodiment of the invention provides a method for determining an area where an IP address is located, including:
  • the area where each positioning terminal is located is determined according to the determined position of each positioning terminal, and the area to which the target IP address belongs is obtained according to the area where each positioning terminal is located.
  • the embodiment of the present invention further provides an apparatus for determining an area where an IP address is located, including: an obtaining module, configured to acquire a set of accounts of an account that the positioning terminal logs in to the application server by using the target IP address;
  • a determining module configured to determine a location of a positioning terminal corresponding to each account in the account set; a processing module, configured to perform statistical calculation according to the determined location of each positioning terminal to determine an area where each positioning terminal is located, and according to each The area where a positioning terminal is located gets the area to which the target IP address belongs.
  • an embodiment of the present invention further provides a non-transitory computer readable storage medium having stored thereon computer executable instructions.
  • the computer runs the executable instructions, the following steps are performed: acquiring a target for using the positioning terminal
  • the IP address is used to log in to the account set of the account of the application server; determining the location of the positioning terminal corresponding to each account in the account set;
  • the statistic calculation is performed according to the determined location of each locating terminal, and the area where each locating terminal is located is determined, and the area to which the target IP address belongs is obtained according to the area where each locating terminal is located.
  • the embodiment of the present invention can determine the area to which the IP address belongs according to the user account that uses an IP address and the location of the positioning terminal used for the login, and can obtain the area to which the IP address belongs according to the accuracy of the user, which is convenient for subsequent When an application such as a message push is executed, the information of the area in which the user is located is more accurately pushed according to the IP address.
  • FIG. 1 is a schematic flowchart of a method for determining an area where an IP address is located according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a method for determining an area where an IP address is located according to an embodiment of the present invention
  • FIG. 4 is a schematic flowchart of another method for determining an area where a target IP address is located according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of an apparatus for determining an area where an IP address is located according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of another apparatus for determining an area where an IP address is located according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of one of the specific structures of the processing module of FIG. 6.
  • FIG. 1 is a schematic flowchart of a method for determining an area where an IP address is located according to an embodiment of the present invention.
  • the method in the embodiment of the present invention may be applied to a server in an area where an IP address is located, so as to determine more.
  • the method includes steps S101 to S103.
  • S101 Obtain an account set of an account that the positioning terminal logs in to the application server by using the target IP address.
  • the target IP address is an IP address of any area that needs to be determined. Since under normal circumstances, only one user terminal can be assigned the target IP address, it is necessary to acquire all user terminals that have used the target IP address within a certain time range, and determine according to the location of the user terminals. The specific area to which the target IP address belongs.
  • an account that has logged in to the application server using the target IP address may be extracted from one or more application servers to form an account set.
  • the user enters an account in the personal computer to log in to an application server such as an instant messaging server or a microblog server, and the corresponding application server can record the user account registered and the IP address used by the personal computer. Therefore, in an application server such as an instant messaging application server or a microblog application server, an account of a corresponding user in a certain time range can be acquired based on the target IP address, and an account set is formed.
  • the account set may include: all accounts that have used the target IP address; or an account that uses the target IP address and is a multi-login, that is, the process of logging in to the application server using the target IP address.
  • the other login terminals log in to the account of the application server.
  • multi-login can be generally implemented, that is, an account can be simultaneously logged in on a personal computer, a smart handheld terminal (a smart phone, a tablet, etc.), the S101 It is possible to obtain only a set of accounts that have used the target IP address and are an account for multi-login.
  • S102 Determine a location of a positioning terminal corresponding to each account in the account set.
  • the positioning terminal may be a terminal that can locate its own location, such as a smart phone or a tablet computer.
  • the application server can obtain the location of the positioning terminal from another server for positioning the positioning terminal, or trigger the positioning module such as GPS in the positioning terminal to acquire the user. Location and upload.
  • the application server can record the IP address, the account number, and the location of the corresponding positioning terminal, so as to find the account based on the IP and obtain the location of the corresponding positioning terminal.
  • the location of the positioning terminal can be one or more latitude and longitude coordinates, coordinate trajectory, etc. information.
  • S103 Perform statistical calculation according to the determined location of each positioning terminal, determine an area where each positioning terminal is located, and obtain an area to which the target IP address belongs according to an area where each positioning terminal is located.
  • the S103 may include: First, when calculating an account to perform multi-login through a positioning terminal such as a personal computer and a mobile terminal, the probability that the personal computer and the mobile terminal are in the same area at the same time, wherein the Bayes rule can be used to calculate the personal computer and the mobile The probability that the terminal is in the same area at the same time. Then, according to the probability value, the area where the target IP address is located when each account is logged in, the frequency of occurrence of each area of the target IP address is counted, and the area corresponding to the maximum frequency of occurrence is used as the target IP address. region.
  • the area where the positioning terminal is located can be flexibly determined, and according to the location of the positioning terminal and the electronic map database, the city level, district level, and even the street level area where the location is located can be determined. Meet the accuracy requirements.
  • the location of the login terminal corresponding to each account in the account set to log in to the application server by using the target IP address is: the location of the personal computer using the target IP address.
  • the corresponding application server can trigger the location of the corresponding personal computer. For example, after the account is logged in, the application server obtains the location of the personal computer, and then determines the area corresponding to the location with the most occurrences as the target IP according to the number of occurrences of the location of the personal computer corresponding to each account in the account set in S103. The area where the address is located.
  • the district-level or even street-level administrative area can be directly used as the area where the target IP address is located; and if it is the latitude and longitude coordinates, coordinate trajectory, First, the latitude and longitude coordinates, the coordinate trajectory and the electronic map database are combined to obtain the district-level and even the street-level administrative area, and then the district-level and even the street-level administrative area are used as the area where the target IP address is located, which can be based on the user's Accuracy requirements, if the user needs regional accuracy at the district and county level, then the district-level administrative area where the latitude and longitude coordinates and the coordinate trajectory are located can be determined according to the electronic map database, and if the street level is required, the latitude and longitude coordinates can be determined according to the electronic map database, The street-level administrative area where the coordinate track is located.
  • the area where the target IP address is located may also be recorded or updated, so as to perform other applications such as accurate message pushing.
  • the embodiment of the present invention can determine the area to which the IP address belongs according to the user account that uses an IP address and the location of the positioning terminal used for the login, and the location of the positioning terminal can correspond to a certain city level, county level Or the area of the street level, so the area to which the IP address belongs can be obtained according to the accuracy of the user, and the accuracy requirement of the IP address location can be met, so that it is more convenient to push the area according to the IP address for the user in the subsequent execution of the message push and the like.
  • Information can be used to determine the area to which the IP address belongs according to the user account that uses an IP address and the location of the positioning terminal used for the login, and the location of the positioning terminal can correspond to a certain city level, county level Or the area of the street level, so the area to which the IP address belongs can be obtained according to the accuracy of the user, and the accuracy requirement of the IP address location can be met, so that it is more convenient to push the area according to the IP address for the user in the subsequent execution of the message push and the like.
  • FIG. 2 is a schematic flowchart of a method for determining an area where an IP address is located in the embodiment of the present invention.
  • the method in the embodiment of the present invention may be applied to a server that records an area where an IP address is located, so as to be able to If necessary, a more precise IP address or a region to which the corresponding IP address segment belongs is determined to perform other applications, and the method includes steps S201 to 206.
  • S201 Obtain a set of accounts of the account that the locating terminal uses to log in to the application server by using the target IP address.
  • S202 Determine a location of a positioning terminal corresponding to each account in the account set.
  • S203 Perform statistical calculation according to the determined location of each positioning terminal, determine an area where each positioning terminal is located, and obtain an area to which the target IP address belongs according to an area where each positioning terminal is located.
  • S204 Perform a modulo calculation on the target IP address according to a preset modulus value, to obtain a target IP address segment. For example, a modulo 256 calculation can be performed on the target IP address to obtain a target IP address segment corresponding to the target IP address, and therefore, there are 256 IP addresses in the target IP address segment.
  • S205 Using each IP address in the target IP address segment as a new target IP address, obtaining an area where each IP address in the target IP address segment is located.
  • each IP address in the target IP address segment is used as the new target IP address, and the above S201 to S203 are re-executed to obtain the area where each IP address in the target IP address segment is located. That is, in the embodiment of the present invention, the target IP address segment can obtain up to 256 regions.
  • S206 Determine, according to an area where each IP address in the target IP address segment is located, an area to which the target IP address segment belongs.
  • the area where the target IP address segment is located may be roughly obtained according to the frequency of occurrence of the area corresponding to each IP address in the target IP address segment.
  • the user proportion pou and the IP address ratio poi covered in each area may be calculated according to the area where each IP address in the target IP address segment is located, thereby determining the area in which the target IP address segment is located.
  • the area information with the highest degree of aggregation is the final area of the target IP address segment.
  • each of the IP addresses is used as the target IP address.
  • the final geographic information of the address segment is the lowest degree of polymerization in all regions.
  • the method further includes: obtaining the area and the target IP address segment where the target IP address is located according to the statistics The area where the IP address is updated to facilitate determining the location of the IP address based on the updated IP address pool.
  • servers such as message push The area where the new destination IP address is located and the area where the target IP address segment is located to facilitate a better message push service.
  • the embodiment of the present invention can determine the area to which the IP address belongs according to the user account that uses an IP address and the location of the positioning terminal used for the login, and can also obtain the area to which the IP address segment corresponding to the IP address belongs. Since the location of the positioning terminal can correspond to a certain city, district, county or street level, the area to which the IP address belongs can be obtained according to the accuracy of the user, and the accuracy requirement of the IP address positioning is satisfied, so that the subsequent message push is facilitated. When the application is more accurate, the user is pushed the information of the area in which it is based on the IP address.
  • FIG. 3 is a schematic flowchart of a method for determining an area where a target IP address is located according to an embodiment of the present invention; the method in the embodiment of the present invention may correspond to S103 or FIG. 2 in the foregoing embodiment corresponding to FIG. S203 in the corresponding embodiment.
  • the login terminal registered with the user account is only a personal computer for explanation.
  • the method of the embodiment of the present invention specifically includes steps S301 to S303.
  • S301 Determine, according to the location of the positioning terminal and the electronic map database corresponding to each account in the account set, an area where the positioning terminal corresponding to each account in the account set is located;
  • the location of the latitude and longitude coordinates, the coordinate track, and the like of the personal computer are determined, and the district-level administrative area or the street administrative area where the login terminal corresponding to each account is located is obtained.
  • S302 Determine an area where the target IP address is located according to an area where the positioning terminal corresponding to each account in the determined account set is located;
  • S303 Count the frequency of occurrence of the target IP address in each area, and use an area corresponding to the maximum frequency of the frequency as the area where the target IP address is located.
  • the determined target IP address may have two or more areas. region. However, for most personal computers, it is generally not mobile. Therefore, by determining the frequency of occurrence of each area of the target IP address, the area with the highest frequency appears as the area where the target IP address is located.
  • the frequency of occurrence of each area of the target IP address is the number or frequency of occurrences of each area of the target IP address.
  • the embodiment of the present invention can determine the area to which a more accurate IP address belongs according to the user account that has used an IP address and the location of the personal computer used for the login.
  • FIG. 4 is a schematic flowchart of another method for determining an area where a target IP address is located according to an embodiment of the present invention; the method in the embodiment of the present invention may correspond to the S103 or the figure in the foregoing embodiment corresponding to FIG. 2 in the corresponding embodiment, S203.
  • the login terminal that is logged in by the user account includes a positioning terminal such as a mobile terminal at the time of multi-point registration, and a personal computer as an example.
  • the area where the target IP address is located is obtained according to a location area where the positioning terminal is located, such as a mobile terminal, and the method includes steps S401 to S404.
  • S401 Determine an area where each positioning terminal is located according to the determined location of each positioning terminal and the electronic map database.
  • the location of the latitude and longitude coordinates, the coordinate trajectory, and the like of the mobile terminal is determined, and the municipal level, the district-level administrative area, or the street administrative area where the positioning terminal corresponding to each account is located is obtained, for example, when the account set has When there are 100 accounts, 100 locations can be obtained in the S401.
  • S402 Obtain a probability that the terminal that uses the target IP address in the account set is in the area where the corresponding positioning terminal is located.
  • the area where the mobile terminal is located may not be the area where the personal computer to which the target IP address is assigned is located.
  • the same rate of the same area of the terminal in which the target IP address is used for each account in the account set and the area where the mobile terminal is located may be calculated.
  • the larger the phase rate value the greater the probability that the personal computer to which the target IP address is assigned is the same as the location of the mobile terminal, and the location of the mobile terminal corresponding to the maximum probability can be assigned as the target IP address.
  • the location of the personal computer thereby determining the area in which the target IP address is located.
  • the calculating manner of the S402 may include: determining a duration of the positioning terminal corresponding to each account in the target area; obtaining a duration for each account to log in to the application server through the corresponding positioning terminal, and logging in to each account using the target IP address.
  • the duration of the application server; the duration of the target terminal corresponding to each account, the duration of each account login to the application server through the corresponding location terminal, and the login of each account to the application server using the target IP address The duration, based on the Bayesian rule, calculates the probability that the terminal using the target IP address in the account set is in the area where the corresponding positioning terminal is located.
  • Bayesian formula is as follows:
  • P ( AIB ) P ( BIA ) * P ( A ) / P ( B );
  • A, B refers to the event, AIB refers to the probability that A occurs again in the case where B occurs; BIA has the opposite meaning; in the Bayesian model of the embodiment of the present invention, B refers to the obtained positioning terminal at each time according to the obtained Position, it is determined that the user U is in the area L for a certain period of time T; A means that the personal computer of the user U is in the area L for a certain period of time T1, where T1 contains T.
  • the area obtained according to the location may include multiple.
  • the probability that the personal computer, that is, the IP address is also in the area L, and then the probability value is the largest.
  • the area acts as a matching area for the personal computer, ie the IP address.
  • the method for obtaining the online duration of the account that the user logs in to the personal computer can be: The user's account is obtained from the login log in the application server after logging in through the personal computer; the duration of the user appearing in the area L cannot be directly obtained, and the indirect calculation is required. It can be seen from the above assumptions: T1 contains T.
  • the account in T1 is always in the login state in the personal computer, it can be known that the user in T1 is in the area L, and the length of the positioning terminal appearing in the area L is obtained by the indirect association method. This duration is estimated by the estimated time, which is usually less than the actual length of the user in the region L.
  • P (AIB) 1.67*P (A) /P (B), through Bayesian rule, It can be calculated that B: When the positioning terminal appears in the area L, A: The probability that the personal computer, that is, the IP address, appears in the area L again, and according to the calculated probability value, the corresponding area L is determined, thereby obtaining a The personal computer is the matching relationship between the IP address and the area L.
  • the result of P(AIB) is confidence, that is, the calculated value of P(AIB) is less than a certain value, for example, the location corresponding to the IP address corresponding to 20%, and will not be the target IP when logging in as the account of the user. The location corresponding to the address.
  • S403 Determine, according to the probability, each initial area where the target IP address is located when each account is logged in.
  • the domain, where the initial area is the area corresponding to the location of the location terminal when the calculated probability value is the largest for each account.
  • S404 Count the frequency of occurrence of each initial area of the target IP address, and use an initial area corresponding to the highest frequency value as the area to which the target IP address belongs.
  • the positioning terminal and the personal computer using the target IP address that are not in the same area are removed from S402 by the S402, and 95 of them are obtained.
  • the location corresponding to the account is the area.
  • the distribution of the number of times the target IP address is determined is as shown in Table 1 below:
  • the area where the target IP address is located can be basically determined to be Nanshan District, Shenzhen City, Guangdong province.
  • the embodiment of the present invention can determine the area to which a more accurate IP address belongs according to the user account that has used an IP address and the location of the positioning terminal used for the login.
  • FIG. 5 it is a schematic structural diagram of a device for determining an area where an IP address is located in the embodiment of the present invention.
  • the device in the embodiment of the present invention may be disposed in a server for recording an area where an IP address is located, so as to be able to If necessary, it is determined that a more precise region of an IP address belongs to execute other applications to execute other applications, and the device includes an obtaining module 1, a determining module 2, and a processing module 3.
  • the obtaining module 1 is configured to obtain a set of accounts for the account that the positioning terminal uses to log in to the application server by using the target IP address.
  • the determining module 2 is configured to determine a location of the positioning terminal corresponding to each account in the account set.
  • the processing module 3 is configured to perform statistical calculation according to the determined location of each positioning terminal, determine an area where each positioning terminal is located, and obtain the target according to the area where each positioning terminal is located.
  • the area to which the IP address belongs is the area to which the IP address belongs.
  • the target IP address is an IP address of any area that needs to be determined. Since only one user terminal is assigned the target IP address under normal circumstances, the acquisition module 1 needs to acquire all user terminals that have used the target IP address within a certain time range, according to these users. The location of the terminal to determine the specific area to which the target IP address belongs.
  • the obtaining module 1 may extract an account that is logged into the application server using the target IP address from one or more application servers, and constitute an account set.
  • the user enters an account in the personal computer and logs in to an application server such as an instant messaging server or a microblog server, and the corresponding application server can record the user account registered and the IP address used by the personal computer. Therefore, in an application server such as an instant messaging application server or a microblog application server, an account of a corresponding user in a certain time range can be acquired based on the target IP address to form an account set.
  • the account set may include: all accounts that have used the target IP address; or: an account that has used the target IP address and is multi-login, that is, the target IP address is used to log in to the application server.
  • other login terminals are used to log in to the application server account.
  • multi-login can be generally implemented, that is, an account can be used in a personal computer or a smart handheld terminal (smartphone, tablet, etc.).
  • the terminal module is simultaneously logged in. Therefore, the obtaining module 1 can obtain only the account set composed of the account number that uses the target IP address and is multi-login.
  • the positioning terminal may be a terminal that can locate its own location, such as a smart phone or a tablet computer.
  • the application server can obtain the location of the positioning terminal from another server for positioning the positioning terminal, or trigger the positioning module such as GPS in the positioning terminal to acquire the user. Location and upload.
  • the application server can record the IP address, the account number, and the location of the corresponding positioning terminal, so as to find the account based on the IP and obtain the location of the corresponding positioning terminal.
  • the location of the positioning terminal can be one or more latitude and longitude coordinates, coordinate trajectory, etc. information.
  • the processing module 3 can be used to: firstly, calculate the probability that the personal computer and the mobile terminal are in the same area at the same time when the account is multi-pointed by the positioning terminal such as the personal computer and the mobile terminal, wherein the Bayes rule can be used to calculate the individual The probability that the computer and the mobile terminal are in the same area at the same time. Then, according to the probability value, the area where the target IP address is located when each account is logged in, the frequency of occurrence of each area of the target IP address is counted, and the area corresponding to the maximum frequency of occurrence is used as the target IP address. region.
  • the area where the positioning terminal is located can be flexibly determined, and according to the location of the positioning terminal and the electronic map database, the city level, district level, and even the street level area where the location is located can be determined. Meet the accuracy requirements.
  • the processing module 3 may also be recorded or updated, so as to perform other applications such as accurate message pushing.
  • the embodiment of the present invention can determine the area to which the IP address belongs according to the user account that uses an IP address and the location of the positioning terminal used for the login, and the location of the positioning terminal can correspond to a certain city level, county level Or the area of the street level, so the area to which the IP address belongs can be obtained according to the accuracy of the user, and the accuracy requirement of the IP address location can be met, so that it is more convenient to push the area according to the IP address for the user in the subsequent execution of the message push and the like.
  • Information can be used to determine the area to which the IP address belongs according to the user account that uses an IP address and the location of the positioning terminal used for the login, and the location of the positioning terminal can correspond to a certain city level, county level Or the area of the street level, so the area to which the IP address belongs can be obtained according to the accuracy of the user, and the accuracy requirement of the IP address location can be met, so that it is more convenient to push the area according to the IP address for the user in the subsequent execution of the message push and the like.
  • FIG. 6 is a schematic structural diagram of another apparatus for determining an area where an IP address is located in the embodiment of the present invention.
  • the apparatus of the embodiment of the present invention may be disposed in a server for recording an area where an IP address is located.
  • the device includes the obtaining module 1 and the determining module 2 in the corresponding embodiment of FIG. 5, in order to be able to determine a more precise certain IP address when needed or to execute other applications for the area to which the IP address segment belongs.
  • the processing module 3 further, the apparatus of the embodiment of the present invention may further include an address segment determining module 4, a notification module 5, and an area determining module.
  • the address segment determining module 4 is configured to perform modulo calculation on the target IP address according to a preset modulus value to obtain a target IP address segment.
  • the notification module 5 is configured to notify each of the IP addresses in the target IP address segment as the new target IP address to the acquiring module 1 to obtain an area where each IP address in the target IP address segment is located;
  • the obtaining module 1 is configured to facilitate the obtaining module 1 and the determining module 2 Module 3 obtains the area in which each IP address in the target IP address segment is located.
  • the area determining module 6 is configured to determine an area to which the target IP address segment belongs according to an area where each IP address in the target IP address segment is located.
  • the address segment determining module 4 may perform a modulo 256 calculation on the target IP address to obtain a target IP address segment corresponding to the target IP address, and therefore, there are 256 IP addresses in the target IP address segment.
  • the region determining module 6 may roughly obtain the region where the target IP address segment is located according to the frequency of occurrence of the region corresponding to each IP address in the target IP address segment.
  • the area determining module 6 may further calculate a proportion of users pou and an IP address ratio poi covered in each area according to an area in which each IP address in the target IP address segment is located, thereby determining an area in which the target IP address segment is located.
  • the area information with the highest degree of aggregation is the final area of the target IP address segment.
  • the poi, pou, and degree of polymerization may be calculated according to the calculation method in the embodiment corresponding to FIG. 2 above.
  • the processing module 3 may specifically include a first area determining unit 31, a calculating unit 32, a second area determining unit 33, and a processing unit 34.
  • the first area determining unit 31 is configured to determine an area where each positioning terminal is located according to the determined location of each positioning terminal and the electronic map database.
  • the calculating unit 32 is configured to acquire the target when each account in the account set is logged in
  • the second area determining unit 33 is configured to determine, according to the probability, each initial area where the target IP address is located when each account is logged in, where the initial area is for each account, and the calculated probability value is the largest when the location of the positioning terminal is corresponding. region.
  • the processing unit 34 is configured to count the frequency of occurrence of each initial region of the target IP address, and use an initial region corresponding to the maximum frequency of the appearance as the region to which the target IP address belongs.
  • the first area determining unit 31 determines the location of the latitude and longitude coordinates, the coordinate track, and the like of the positioning terminal such as the mobile terminal according to the electronic map database, and obtains the login terminal corresponding to each account. District-level administrative areas or street administrative areas.
  • the calculating unit 32 may calculate, according to the Bayes rule, the probability that the end of the terminal using the target IP address in the account set is the same as the area where the mobile terminal is located.
  • the greater the probability value the greater the probability that the personal computer to which the target IP address is assigned is the same as the location of the mobile terminal, and the fourth region determining unit 36 may use the location of the mobile terminal corresponding to the maximum probability.
  • the calculating unit 32 may specifically include:
  • the time length acquisition subunit is configured to determine the duration of the location terminal corresponding to each account in the target area, and is used to obtain the length of time each account is logged into the application server through the corresponding location terminal, and each account is logged in using the target IP address.
  • the probability calculation sub-unit is configured to log in to the application server according to the duration of the target area corresponding to each account, the duration of each account to log in to the application server through the corresponding positioning terminal, and each account using the target IP address.
  • the duration is calculated based on the Bayesian rule, and the probability that the terminal using the target IP address when the account is registered in the account set is in the area where the corresponding positioning terminal is located is calculated.
  • the apparatus of the embodiment of the present invention may further include:
  • the updating module 7 is configured to update the IP address pool according to the statistically obtained area of the target IP address and the area of the target IP address segment, so as to determine the location of the IP address according to the updated IP address pool.
  • the embodiment of the present invention can determine the area to which the IP address belongs according to the user account that uses an IP address and the location of the positioning terminal used for the login, and can also obtain the area to which the IP address segment corresponding to the IP address belongs. Since the location of the positioning terminal can correspond to a certain city, district, county or street level, the area to which the IP address belongs can be obtained according to the accuracy of the user. The accuracy requirement of the IP address location is met, and the information of the area in which the user is located is more accurately pushed according to the IP address when performing the application such as message push.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明实施例公开了一种IP地址所在区域的确定方法及装置,其中,所述方法包括:获取定位终端使用目标IP地址登录到应用服务器的账号的账号集合;确定所述账号集合中每一个账号对应的定位终端的位置;根据确定的每一个定位终端的位置进行统计计算确定每一个定位终端所在的区域,并根据每一个定位终端所在的区域得到所述目标 IP地址的所属区域。采用本发明,可以根据需要确定精度较高的IP地址所属的区域,方便后续在执行消息推送等应用时更为精确地根据IP地址为用户推送其所在区域的信息。

Description

IP地址所在区域的确定方法及装置 本申请要求于 2013 年 4 月 10 日提交中国专利局、 申请号为 201310122524.3发明名称为"一种 IP地址所在区域的确定方法及装置"的中国 专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域 本发明涉及计算机技术领域, 尤其涉及一种 IP地址所在区域的确定方法 及装置。 背景技术
IP地址是指给每个连接在互联网 Internet上的主机分配的一个地址, 用户 通过主机以及 IP地址可以与互联网中的其他主机通信。在分配了 IP地址的主 机登录到应用服务器后, 应用服务器还可以根据 IP地址与行政区划的映射关 系, 确定用户所在的城市, 然后根据部署的推送策略, 向用户推送该城市的天 气预报、 以及一些商场打折、 娱乐游玩信息等消息内容。
现有的 IP地址所在区域只能精确到所在的城市,并不能够更进一步地细分 到区 /县一级, 也就无法灵活地根据具体精度需求细化到相应精度的区域。 发明内容
本发明实施例提供一种 IP地址所在区域的确定方法和装置, 以解决以上 问题。。
本发明实施例提供了一种 IP地址所在区域的确定方法, 包括:
获取定位终端使用目标 IP地址登录到应用服务器的账号的账号集合; 确定所述账号集合中每一个账号对应的定位终端的位置;
根据确定的每一个定位终端的位置进行统计计算确定每一个定位终端所 在的区域, 并根据每一个定位终端所在的区域得到所述目标 IP地址的所属区 域。 相应地, 本发明实施例还提供了一种 IP地址所在区域的确定装置, 包括: 获取模块, 用于获取定位终端使用目标 IP地址登录到应用服务器的账号 的账号集合;
确定模块, 用于确定所述账号集合中每一个账号对应的定位终端的位置; 处理模块,用于根据确定的每一个定位终端的位置进行统计计算确定每一 个定位终端所在的区域, 并根据每一个定位终端所在的区域得到所述目标 IP 地址的所属区域。
另夕卜, 本发明实施例还提供了一种非瞬时性的计算机可读存储介质, 其上 存储有计算机可执行指令, 当计算机运行这些可执行指令时, 执行如下步骤: 获取定位终端使用目标 IP地址登录到应用服务器的账号的账号集合; 确定所述账号集合中每一个账号对应的定位终端的位置;
根据确定的每一个定位终端的位置进行统计计算,确定每一个定位终端所 在的区域, 并根据每一个定位终端所在的区域得到所述目标 IP地址的所属区 域。
本发明实施例能够根据使用过某一 IP地址的用户账号及其登录所使用的 定位终端的位置, 来确定 IP地址所属的区域, 可以根据用户的精度需要得到 IP地址所属的区域, 方便后续在执行消息推送等应用时更为精确地根据 IP地 址为用户推送其所在区域的信息。 附图说明
图 1是本发明实施例的一种 IP地址所在区域的确定方法的流程示意图; 图 2是本发明实施例的另一种 IP地址所在区域的确定方法的流程示意图; 图 3是本发明实施例的其中一种确定目标 IP地址所在区域的方法的流程 示意图;
图 4是本发明实施例的其中另一种确定目标 IP地址所在区域的方法的流 程示意图;
图 5是本发明实施例的一种 IP地址所在区域的确定装置的结构示意图; 图 6是本发明实施例的另一种 IP地址所在区域的确定装置的结构示意图; 图 7是图 6中的处理模块的其中一种具体结构示意图。 具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
请参见图 1 , 是本发明实施例所提供的一种 IP地址所在区域的确定方法 的流程示意图, 本发明实施例的所述方法可以应用于记录 IP地址所在区域的 服务器中, 以便于确定更为精确的某一 IP地址所属区域以执行其他应用, 所 述方法包括步骤 S101至步骤 S103。
S101 : 获取定位终端使用目标 IP地址登录到应用服务器的账号的账号集 合。
所述的目标 IP地址为任意一个需要被确定所属区域的 IP地址。 由于在正 常情况下, 只能有一个用户终端被分配所述目标 IP地址, 因此需要获取在一 定时间范围内的使用过所述目标 IP地址的所有用户终端, 根据这些用户终端 的位置, 来确定该目标 IP地址所属的具体区域。
本实施例中, 可以从一个或者多个应用服务器中提取使用过目标 IP地址 登录到应用服务器的账号, 构成账号集合。 基于现有的互联网通讯方式, 用户 在个人电脑中录入账号登录到即时通讯服务器、 微博服务器等应用服务器中, 相应的应用服务器能够记录此次登录的用户账号及个人电脑所使用的 IP 地 址。 因此, 在即时通讯应用服务器、 微博应用服务器等应用服务器中, 基于所 述目标 IP地址能够获取一定时间范围内对应的用户的账号, 构成账号集合。
其中, 所述账号集合可以包括: 所有的使用过所述目标 IP地址的账号; 或者包括使用过所述目标 IP地址且为多点登录的账号, 即使用过目标 IP地址 登录到应用服务器的过程中又通过其他定位终端登录到应用服务器的各账号。 在现有的各类应用服务器中, 一般可以实现多点登录, 即一个账号可以在个人 电脑、 智能手持终端 (智能手机、 平板电脑等终端)上同时登录, 所述 S101 可以仅获取使用过所述目标 IP地址且为多点登录的账号组成的账号集合。 S102: 确定所述账号集合中每一个账号对应的定位终端的位置。
本实施例中, 所述的定位终端可以为智能手机、平板电脑等能够对自身位 置进行定位的终端。用户账号多点登录应用服务器后, 该应用服务器能够到其 他的用于对所述定位终端进行定位的服务器中获取定位终端的位置,也可以触 发所述定位终端中的 GPS等定位模块获取其自身的位置并上传。 应用服务器 便可以记录 IP地址、 账号以及相应定位终端的位置, 以便于基于 IP找到账号 以及得到对应的定位终端的位置,定位终端的位置可以为一个或者多个经纬度 坐标、 坐标轨迹等表示位置的信息。
S103:根据确定的每一个定位终端的位置进行统计计算,确定每一个定位 终端所在的区域, 并根据每一个定位终端所在的区域得到所述目标 IP地址的 所属区域。
所述 S103可以包括: 首先, 计算账号通过个人电脑和移动终端等定位终 端进行多点登录时, 个人电脑和移动终端同时处于同一区域的概率, 其中可以 采用贝叶斯法则,计算个人电脑和移动终端同时处于同一区域的概率。 然后根 据概率值来确定每一个账号登录时所述目标 IP地址所在的区域, 统计所述目 标 IP地址的各区域的出现频数, 并将出现频数最大值对应的区域作为所述目 标 IP地址所在的区域。 此时, 可以根据对 IP地址所属区域的精度需求, 灵活 确定定位终端所在的区域, 具体根据定位终端的位置以及电子地图数据库, 确 定该位置所在的市级、 区县级、 甚至街道级区域以满足精度需求。
另外, 在所述 S102中, 所述账号集合中每一个账号在使用所述目标 IP地 址登录到应用服务器的过程中所对应的登录终端的位置是: 使用所述目标 IP 地址的个人电脑的位置, 即: 在每一个账号登录后, 相应的应用服务器能够触 发获取相应个人电脑的位置。 例如, 账号登录后, 应用服务器获取该个人电脑 的位置, 然后在 S103中根据账号集合中每一个账号对应的个人电脑所在的位 置出现的数量, 将出现次数最多的位置对应的区域确定为目标 IP地址所在的 区域。如果位置为区县级甚至街道级行政区域, 可以将区县级甚至街道级行政 区域直接作为该目标 IP地址所在的区域; 而如果为经纬度坐标、 坐标轨迹, 则先将经纬度坐标、 坐标轨迹与电子地图数据库结合,得到区县级甚至街道级 行政区域, 然后再将区县级甚至街道级行政区域作为该目标 IP地址所在的区 域, 此时可以根据用户的精度需求, 如果用户需要区县级的区域精度, 那么可 以根据电子地图数据库确定经纬度坐标、 坐标轨迹所在的区县级行政区域, 而 如果需要街道级的, 那么可以根据电子地图数据库确定经纬度坐标、 坐标轨迹 所在的街道级行政区域。
在得到所述目标 IP地址所在的区域后, 还可以记录或者更新该目标 IP地 址所在的区域, 以便于后续执行其他的例如精确消息推送等应用。
本发明实施例能够根据使用过某一 IP地址的用户账号及其登录所使用的 定位终端的位置, 来确定 IP地址所属的区域, 由于定位终端的位置可以对应 于某个市级、 区县级或者街道级等区域, 因此可以根据用户的精度需要得到 IP 地址所属的区域, 满足 IP地址定位的精度需求, 方便后续在执行消息推送等 应用时更为精确地根据 IP地址为用户推送其所在区域的信息。
再请参见图 2, 是本发明实施例的另一种 IP地址所在区域的确定方法的 流程示意图, 本发明实施例的所述方法可以应用于记录 IP地址所在区域的服 务器中, 以便于能够在需要时确定更为精确的某一 IP地址或者对应的 IP地址 段所属区域以执行其他应用, 所述方法包括步骤 S201至步骤 206。
S201: 获取定位终端使用目标 IP地址登录到应用服务器的账号的账号集 合。
S202: 确定所述账号集合中每一个账号对应的定位终端的位置。
S203:根据确定的每一个定位终端的位置进行统计计算,确定每一个定位 终端所在的区域, 并根据每一个定位终端所在的区域得到所述目标 IP地址的 所属区域。
上述 S201至 S203的具体实现方式可参照上述第一实施例的 S101至 S103, 在此不赘述。
S204: 对所述目标 IP地址按照预设的模值执行求模计算, 得到目标 IP地 址段。 例如, 可以对目标 IP地址执行模 256计算, 得到所述目标 IP地址对应 的目标 IP地址段, 因此, 在目标 IP地址段中有 256个 IP地址。 S205: 将所述目标 IP地址段内的每一个 IP地址作为新的目标 IP地址, 得到目标 IP地址段中每一个 IP地址所在的区域。
即依次将目标 IP地址段内的每一个 IP地址作为新的目标 IP地址, 重新 执行上述的 S201至 S203, 得到所述目标 IP地址段内的每一个 IP地址所在的 区域。 即在本发明实施例中, 所述目标 IP地址段可以得到最多 256个区域。
S206: 根据目标 IP地址段中每一个 IP地址所在的区域, 确定所述目标 IP 地址段的所属区域。
在本实施例中, 可以根据目标 IP地址段中每一个 IP地址对应的区域出现 的频率, 来粗略得到所述目标 IP地址段所在的区域。
或者, 还可以根据目标 IP地址段中每一个 IP地址所在的区域计算各个区 域中覆盖的用户比例 pou和 IP地址比例 poi, 进而确定所述目标 IP地址段所 在的区域。 其中的 poi^†应区域覆盖的 IP地址数 /256, 其中的 pou=对应区域 覆盖的 IP地址登录账号数 /该目标 IP地址段总登录账号数; 然后计算目标 IP 地址段的聚合度= 0 + 011)/2, 取聚合度最高的区域信息为该目标 IP地址段的 最终所在区域。
例如: 对于 121.14.96.*的目标 IP地址段, 其中的每个 IP地址作为目标 IP 地址执行上述的 S201至 S203步骤后,都会根据需要得到一个对应于区县级甚 至街道级的区域, 那么总共有 256个区域, 假设其中 200个是深圳市南山区, 则深圳市南山区的 poi=200/256; 南山区覆盖的 200个 IP地址下每天有 1000 个用户登录, 即每天先后有 1000个使用 121.14.96.*的目标 IP地址段中的 IP 地址的账号登录到应用服务器, 而 121.14.96.*上每天登录的用户总数为 1200, 则可以得到南山区的 pou=1000/1200。 综上, 南山区聚合度 = ( poi+pou ) /2= ( 200/256+1000/1200 ) /2=0.85 , 是所有区域中聚合度最高的, 那么广东省深 圳市南山区就是该目标 IP地址段的最终地理信息。
进一步的, 在得到上述的所述目标 IP地址所在的区域和目标 IP地址段所 在的区域更新 IP地址库后, 还可以包括: 根据统计得到的所述目标 IP地址所 在的区域和目标 IP地址段所在的区域更新 IP地址库, 以便于根据所述更新后 的 IP地址库确定 IP地址所在的位置。 更新后, 可以为消息推送等服务器提供 新的目标 IP地址所在的区域和目标 IP地址段所在的区域, 以方便进行更好的 消息推送服务。
本发明实施例能够根据使用过某一 IP地址的用户账号及其登录所使用的 定位终端的位置, 来确定 IP地址所属的区域, 并且还可以得到该 IP地址对应 的 IP地址段所属的区域, 由于定位终端的位置可以对应于某个市级、 区县级 或者街道级等区域, 因此可以根据用户的精度需要得到 IP地址所属的区域, 满足 IP地址定位的精度需求, 方便后续在执行消息推送等应用时更为精确地 根据 IP地址为用户推送其所在区域的信息。
请参见图 3, 是本发明实施例的其中一种确定目标 IP地址所在区域的方 法的流程示意图;本发明实施例的所述方法可对应于上述图 1对应的实施例中 的 S103或者图 2对应的实施例中的 S203。本发明实施例以用户账号登录的登 录终端仅为个人电脑为了进行说明。 本发明实施例的所述方法具体包括步骤 S301至步骤 S303。
S301 :根据所述账号集合中每一个账号所对应的定位终端的位置及电子地 图数据库, 确定账号集合中每一个账号所对应的定位终端所在的区域;
即根据电子地图数据库确定个人电脑的经纬度坐标、 坐标轨迹等所在位 置,得到每一个账号对应的登录终端所在的区县级行政区域或者街道行政区域 等。
S302:根据确定的账号集合中每一个账号所对应的定位终端所在的区域确 定所述目标 IP地址所在的区域;
S303: 统计所述目标 IP地址在各区域的出现频数, 并将出现频数最大值 对应的区域作为所述目标 IP地址所在的区域。
由于用户的个人电脑可能发生移动,例如采用笔记本或者在如车辆等移动 物体内时用户的个人电脑可能发生移动, 因此, 确定的所述目标 IP地址所在 的区域也可能有两个甚至更多的区域。但是, 对于大多数个人电脑来说一般是 不会移动的, 因此, 通过确定所述目标 IP地址的各区域的出现频数, 将出现 频数最大的区域作为所述目标 IP地址所在的区域。 其中所述目标 IP地址的各 区域的出现频数为所述目标 IP地址对于的各区域出现的次数或者频率。 本发明实施例能够根据使用过某一 IP地址的用户账号及其登录所使用的 个人电脑的位置, 可以确定较为精确的 IP地址所属的区域。
请参见图 4, 是本发明实施例的其中另一种确定目标 IP地址所在区域的 方法的流程示意图;本发明实施例的所述方法可对应于上述图 1对应的实施例 中的 S103或者图 2对应的实施例中的 S203。本发明实施例以用户账号登录的 登录终端包括多点登录时的移动终端等定位终端以及个人电脑为例进行说明。 本发明实施例的所述方法中确定目标 IP地址所在的区域是根据如移动终端等 定位终端所在的位置区域得到, 所述方法包括步骤 S401至步骤 S404。
S401 :根据确定的每一个定位终端的位置和电子地图数据库,确定每一个 定位终端所在的区域。
即根据电子地图数据库确定移动终端的经纬度坐标、坐标轨迹等所在的位 置,得到每一个账号对应的定位终端所在的市级、 区县级行政区域或者街道行 政区域等,例如, 当账号集合中有 100个账号时,则所述 S401中可以得到 100 个位置。
S402: 获取所述账号集合中每一个账号登录时使用所述目标 IP地址的终 端处于对应定位终端所在区域的概率。
由于移动终端可以移动, 因此, 移动终端所在的区域, 可能并不是分配了 所述目标 IP地址的个人电脑所在的区域。 此时, 可以基于贝叶斯法则, 计算 所述账号集合中每一个账号登录时使用所述目标 IP地址的终端所在区域与移 动终端所在区域相同的相无率。 相无率值越大, 说明分配了所述目标 IP地址的个 人电脑与所述移动终端的位置相同的概率越大,概率最大值对应的移动终端的 位置则可以作为分配了所述目标 IP地址的个人电脑的位置, 从而确定所述目 标 IP地址所在的区域。
所述 S402的计算方式可以包括: 确定每一个账号对应的定位终端在目标 区域的时长;获取每一个账号通过对应的定位终端登录到应用服务器的时长和 每一个账号使用所述目标 IP地址登录到应用服务器的时长; 根据每一个账号 对应的定位终端在目标区域的时长、每一个账号通过对应的定位终端登录到应 用服务器的时长、 以及每一个账号使用所述目标 IP地址登录到应用服务器的 时长,基于贝叶斯法则计算所述账号集合中每一个账号登录时使用所述目标 IP 地址的终端处于对应定位终端所在区域的概率。
具体的, 贝叶斯公式如下:
P ( AIB ) =P ( BIA ) *P ( A ) /P ( B );
A、 B是指事件, AIB是指 B发生的情况下, A又发生的概率; BIA意义 相反; 在本发明实施例的贝叶斯模型中, B是指根据得到的定位终端在各个时 间的位置, 确定用户 U在特定时间段 T处于区域 L; A是指用户 U的个人电 脑在特定时间段 T1内都在区域 L, 其中 T1包含 T。 其中, 根据位置得到的区 域可能包括多个,本发明实施例就是通过计算定位终端出现在其中的某一个区 域 L时, 个人电脑即 IP地址也在该区域 L的概率, 然后将概率值最大的区域 作为个人电脑即 IP地址的匹配区域。
由于 T1包含 T, 那么 P (BIA) =1, 所以 P ( AIB) =P (A) /P (B)。
只要求解 P (A)以及 P (B)即可, 通过定位终端的各个时间的位置的数 据, 可以得到 P (B) =用户出现在区域 L的时间 /用户轨迹总时长; P(A)=用户 出现在区域 L的时长 /用户个人电脑上登录账号的在线时长。 用户登录在个人 电脑的账号在线时长的获取方式可以为: 该用户的账号通过个人电脑登录后, 从应用服务器中的登录日志得到;用户出现在区域 L的时长不能直接得到,需 要通过间接计算, 由上面的假设可知: T1包含 T, 如果 T1内账号在个人电脑 中一直处于登录状态, 那么可以知道 T1内用户都在区域 L, 通过这种间接关 联方法得到定位终端出现在区域 L的时长,这个时长是通过估算得到,通常小 于用户实际在区域 L的时长, 这里采用了一个平衡系数 1.67, 那么: P (AIB) =1.67*P (A) /P (B), 通过贝叶斯法则, 即可计算得到 B: 定位终端出现在区 域 L的情况下, A: 个人电脑即 IP地址又出现在区域 L的概率, 根据计算得 到的概率值的大小, 确定出对应的区域 L, 从而得到一个个人电脑即 IP地址 与区域 L的匹配关系。其中的 P( AIB )的结果是置信度,即计算得到的 P( AIB ) 的值小于一定值例如 20%所对应的 IP地址对应的位置, 不会作为该用户的账 号登录时所述目标 IP地址所对应的位置。
S403: 根据概率确定每一个账号登录时所述目标 IP地址所在的各初始区 域, 其中初始区域为针对每一个账号, 计算得到的概率值最大时定位终端的位 置对应的区域。
S404: 统计所述目标 IP地址的各初始区域的出现频数, 并将出现频数最 大值对应的初始区域作为所述目标 IP地址的所属区域。
例如: 在上述的 100个账号对应的位置及区域后, 经过 S402去除掉其中 的定位终端和使用目标 IP地址的个人电脑不属于同一区域的 "广东省广州市 越秀区", 得到其中的 95个账号对应的位置即区域, 对于 95个账号对于的区 域中, 确定出所述目标 IP地址所在的 次数分布为下表 1所示:
Figure imgf000012_0001
Figure imgf000012_0002
由表 1可以确定, 目标 IP地址所在的区域基本可以确定为是广东省深圳 市南山区。
本发明实施例能够根据使用过某一 IP地址的用户账号及其登录所使用的 定位终端的位置, 可以确定较为精确的 IP地址所属的区域。
下面对本发明实施例的 IP地址所在区域的确定装置进行详细说明。
请参见图 5, 是本发明实施例的一种 IP地址所在区域的确定装置的结构 示意图, 本发明实施例的所述装置可以设置在用于记录 IP地址所在区域的服 务器中, 以便于能够在需要时确定更为精确的某一 IP地址所属区域执行其他 应用以执行其他应用, 所述装置包括获取模块 1、 确定模块 2、 处理模块 3。
获取模块 1 , 用于获取定位终端使用目标 IP地址登录到应用服务器的账 号的账号集合。
确定模块 2, 用于确定所述账号集合中每一个账号对应的定位终端的位 置。 处理模块 3, 用于根据确定的每一个定位终端的位置进行统计计算, 确定 每一个定位终端所在的区域,并根据每一个定位终端所在的区域得到所述目标
IP地址的所属区域。
所述的目标 IP地址为任意一个需要被确定所属区域的 IP地址。 由于在正 常情况下, 只能有一个用户终端被分配所述目标 IP地址, 因此, 所述获取模 块 1需要获取在一定时间范围内的使用过所述目标 IP地址的所有用户终端, 根据这些用户终端的位置, 来确定该目标 IP地址所属的具体区域。
本实施例中,所述获取模块 1可以从一个或者多个应用服务器中提取使用 过目标 IP地址登录到应用服务器的账号, 构成账号集合。 基于现有的互联网 通讯方式, 用户在个人电脑中录入账号登录到即时通讯服务器、微博服务器等 应用服务器中,相应的应用服务器能够记录此次登录的用户账号及个人电脑所 使用的 IP地址。 因此, 在即时通讯应用服务器、 微博应用服务器等应用服务 器中, 基于所述目标 IP地址能够获取一定时间范围内对应的用户的账号, 构 成账号集合。
其中, 所述账号集合可以包括: 所有的使用过所述目标 IP地址的账号; 或者: 包括使用过所述目标 IP地址且为多点登录的账号, 即使用过目标 IP地 址登录到应用服务器的过程中又通过其他定位终端登录到应用服务器的各账 号, 在现有的各类应用服务器中, 一般可以实现多点登录, 即一个账号可以在 个人电脑、 智能手持终端 (智能手机、 平板电脑等终端)上同时登录, 因此, 所述获取模块 1可以仅获取使用过所述目标 IP地址且为多点登录的账号组成 的账号集合。
本实施例中, 所述的定位终端可以为智能手机、平板电脑等能够对自身位 置进行定位的终端。用户账号多点登录应用服务器后, 该应用服务器能够到其 他的用于对所述定位终端进行定位的服务器中获取定位终端的位置,也可以触 发所述定位终端中的 GPS等定位模块获取其自身的位置并上传。 应用服务器 便可以记录 IP地址、 账号以及相应定位终端的位置, 以便于基于 IP找到账号 以及得到对应的定位终端的位置,定位终端的位置可以为一个或者多个经纬度 坐标、 坐标轨迹等表示位置的信息。 所述处理模块 3可以用于: 首先,计算账号通过个人电脑和移动终端等定 位终端进行多点登录时, 个人电脑和移动终端同时处于同一区域的概率, 其中 可以采用贝叶斯法则,计算个人电脑和移动终端同时处于同一区域的概率。 然 后根据概率值来确定每一个账号登录时所述目标 IP地址所在的区域, 统计所 述目标 IP地址的各区域的出现频数, 并将出现频数最大值对应的区域作为所 述目标 IP地址所在的区域。 此时, 可以根据对 IP地址所属区域的精度需求, 灵活确定定位终端所在的区域, 具体根据定位终端的位置以及电子地图数据 库, 确定该位置所在的市级、 区县级、 甚至街道级区域以满足精度需求。
最后, 在所述处理模块 3得到所述目标 IP地址所在的区域后, 还可以记 录或者更新该目标 IP地址所在的区域, 以便于后续执行其他的例如精确消息 推送等应用。
本发明实施例能够根据使用过某一 IP地址的用户账号及其登录所使用的 定位终端的位置, 来确定 IP地址所属的区域, 由于定位终端的位置可以对应 于某个市级、 区县级或者街道级等区域, 因此可以根据用户的精度需要得到 IP 地址所属的区域, 满足 IP地址定位的精度需求, 方便后续在执行消息推送等 应用时更为精确地根据 IP地址为用户推送其所在区域的信息。
进一步的, 再请参见图 6, 是本发明实施例的另一种 IP地址所在区域的 确定装置的结构示意图, 本发明实施例的所述装置可以设置在用于记录 IP地 址所在区域的服务器中, 以便于能够在需要时确定更为精确的某一 IP地址或 者对于 IP地址段所属区域执行其他应用以执行其他应用, 所述装置包括上述 图 5对应实施例中的获取模块 1、 确定模块 2以及处理模块 3, 进一步的, 本 发明实施例的所述装置还可以包括地址段确定模块 4、 通知模块 5和区域确定 模块。
地址段确定模块 4, 用于对所述目标 IP地址按照预设的模值执行求模计 算, 得到目标 IP地址段。
通知模块 5, 用于将所述目标 IP地址段内的每一个 IP地址作为新的目标 IP地址通知给所述获取模块 1 , 以得到目标 IP地址段中每一个 IP地址所在的 区域; 即通知所述获取模块 1 , 以便于所述获取模块 1以及确定模块 2、 处理 模块 3得到所述目标 IP地址段内每一个 IP地址所在的区域。
区域确定模块 6, 用于根据目标 IP地址段中每一个 IP地址所在的区域, 确定所述目标 IP地址段的所属区域。
所述地址段确定模块 4可以对目标 IP地址执行模 256计算, 得到所述目 标 IP地址对应的目标 IP地址段, 因此,在目标 IP地址段中有 256个 IP地址。
所述区域确定模块 6确定所述目标 IP地址段的过程中, 可以根据目标 IP 地址段中每一个 IP地址对应的区域出现的频率, 来粗略得到所述目标 IP地址 段所在的区域。
或者, 所述区域确定模块 6还可以根据目标 IP地址段中每一个 IP地址所 在的区域计算各个区域中覆盖的用户比例 pou和 IP地址比例 poi,进而确定所 述目标 IP地址段所在的区域。 其中的 poi^†应区域覆盖的 IP地址数 /256, 其 中的 pou=对应区域覆盖的 IP地址登录账号数 /该目标 IP地址段总登录账号数; 然后计算目标 IP地址段的聚合度= 0 + 011)/2, 取聚合度最高的区域信息为该 目标 IP地址段的最终所在区域。 其中的 poi、 pou以及聚合度可以根据上述图 2对应的实施例中的计算方式进行计算。
再请参见图 7, 所述处理模块 3具体可以包括第一区域确定单元 31、计算 单元 32、 第二区域确定单元 33和处理单元 34。
第一区域确定单元 31 , 用于根据确定的每一个定位终端的位置和电子地 图数据库, 确定每一个定位终端所在的区域。
计算单元 32, 用于获取所述账号集合中每一个账号登录时使用所述目标
IP地址的终端处于对应定位终端所在区域的概率。
第二区域确定单元 33 , 用于根据概率确定每一个账号登录时所述目标 IP 地址所在的各初始区域, 其中初始区域为针对每一个账号,计算得到的概率值 最大时定位终端的位置对应的区域。
处理单元 34, 用于统计所述目标 IP地址的各初始区域的出现频数, 并将 出现频数最大值对应的初始区域作为所述目标 IP地址的所属区域。
所述第一区域确定单元 31根据电子地图数据库确定移动终端等定位终端 的经纬度坐标、 坐标轨迹等所在的位置,得到每一个账号对应的登录终端所在 的区县级行政区域或者街道行政区域等。
由于移动终端可以移动, 因此, 移动终端所在的区域, 可能并不是分配了 所述目标 IP地址的个人电脑所在的区域。 此时, 所述计算单元 32可以基于贝 叶斯法则, 计算所述账号集合中每一个账号登录时使用所述目标 IP地址的终 端所在区域与移动终端所在区域相同的概率。概率值越大,说明分配了所述目 标 IP地址的个人电脑与所述移动终端的位置相同的概率越大, 所述第四区域 确定单元 36将概率最大值对应的移动终端的位置则可以作为分配了所述目标 IP地址的个人电脑的位置,从而由所述第二处理单元 33确定所述目标 IP地址 所在的区域。
进一步可选的, 上述计算单元 32具体可以包括:
时长获取子单元, 用于确定每一个账号对应的定位终端在目标区域的时 长,并用于获取每一个账号通过对应的定位终端登录到应用服务器的时长和每 一个账号使用所述目标 IP地址登录到应用服务器的时长;
概率计算子单元, 用于根据每一个账号对应的定位终端在目标区域的时 长、每一个账号通过对应的定位终端登录到应用服务器的时长、 以及每一个账 号使用所述目标 IP地址登录到应用服务器的时长, 基于贝叶斯法则计算所述 账号集合中每一个账号登录时使用所述目标 IP地址的终端处于对应定位终端 所在区域的概率。
所述计算单元 32具体的计算过程可以参见上述图 2对应实施例中 S402 中描述的计算方式, 在此不赘述。
再请参见图 6, 本发明实施例的所述装置还可以包括:
更新模块 7 , 用于根据统计得到的所述目标 IP地址的所属区域和目标 IP 地址段的所属区域更新 IP地址库,以便于根据所述更新后的 IP地址库确定 IP 地址所在的位置。
本发明实施例能够根据使用过某一 IP地址的用户账号及其登录所使用的 定位终端的位置, 来确定 IP地址所属的区域, 并且还可以得到该 IP地址对应 的 IP地址段所属的区域, 由于定位终端的位置可以对应于某个市级、 区县级 或者街道级等区域, 因此可以根据用户的精度需要得到 IP地址所属的区域, 满足 IP地址定位的精度需求, 方便后续在执行消息推送等应用时更为精确地 根据 IP地址为用户推送其所在区域的信息。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程, 是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算 机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。 其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory, ROM )或随机存储记忆体(Random Access Memory, RAM )等。
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之 权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。

Claims

权 利 要 求
1、 一种 IP地址所在区域的确定方法, 其特征在于, 包括:
获取定位终端使用目标 IP地址登录到应用服务器的账号的账号集合; 确定所述账号集合中每一个账号对应的定位终端的位置;
根据确定的每一个定位终端的位置进行统计计算,确定每一个定位终端所 在的区域, 并根据每一个定位终端所在的区域得到所述目标 IP地址的所属区 域。
2、 如权利要求 1所述的方法, 其特征在于, 所述根据确定的每一个定位 终端的位置进行统计计算确定每一个定位终端所在的区域,并根据每一个定位 终端所在的区域得到所述目标 IP地址的所属区域, 包括:
根据确定的每一个定位终端的位置和电子地图数据库,确定每一个定位终 端所在的区域;
获取所述账号集合中每一个账号登录时使用所述目标 IP地址的终端处于 对应定位终端所在区域的概率;
根据概率确定每一个账号登录时所述目标 IP地址所在的各初始区域, 所 述初始区域为针对每一个账号,计算得到的概率值最大时定位终端的位置对应 的区域;
统计所述目标 IP地址的各初始区域的出现频数, 并将出现频数最大值对 应的初始区域作为所述目标 IP地址的所属区域。
3、 如权利要求 2所述的方法, 其特征在于, 所述获取所述账号集合中每 一个账号登录时使用所述目标 IP地址的终端处于对应定位终端所在区域的概 率, 包括:
确定每一个账号对应的定位终端在目标区域的时长;
获取每一个账号通过对应的定位终端登录到应用服务器的时长和每一个 账号使用所述目标 IP地址登录到应用服务器的时长;
根据每一个账号对应的定位终端在目标区域的时长、每一个账号通过对应 的定位终端登录到应用服务器的时长、 以及每一个账号使用所述目标 IP地址 登录到应用服务器的时长,基于贝叶斯法则计算所述账号集合中每一个账号登 录时使用所述目标 IP地址的终端处于对应定位终端所在区域的概率。
4、 如权利要求 1-3任一项所述的方法, 其特征在于, 所述确定所述账号 集合中每一个账号对应的定位终端的位置, 包括:
从应用服务器中获取所述账号集合中每一个账号对应的定位终端的位置, 其中,所述应用服务器在所述账号集合中每一个账号登录后记录的对应的定位 终端的位置。
5、 如权利要求 4所述的方法, 其特征在于, 还包括:
对所述目标 IP地址按照预设的模值执行求模计算, 得到目标 IP地址段; 将所述目标 IP地址段内的每一个 IP地址作为新的目标 IP地址, 得到目 标 IP地址段中每一个 IP地址所在的区域;
根据目标 IP地址段中每一个 IP地址所在的区域, 确定所述目标 IP地址 段的所属区域。
6、 如权利要求 5所述的方法, 其特征在于, 还包括:
根据统计得到的所述目标 IP地址的所属区域和目标 IP地址段的所属区域 更新 IP地址库。
7、 一种 IP地址所在区域的确定装置, 其特征在于, 包括:
获取模块, 用于获取定位终端使用目标 IP地址登录到应用服务器的账号 的账号集合;
确定模块, 用于确定所述账号集合中每一个账号对应的定位终端的位置; 处理模块,用于根据确定的每一个定位终端的位置进行统计计算确定每一 个定位终端所在的区域, 并根据每一个定位终端所在的区域得到所述目标 IP 地址的所属区域。
8、 如权利要求 7所述的装置, 其特征在于, 所述处理模块包括: 第一区域确定单元,用于根据确定的每一个定位终端的位置和电子地图数 据库, 确定每一个定位终端所在的区域;
计算单元, 用于获取所述账号集合中每一个账号登录时使用所述目标 IP 地址的终端处于对应定位终端所在区域的概率;
第二区域确定单元, 用于根据概率确定每一个账号登录时所述目标 IP地 址所在的各初始区域, 所述初始区域为针对每一个账号,计算得到的概率值最 大时定位终端的位置对应的区域;
处理单元, 用于统计所述目标 IP地址的各初始区域的出现频数, 并将出 现频数最大值对应的初始区域作为所述目标 IP地址的所属区域。
9、 如权利要求 8所述的装置, 其特征在于, 所述计算单元包括: 时长获取子单元, 用于确定每一个账号对应的定位终端在目标区域的时 长,并用于获取每一个账号通过对应的定位终端登录到应用服务器的时长和每 一个账号使用所述目标 IP地址登录到应用服务器的时长;
概率计算子单元, 用于根据每一个账号对应的定位终端在目标区域的时 长、每一个账号通过对应的定位终端登录到应用服务器的时长、 以及每一个账 号使用所述目标 IP地址登录到应用服务器的时长, 基于贝叶斯法则计算所述 账号集合中每一个账号登录时使用所述目标 IP地址的终端处于对应定位终端 所在区域的概率。
10、 如权利要求 7-9任一项所述的方法, 其特征在于,
所述确定模块用于从应用服务器中获取所述账号集合中每一个账号对应 的定位终端的位置, 其中, 所述应用服务器在所述账号集合中每一个账号登录 后记录的对应的定位终端的位置。
11、 如权利要求 10所述的装置, 其特征在于, 还包括: 地址段确定模块,用于对所述目标 IP地址按照预设的模值执行求模计算, 得到目标 IP地址段;
通知模块,用于将所述目标 IP地址段内的每一个 IP地址作为新的目标 IP 地址通知给所述获取模块,以得到目标 IP地址段中每一个 IP地址所在的区域; 区域确定模块, 用于根据目标 IP地址段中每一个 IP地址所在的区域, 确 定所述目标 IP地址段的所属区域。
12、 如权利要求 11所述的装置, 其特征在于, 还包括:
更新模块, 用于根据统计得到的所述目标 IP地址的所属区域和目标 IP地址段 的所属区域更新 IP地址库。
13、一种非瞬时性的计算机可读存储介质,其上存储有计算机可执行指令, 当计算机中运行这些可执行指令时, 执行如下步骤:
获取定位终端使用目标 IP地址登录到应用服务器的账号的账号集合; 确定所述账号集合中每一个账号对应的定位终端的位置;
根据确定的每一个定位终端的位置进行统计计算,确定每一个定位终端所 在的区域, 并根据每一个定位终端所在的区域得到所述目标 IP地址的所属区 域。
PCT/CN2013/090336 2013-04-10 2013-12-24 Ip地址所在区域的确定方法及装置 WO2014166284A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/879,950 US10097420B2 (en) 2013-04-10 2015-10-09 Method and apparatus for determining area in which IP address is located

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310122524.3 2013-04-10
CN201310122524.3A CN103248723B (zh) 2013-04-10 2013-04-10 一种ip地址所在区域的确定方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/879,950 Continuation US10097420B2 (en) 2013-04-10 2015-10-09 Method and apparatus for determining area in which IP address is located

Publications (1)

Publication Number Publication Date
WO2014166284A1 true WO2014166284A1 (zh) 2014-10-16

Family

ID=48927942

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/090336 WO2014166284A1 (zh) 2013-04-10 2013-12-24 Ip地址所在区域的确定方法及装置

Country Status (3)

Country Link
US (1) US10097420B2 (zh)
CN (1) CN103248723B (zh)
WO (1) WO2014166284A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106998533A (zh) * 2017-03-31 2017-08-01 苏州乐麟无线信息科技有限公司 基于大数据的用户省份判别方法及系统
CN107682466A (zh) * 2017-09-26 2018-02-09 小草数语(北京)科技有限公司 Ip地址的地域信息搜索方法及其装置
CN111414298A (zh) * 2019-01-08 2020-07-14 西安诺瓦电子科技有限公司 显示设备统计方法、装置、系统以及计算机可读介质

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103248723B (zh) 2013-04-10 2015-11-25 腾讯科技(深圳)有限公司 一种ip地址所在区域的确定方法及装置
CN104009980B (zh) * 2014-05-13 2015-07-22 腾讯科技(深圳)有限公司 基于社交类应用的通信方法及装置
CN104598503A (zh) * 2014-05-14 2015-05-06 腾讯科技(深圳)有限公司 地理信息数据查询方法、装置及系统
CN104252523A (zh) * 2014-07-03 2014-12-31 珠海市君天电子科技有限公司 信息的推送方法及装置
CN106294516A (zh) * 2015-06-12 2017-01-04 阿里巴巴集团控股有限公司 位置信息提供方法及装置
CN105430071A (zh) * 2015-11-11 2016-03-23 北京麒麟合盛网络技术有限公司 一种推送信息的方法及装置
CN105516923B (zh) * 2015-12-16 2019-09-17 青岛海信移动通信技术股份有限公司 一种确定终端设备所在区域位置的方法和ota服务器
CN105554174B (zh) * 2015-12-22 2020-08-18 腾讯科技(深圳)有限公司 网络协议地址的归属地管理方法及归属地管理系统
CN106936887B (zh) 2015-12-31 2020-10-20 珠海金山办公软件有限公司 一种地理位置定位方法及装置
CN105933294B (zh) * 2016-04-12 2019-08-16 晶赞广告(上海)有限公司 网络用户定位方法、装置及终端
CN106101224B (zh) * 2016-06-12 2018-07-17 腾讯科技(深圳)有限公司 识别用户所在地理位置的类别的方法及装置
CN108093303A (zh) * 2016-11-23 2018-05-29 深圳市优朋普乐传媒发展有限公司 一种视频推送方法及装置
CN107133289B (zh) * 2017-04-19 2020-06-30 银联智策顾问(上海)有限公司 一种确定商圈的方法和装置
CN107423136B (zh) * 2017-08-08 2020-06-26 华为技术有限公司 资源实例分配方法及装置
CN107566542A (zh) * 2017-08-21 2018-01-09 郑州埃文计算机科技有限公司 一种将企业专线ip定位到企业的方法
CN108011987B (zh) * 2017-10-11 2020-09-04 北京三快在线科技有限公司 Ip地址定位方法及装置,电子设备及存储介质
CN110677309B (zh) * 2018-07-03 2021-12-14 百度在线网络技术(北京)有限公司 人群聚类方法及系统、终端以及计算机可读存储介质
CN110928964A (zh) * 2018-09-20 2020-03-27 百度在线网络技术(北京)有限公司 行政区域定位方法、装置、计算机设备及存储介质
US11218879B2 (en) 2018-12-05 2022-01-04 At&T Intellectual Property I, L.P. Providing security through characterizing internet protocol traffic to detect outliers
US11399260B2 (en) * 2018-12-12 2022-07-26 Logic20/20 Inc. System and method for using positioning information in an electronic communication network to affect when as asset obtains a location estimate
CN111104598B (zh) * 2019-12-19 2023-12-22 上海秒针网络科技有限公司 定向推送信息的方法、装置、电子设备及可读存储介质
CN112272100B (zh) * 2020-08-04 2022-05-27 淘宝(中国)软件有限公司 一种针对在线平台局部业务需求的高可用流量调控方法和装置
CN112328862A (zh) * 2020-12-24 2021-02-05 黑龙江省网络空间研究中心 一种数据隐私信息检测系统
CN112597755A (zh) * 2020-12-29 2021-04-02 杭州拼便宜网络科技有限公司 一种地理位置信息生成方法、装置、电子设备及存储介质
CN113595871B (zh) * 2021-06-30 2022-10-14 深圳市广和通无线股份有限公司 账号登录方法、装置、计算机设备和存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030036949A1 (en) * 1999-12-10 2003-02-20 Karim Kaddeche Method and system for targeting internet advertisements and messages by geographic location
CN101355595A (zh) * 2008-09-17 2009-01-28 北京搜狗科技发展有限公司 定位ip地址的物理所在地的方法和装置
KR101079449B1 (ko) * 2010-04-29 2011-11-04 최미현 인터넷 아이피 주소의 위치 정보 수집 방법 및 장치
EP2541838A1 (en) * 2011-06-30 2013-01-02 Quova, Inc. System and method for predicting the geographic location of an internet protocol address
CN103220376A (zh) * 2013-03-30 2013-07-24 清华大学 利用移动终端的位置数据来定位ip位置的方法
CN103248723A (zh) * 2013-04-10 2013-08-14 腾讯科技(深圳)有限公司 一种ip地址所在区域的确定方法及装置

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7958228B2 (en) * 2007-07-11 2011-06-07 Yahoo! Inc. Behavioral predictions based on network activity locations
US20100041378A1 (en) * 2008-08-14 2010-02-18 Ralph Aceves System and method for automatically generating a user profile from location information
US8554247B2 (en) * 2008-11-13 2013-10-08 Glopos Fzc Method and system for refining accuracy of location positioning
US9397890B2 (en) * 2009-02-02 2016-07-19 Waldeck Technology Llc Serving a request for data from a historical record of anonymized user profile data in a mobile environment
CN101860793A (zh) * 2010-05-18 2010-10-13 九福科技顾问股份有限公司 地理感知电子装置及其服务系统
US9277362B2 (en) * 2010-09-03 2016-03-01 Blackberry Limited Method and apparatus for generating and using location information
CN102143149A (zh) * 2010-12-10 2011-08-03 华为技术有限公司 云终端访问云的方法、系统及云接入管理设备
US20120196568A1 (en) * 2011-01-28 2012-08-02 Bakshi Chirag C System and Method for Locating a Mobile Subscriber Terminal When Roaming
US20160006628A1 (en) * 2011-05-02 2016-01-07 Google Inc. Determining geo-locations of users from user activities
CN102958152B (zh) * 2011-08-24 2016-03-09 中国电信股份有限公司 实现第三方定位的wlan定位方法和定位服务器
US20150169596A1 (en) * 2013-02-19 2015-06-18 Google Inc. Determining event origin

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030036949A1 (en) * 1999-12-10 2003-02-20 Karim Kaddeche Method and system for targeting internet advertisements and messages by geographic location
CN101355595A (zh) * 2008-09-17 2009-01-28 北京搜狗科技发展有限公司 定位ip地址的物理所在地的方法和装置
KR101079449B1 (ko) * 2010-04-29 2011-11-04 최미현 인터넷 아이피 주소의 위치 정보 수집 방법 및 장치
EP2541838A1 (en) * 2011-06-30 2013-01-02 Quova, Inc. System and method for predicting the geographic location of an internet protocol address
CN103220376A (zh) * 2013-03-30 2013-07-24 清华大学 利用移动终端的位置数据来定位ip位置的方法
CN103248723A (zh) * 2013-04-10 2013-08-14 腾讯科技(深圳)有限公司 一种ip地址所在区域的确定方法及装置

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106998533A (zh) * 2017-03-31 2017-08-01 苏州乐麟无线信息科技有限公司 基于大数据的用户省份判别方法及系统
CN107682466A (zh) * 2017-09-26 2018-02-09 小草数语(北京)科技有限公司 Ip地址的地域信息搜索方法及其装置
CN107682466B (zh) * 2017-09-26 2020-11-13 绿湾网络科技有限公司 Ip地址的地域信息搜索方法及其装置
CN111414298A (zh) * 2019-01-08 2020-07-14 西安诺瓦电子科技有限公司 显示设备统计方法、装置、系统以及计算机可读介质

Also Published As

Publication number Publication date
US10097420B2 (en) 2018-10-09
CN103248723B (zh) 2015-11-25
CN103248723A (zh) 2013-08-14
US20160036646A1 (en) 2016-02-04

Similar Documents

Publication Publication Date Title
WO2014166284A1 (zh) Ip地址所在区域的确定方法及装置
US11553301B2 (en) Systems and methods for deploying dynamic geofences based on content consumption levels in a geographic location
JP6224135B2 (ja) ルーチン逸脱の通知
JP6541131B2 (ja) ソーシャルプライバシ及びコンタクト関連付け機能を有する個人ディレクトリ
KR102022840B1 (ko) 적용가능한 지오―펜스들의 결정을 위한 타이밍의 결정
US9866997B2 (en) Systems and methods for geo-location based message streams
JP6151803B2 (ja) 周辺ロケーション更新のグループ化
US20150031397A1 (en) Address Point Data Mining
JP5913758B2 (ja) ルーチンの推定
US10075809B2 (en) Systems and methods for optimizing message notification based on geographic location and time
EP2507973B1 (en) Optimizing caching period of location data for network based location services
US20130132488A1 (en) Location Aware Sticky Notes
WO2017206831A1 (zh) 虚拟资源的处理方法、服务器及存储介质
JP6246837B2 (ja) パターンのラベリング
US9325654B2 (en) Systems and methods for optimizing message notification timing based on electronic content consumption associated with a geographic location
EP3170102A1 (en) Reverse ip databases using data indicative of user location
US20150094083A1 (en) Explicit and implicit triggers for creating new place data
CN108600413B (zh) 定位方法及装置和电子设备
KR101889292B1 (ko) 트랜잭션 타겟 식별자의 결정
WO2015157954A1 (zh) 一种数据处理方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13881760

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 26.02.2016)

122 Ep: pct application non-entry in european phase

Ref document number: 13881760

Country of ref document: EP

Kind code of ref document: A1