CN104427519A - Method and device for managing attributions of IP (Internet Protocol) addresses - Google Patents
Method and device for managing attributions of IP (Internet Protocol) addresses Download PDFInfo
- Publication number
- CN104427519A CN104427519A CN201310373008.8A CN201310373008A CN104427519A CN 104427519 A CN104427519 A CN 104427519A CN 201310373008 A CN201310373008 A CN 201310373008A CN 104427519 A CN104427519 A CN 104427519A
- Authority
- CN
- China
- Prior art keywords
- address
- ground
- ownership place
- true
- account number
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/69—Types of network addresses using geographic information, e.g. room number
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method for managing attributions of IP (Internet Protocol) addresses. The method is applied to a server, an IP address attribution database is configured in the server, the method comprises the following steps that the server receives IP address attribution exception reports transmitted by a user terminal, and the IP address attribution exception report includes a user account corresponding to the user terminal, the IP address and real attribution information of the IP address; the server counts the number of the IP address attribution exception reports of the IP addresses from the different user accounts; when the statistic number is greater than or equal to a preset value and the real attributions of the IP addresses belong to one real attribution, the attributions of the IP addresses, which are recorded in the IP address attribution database, are updated to the real attributions. In addition, the invention also provides a device for managing the attributions of the IP addresses. According to the method and the device for managing the attributions of the IP addresses, the efficiency for managing the attributions of the IP addresses can be improved.
Description
Technical field
The present invention relates to computer communication technology, particularly relate to a kind of IP address attribution ground management method and device.
Background technology
IP(Internet Protocol Internet protocol) refer on the Internet address attribution, the physical address (such as Shenzhen City, Guangdong Province) corresponding to an IP address.IP address on each the Internet can a corresponding ownership place, and the provider of Internet service can the position of consumer positioning by IP address attribution ground, thus provides better service for it.But, at internet world, new IP address is had every day to be activated, the IP address of also haveing been friends in the past is changed by operator and is used to other city or area, this happens occasionally with regard to the phenomenon of being forbidden with causing IP address attribution, thus carries out the business such as user security judgement and service recommendation to ISP and bring inconvenience.In existing IP address attribution ground administrative skill, usually based on the feedback of user, or GPS(Global Positioning System, global positioning system) IP address attribution is calibrated, the IP address attribution ground mistake occurred when above-mentioned calibration steps is surfed the Net by common operator (such as China Telecom etc.) access way for calibration, Be very effective, but calibration is rented by broadband, there is the IP address attribution ground mistake that an IP address belongs to the appearance of the access way online of multiple provinces and cities situation in mobile gateways etc., then accuracy rate is very low, lack the efficiency of management.
Summary of the invention
In view of this, the invention provides a kind of IP address attribution ground management method and device, the efficiency managed while IP address attribution can be improved.
A kind of IP address attribution ground management method, be applied to server, IP address attribution ground database is configured with in described server, comprise: the IP address attribution ground exception reporting that described server receives user terminal sends, in described IP address attribution ground exception reporting, comprise the true information of home location of user account number corresponding to described user terminal, IP address and described IP address; Add up the quantity of the IP address attribution ground exception reporting of the described IP address from different user account number received; When the described quantity of statistics is more than or equal to preset numerical value, and when the true ownership place of described IP address is same true ownership place, the ownership place of the described IP address recorded in described IP address attribution ground database is updated to described true ownership place.
A kind of IP address attribution ground management devices, be applied to server, IP address attribution ground database is configured with in described server, comprise: exception reporting receiver module, for receiving the IP address attribution ground exception reporting that user terminal sends, in described IP address attribution ground exception reporting, comprise the true information of home location of user account number corresponding to described user terminal, IP address and described IP address; First statistical module, for adding up the quantity of the IP address attribution ground exception reporting of the described IP address from different user account number that described exception reporting receiver module receives; First update module, preset numerical value is more than or equal to for the described quantity when described first statistical module counts, and the true ownership place of described IP address is when being same true ownership place, the ownership place of the described IP address recorded in described IP address attribution ground database is updated to described true ownership place.
The IP address attribution ground management method that the embodiment of the present invention provides and device, by being more than or equal to preset numerical value when counting the quantity comprising the IP address attribution ground exception reporting of identical ip addresses information from different user account number received, and the true ownership place in above-mentioned IP address attribution ground exception reporting is when being same true ownership place, the ownership place of the IP address recorded in IP address attribution ground database is updated to true ownership place, because IP address attribution ground exception reporting carries report by multiple different user account number, and the true ownership place in all IP address attribution ground exception reporting is unique, therefore this true ownership place has higher authenticity, using the ownership place of this true ownership place as IP address, the accuracy of calibrating with can improving IP address attribution, improve the efficiency of IP address attribution ground management.
For above and other object of the present invention, feature and advantage can be become apparent, preferred embodiment cited below particularly, and coordinate institute's accompanying drawings, be described in detail below.
Accompanying drawing explanation
The flow chart of the IP address attribution ground management method that Fig. 1 provides for first embodiment of the invention.
The flow chart of the IP address attribution ground management method that Fig. 2 provides for second embodiment of the invention.
The flow chart of part steps in the IP address attribution ground management method that Fig. 3 provides for second embodiment of the invention.
The structural representation of the IP address attribution ground management devices that Fig. 4 provides for third embodiment of the invention.
The structural representation of the IP address attribution ground management devices that Fig. 5 provides for fourth embodiment of the invention.
The conventional structural representation logging in ground data obtaining module in the IP address attribution ground management devices that Fig. 6 provides for fourth embodiment of the invention.
Embodiment
For further setting forth the present invention for the technological means that realizes predetermined goal of the invention and take and effect, below in conjunction with accompanying drawing and preferred embodiment, to according to the specific embodiment of the present invention, structure, feature and effect thereof, be described in detail as follows.
The IP address attribution ground management method that the embodiment of the present invention provides can be applicable to server, realizes the management to IP address attribution ground.
First embodiment
The flow chart of the IP address attribution ground management method that Fig. 1 provides for first embodiment of the invention.The IP address attribution ground management method of the present embodiment is applied to server, is configured with IP address attribution ground database in this server, records the corresponding relation of IP address, ownership place and IP address and ownership place in this IP address attribution ground database.As shown in Figure 1, the IP address attribution ground management method of the present embodiment comprises the following steps:
Step S11, the IP address attribution ground exception reporting that described server receives user terminal sends, comprises the true information of home location of user account number corresponding to described user terminal, IP address and described IP address in described IP address attribution ground exception reporting.
Particularly, user terminal according to the query statement of user, the IP(Internet Protocol Internet protocol provided by logon server) address lookup system, inquiry IP address information of home location.When the ownership place of the IP address inquired does not square with the fact, user terminal proposes report instruction according to user, and the IP address attribution ground exception reporting comprising IP address abnormal information is sent to server.The IP address abnormal information comprised in the ownership place exception reporting of wherein IP address specifically can comprise: the user account number used when user terminal logs in the information of home location of IP address lookup system queries IP address, the IP address of inquiry and the true information of home location etc. of this IP address.
The IP address attribution ground exception reporting that server receives user terminal sends, the IP address abnormal informations such as the user account number used when extracting the information of home location of the user terminal login IP address lookup system queries IP address comprised in this IP address attribution ground exception reporting, the IP address of inquiry and the true ownership place of this IP address, and be stored in extracting the IP address abnormal information obtained in local storage or high in the clouds storage server.
In this example, user terminal can comprise smart mobile phone, panel computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio frequency aspect 3), MP4(Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio frequency aspect 4) player, pocket computer on knee etc. have the electric terminal of network function.
Step S12, adds up the quantity of the IP address attribution ground exception reporting of the described IP address from different user account number received.
Particularly, server is from local storage or high in the clouds storage server, what obtain current reception allly comprises the IP address attribution ground exception reporting with the IP address that comprises in the IP address attribution ground exception reporting that receives in step S11 with identical ip addresses information, and adds up the quantity of above-mentioned IP address attribution ground exception reporting.
Step S13, when the described quantity of statistics is more than or equal to preset numerical value, and the true ownership place of described IP address is when being same true ownership place, the ownership place of the described IP address recorded in described IP address attribution ground database is updated to described true ownership place.
Particularly, when the quantity of all IP address attribution ground exception reporting of the current reception counted is more than or equal to preset numerical value, and the true ownership place of IP address comprised in above-mentioned IP address attribution ground exception reporting is when being same true ownership place, the ownership place of the IP address recorded in IP address attribution ground database is updated to true ownership place.For example, suppose that preset numerical value is 10, the ownership place of the IP address 119.139.25.16 recorded in IP address attribution ground database is Shanghai, server receive comprise IP address be 119.139.25.16 IP address attribution ground exception reporting time, add up current all receive comprise IP address be 119.139.25.16 IP address attribution ground exception reporting quantity, if statistics is 12, and the true ownership place comprised in above-mentioned 12 IP address attribution ground exception reporting is Shenzhen, then the ownership place of the correspondence of the IP address 119.139.25.16 recorded in IP address attribution ground database is updated to Shenzhen by server.
The IP address attribution ground management method that the embodiment of the present invention provides, by being more than or equal to preset numerical value when counting the quantity comprising the IP address attribution ground exception reporting of identical ip addresses information from different user account number received, and the true ownership place in above-mentioned IP address attribution ground exception reporting is when being same true ownership place, the ownership place of the IP address recorded in IP address attribution ground database is updated to true ownership place, because IP address attribution ground exception reporting carries report by multiple different user account number, and the true ownership place in all IP address attribution ground exception reporting is unique, therefore this true ownership place has higher authenticity, using the ownership place of this true ownership place as IP address, the accuracy of calibrating with can improving IP address attribution, improve the efficiency of IP address attribution ground management.
Second embodiment
The flow chart of the IP address attribution ground management method that Fig. 2 provides for second embodiment of the invention.The IP address attribution ground management method of the present embodiment is applied to server, is configured with IP address attribution ground database in this server, records the corresponding relation of IP address, ownership place and IP address and ownership place in this IP address attribution ground database.As shown in Figure 2, the IP address attribution ground management method of the present embodiment comprises the following steps:
Step S201, the IP address attribution ground exception reporting that described server receives user terminal sends, comprises the true information of home location of user account number corresponding to described user terminal, IP address and described IP address in described IP address attribution ground exception reporting.
This step specifically please refer to the corresponding contents of the first embodiment, repeats no more herein.
Step S202, obtains the conventional login ground information of described user account number.
Particularly, as shown in Figure 3, the conventional login ground information obtaining described user account number can comprise the following steps:
Step S2021, obtains all login daily records of described user account number, all comprises the login ground information of described user account number in each login daily record.
Particularly, log in ground information can comprise: user terminal log in access server and by access server inquire about with obtaining IP address attribution, the miscellaneous service such as instant messaging time use user account number, IP address and this IP address ownership place etc.When access server receives the logging request of user terminal transmission, the user account number, IP address etc. extracted in logging request logs in ground information, the ownership place of this IP address is obtained according to the IP address lookup IP address attribution ground database extracted, generate according to the user account number extracted, IP address and the ownership place of this IP address that inquires and log in daily record, and by this login Log Sender to server, so that the login daily record received is kept at local storage or high in the clouds storage server by server.When the IP address attribution ground exception reporting that server receives user terminal sends, obtain the current all login daily records of user account number this IP address attribution ground exception reporting from local storage or high in the clouds storage server.
Step S2022, deletes the abnormal login daily record of recording when described user account number logs under abnormality in described all login daily records.
Particularly, according to preset judgment rule, such as, when user account number meets: the quantity forwarded of rubbish message exceed preset numerical value, virtual coin stolen, to send photo messages to good friend, when issuing any one in prohibitive advertisement or multinomial condition, can think that the login daily record of this user account number is abnormal login daily record, above-mentioned abnormal login daily record is deleted by server from all login daily records obtained.The conventional accuracy logging in ground of the user account number of acquisition can be improved by deleting the abnormal login daily record logged in daily record, thus improve the efficiency of IP address attribution ground management.
Step S2023, the login comprised by not deleted login daily record in login daily records all described in statistical analysis ground information, obtains the conventional login ground information of described user account number.
Particularly, server is according to the login ground information comprised in login daily record not deleted in all login daily records obtained in step S2021, the number of times that counting user account number logs at the ownership place of different IP addresses, and the login times of ownership place according to the different IP addresses counted, the ownership place of different IP addresses is sorted, the ownership place of IP addresses maximum for login times is labeled as the conventional login ground of this user account number, as the conventional login ground information of this user account.Such as: suppose user account number A respectively in Beijing, Nanjing, Shanghai is logged, wherein in Beijing logged 10 times, in Nanjing and Shanghai logged 1 time respectively, then with Beijing being labeled as conventional logins of user account number A.
Step S203, analyzes described true information of home location whether with described conventional to log in ground information consistent.
Particularly, true information of home location in the IP address attribution ground exception reporting received in server analysis step S201 whether with obtain in step S202 conventional logs in information consistent, whether both judgements are consistent, if consistent, can judge that the true information of home location in this IP address attribution ground exception reporting has higher authenticity, if inconsistent, can judge that the true information of home location authenticity in this IP address attribution ground exception reporting is lower, may be that user's malice carries report, not there is reference value.
Step 204, when described true information of home location and described conventional log in ground information inconsistent time, abandon described IP address attribution ground exception reporting.
Particularly, when true information of home location with conventional logs in ground information inconsistent time, IP address attribution corresponding for this true information of home location ground exception reporting abandons by server, is also namely considered as with not receiving this IP address attribution exception reporting.The inconsistent IP address attribution ground exception reporting of ground information is logged in conventional by abandoning true information of home location, the IP address attribution ground exception reporting without reference value is got rid of from calibration foundation, the accuracy that can ensure IP address attribution from source calibrate, improves the efficiency of IP address attribution ground management.
Step 205, when described true information of home location with described conventional log in ground information consistent time, preserve described IP address attribution ground exception reporting, add up receive the described IP address from different user account number IP address attribution ground exception reporting quantity.
Particularly, when true information of home location with conventional logs in ground information consistent time, server by IP address attribution corresponding for this true information of home location exception reporting be kept in local storage or high in the clouds storage server.Obtain be currently received all and comprise the quantity that the IP address corresponding with true information of home location has the IP address attribution ground exception reporting of identical ip addresses information.Understandable, above-mentioned IP address attribution ground exception reporting is from different user account numbers.
Step S206, judges whether the described quantity of adding up is less than preset numerical value.
If so, then step S207 is performed: the ownership place not upgrading the described IP address recorded in described IP address attribution ground database.
Particularly, if the IP address attribution ground exception reporting of the IP address from different user account number counted be less than preset quantity, then wouldn't carry out update process to the ownership place of IP address recorded in IP address attribution ground database.
If not, then step S208 is performed: whether the true ownership place judging described IP address is same true ownership place.
Particularly, if the IP address from different user account number counted IP address attribution ground exception reporting be more than or equal to preset quantity, then judge that whether the true information of home location comprised in above-mentioned all IP address attribution ground exception reporting is consistent, that is to say that no is same true ownership place.
If so, then step S209 is performed: the ownership place of the described IP address recorded in described IP address attribution ground database is updated to described true ownership place.
This step specifically please refer to the corresponding contents in the first embodiment, repeats no more herein.
If not, then perform step S210, add up the quantity of the true ownership place of difference of described IP address respectively, upgrade the ownership place of the described IP address recorded in described IP address attribution ground database according to statistics.
Particularly, if the true information of home location comprised in all IP address attribution ground exception reporting is inconsistent, also the true ownership place of more than 1 is namely comprised, then server adds up the quantity of different true ownership place in all IP address attribution ground exception reporting respectively, also be the quantity of different true ownership place each self-corresponding IP address attribution ground exception reporting, according to the quantity counted, the true ownership place of difference is sorted, the ownership place of the IP address recorded in IP address attribution ground database is updated to the true ownership place that in different true ownership place, quantity is maximum.For example, suppose that server obtains altogether 15 IP address attribution ground exception reportings, wherein contain Shanghai and Nanjing, Beijing, these 4 true ownership place of Hong Kong, through statistics, if the quantity that true ownership place is Shanghai is 7, true ownership place is the quantity in Nanjing is 5, and true ownership place is Pekinese's quantity is 2, true ownership place is the quantity in Hong Kong is 1, then the ownership place of the IP address recorded in IP address attribution ground database is updated to Shanghai by server.
Because the IP address attribution ground exception reporting quantity comprising identical true information of home location is more, the authenticity of its true information of home location comprised is also higher, therefore by when the true information of home location comprised in all IP address attribution ground exception reporting is inconsistent, using the ownership place of the IP address that true ownership place maximum for quantity is recorded in IP address attribution ground database, improve the accuracy of IP address attribution ground calibration, thus improve the efficiency of IP address attribution ground management.
Step S211, receives the IP address attribution ground inquiry request that user terminal sends.
Particularly, the IP address attribution ground inquiry request that server receives user terminal is sent by IP address lookup system, comprises the IP address of user account number and the requesting query used when this user account number logs in IP address lookup system in this inquiry request.
Step S212, judges whether to receive the IP address attribution ground exception reporting comprising described user account number and described IP address.
Particularly, server is according to the information such as IP address of the user account number in the IP address attribution ground inquiry request received and requesting query, inquiry local storage or high in the clouds storage server, judge whether to preserve in local storage or high in the clouds storage server the IP address attribution ground exception reporting corresponding with the IP address of this user account number and requesting query, with also namely judging whether to receive the IP address attribution comprising this user account number and this IP address exception reporting.
If so, then step S213 is performed: then the true information of home location comprised in described IP address attribution ground exception reporting is returned to described user terminal.
Particularly, if server once received the IP address attribution ground exception reporting from the user account number in IP address attribution ground inquiry request, and the IP address in this IP address attribution ground exception reporting is consistent with the IP address in this IP address attribution ground inquiry request, then the true information of home location in this IP address attribution ground exception reporting is returned to user terminal.Understandable, in the present embodiment one embodiment, as long as user uses user account number to pass through user terminal and once sent IP address attribution ground exception reporting, when server receives the IP address attribution ground inquiry request sent by arbitrary user terminal from same subscriber account number, and the IP address information of this IP address attribution ground inquiry request institute requesting query consistent with the IP address information in this IP address attribution ground exception reporting time, all by this IP address attribution true information of home location in exception reporting return to user terminal corresponding to this user account number.
If not, then step S214 is performed: the information of home location of the described IP address recorded in described IP address attribution ground database is returned to described user terminal.
Particularly, if server did not receive the IP address attribution ground exception reporting of user account number and the IP address comprised in IP address attribution ground inquiry request, then by record in IP address attribution ground database with IP address attribution information of home location corresponding to IP address in inquiry request return to user terminal.
By the IP address attribution ground exception reporting judging whether to receive user account number and the IP address comprised in IP address attribution ground inquiry request, user account number is divided, and different true ownership place is returned to the user account number of correspondence according to division result.Because the true information of home location in IP address attribution ground exception reporting oneself carries report by the user account number of correspondence, therefore there is higher authenticity, according to the inquiry request of this user account number, the true information of home location this user account number being carried oneself report returns to this user account number, the correctness of Query Result can be ensured, thus the efficiency managed while IP address attribution can be improved.And for not carrying the user account number reporting IP address attribution ground exception reporting, due to the ownership place of IP address preserved in IP address attribution ground database, it is the calibration result of carrying out in the IP address attribution ground exception reporting multiple user account number being carried to report on analytic statistics basis, therefore according to the inquiry request of this user account number, the ownership place of the IP address of preserving in IP address attribution ground database is returned to this user account number, also the correctness of Query Result can be ensured, thus the efficiency managed while IP address attribution can be improved.
The IP address attribution ground management method that the embodiment of the present invention provides, by being more than or equal to preset numerical value when counting the quantity comprising the IP address attribution ground exception reporting of identical ip addresses information from different user account number received, and the true ownership place in above-mentioned IP address attribution ground exception reporting is when being same true ownership place, the ownership place of the IP address recorded in IP address attribution ground database is updated to true ownership place, because IP address attribution ground exception reporting carries report by multiple different user account number, and the true ownership place in all IP address attribution ground exception reporting is unique, therefore this true ownership place has higher authenticity, using the ownership place of this true ownership place as IP address, the accuracy of calibrating with can improving IP address attribution, improve the efficiency of IP address attribution ground management.
3rd embodiment
The structural representation of the IP address attribution ground management devices that Fig. 3 provides for third embodiment of the invention.The IP address attribution ground management devices that the present embodiment provides may be used in server, realizes the IP address attribution ground management method in above-described embodiment.As shown in Figure 3, IP address attribution ground management devices 30 comprises: exception reporting receiver module 31, first statistical module 32 and the first update module 33.
Wherein, the IP address attribution ground exception reporting that exception reporting receiver module 31 sends for receiving user terminal, comprises the true information of home location of user account number corresponding to described user terminal, IP address and described IP address in described IP address attribution ground exception reporting.
The quantity of the IP address attribution ground exception reporting of described IP address from different user account number of the first statistical module 32 for adding up described exception reporting receiver module 31 and receiving.
First update module 33 is more than or equal to preset numerical value for the described quantity of adding up when described first statistical module 32, and the true ownership place of described IP address is when being same true ownership place, the ownership place of the described IP address recorded in described IP address attribution ground database is updated to described true ownership place.
The present embodiment, to the detailed process of each Implement of Function Module function separately of IP address attribution ground management devices 30, refers to the particular content of above-mentioned Fig. 1 to middle description embodiment illustrated in fig. 3, repeats no more herein.
The IP address attribution ground management devices that the embodiment of the present invention provides, by being more than or equal to preset numerical value when counting the quantity comprising the IP address attribution ground exception reporting of identical ip addresses information from different user account number received, and the true ownership place in above-mentioned IP address attribution ground exception reporting is when being same true ownership place, the ownership place of the IP address recorded in IP address attribution ground database is updated to true ownership place, because IP address attribution ground exception reporting carries report by multiple different user account number, and the true ownership place in all IP address attribution ground exception reporting is unique, therefore this true ownership place has higher authenticity, using the ownership place of this true ownership place as IP address, the accuracy of calibrating with can improving IP address attribution, improve the efficiency of IP address attribution ground management.
4th embodiment
The structural representation of the device carry out IP address attribution in user terminal managed that Fig. 4 provides for fourth embodiment of the invention.The IP address attribution ground management devices that the present embodiment provides may be used for server, realizes the IP address attribution ground management method in above-described embodiment.As shown in Figure 4, IP address attribution ground management devices 40 comprises: exception reporting receiver module 401, first statistical module 402, first update module 403, conventional login ground data obtaining module 404, analysis module 405, preservation module 406, second statistical module 407, second update module 408, inquiry request receiver module 409, judge module 410 and processing module 411.
Wherein, the IP address attribution ground exception reporting that exception reporting receiver module 401 sends for receiving user terminal, comprises the true information of home location of user account number corresponding to described user terminal, IP address and described IP address in described IP address attribution ground exception reporting.
The quantity of the IP address attribution ground exception reporting of described IP address from different user account number of the first statistical module 402 for adding up described exception reporting receiver module 401 and receiving.
First update module 403 is more than or equal to preset numerical value for the described quantity of adding up when described first statistical module 402, and the true ownership place of described IP address is when being same true ownership place, the ownership place of the described IP address recorded in described IP address attribution ground database is updated to described true ownership place.
The conventional ground data obtaining module 404 that logs in is for obtaining the conventional login ground information of described user account number.As shown in Figure 6, described conventional login ground data obtaining module comprises: acquiring unit 4041, filter element 4042 and statistic unit 4043.Acquiring unit 4041, for obtaining all login daily records of described user account number, all comprises the login ground information of described user account number in each login daily record; Filter element 4042 for deleting the abnormal login daily record of recording when described user account number logs under abnormality in described all login daily records; The login ground information of statistic unit 4043 for being comprised by not deleted login daily record in login daily records all described in statistical analysis, obtains the conventional login ground of described user account number.
Analysis module 405 for the described true ownership place that comprises in the described IP address attribution ground exception reporting analyzing described exception reporting receiver module 401 and receive whether with described conventional logs in data obtaining module 404 obtain described conventional log in consistent.
Preserve module 406 for be described true ownership place when the analysis result of described analysis module 405 with described conventional log in consistent time, preserve described IP address attribution ground exception reporting, when the analysis result of described analysis module 405 be described true information of home location and described conventional log in ground information inconsistent time, abandon described IP address attribution ground exception reporting.
Second statistical module 407 is more than or equal to preset numerical value for the described quantity of adding up when described first statistical module 402, and when the true ownership place of described IP address is multiple, adds up the quantity of the true ownership place of difference of described IP address respectively.
Second update module 408 is for being updated to the ownership place of the described IP address recorded in described IP address attribution ground database the true ownership place that in the true ownership place of described difference, quantity is maximum.
The IP address attribution ground inquiry request that inquiry request receiver module 409 sends for receiving user terminal, comprises the IP address of user account number corresponding to described user terminal and requesting query in described IP address attribution ground inquiry request.
Judge module 410 is for judging whether to receive the IP address attribution ground exception reporting comprising described user account number and described IP address.
Processing module 411 is for when the judged result of described judge module 410 is for being, the true information of home location comprised in described IP address attribution ground exception reporting is returned to described user terminal, when the judged result of described judge module 410 is no, then the information of home location of the described IP address recorded in described IP address attribution ground database is returned to described user terminal.
The present embodiment, to the detailed process of each Implement of Function Module function separately of IP address attribution ground management devices 40, refers to the particular content of above-mentioned Fig. 1 to middle description embodiment illustrated in fig. 3, repeats no more herein.
The IP address attribution ground management devices that the embodiment of the present invention provides, by being more than or equal to preset numerical value when counting the quantity comprising the IP address attribution ground exception reporting of identical ip addresses information from different user account number received, and the true ownership place in above-mentioned IP address attribution ground exception reporting is when being same true ownership place, the ownership place of the IP address recorded in IP address attribution ground database is updated to true ownership place, because IP address attribution ground exception reporting carries report by multiple different user account number, and the true ownership place in all IP address attribution ground exception reporting is unique, therefore this true ownership place has higher authenticity, using the ownership place of this true ownership place as IP address, the accuracy of calibrating with can improving IP address attribution, improve the efficiency of IP address attribution ground management.
It should be noted that, each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.For device class embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising described key element and also there is other identical element.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The above, it is only preferred embodiment of the present invention, not any pro forma restriction is done to the present invention, although the present invention discloses as above with preferred embodiment, but and be not used to limit the present invention, any those skilled in the art, do not departing within the scope of technical solution of the present invention, make a little change when the technology contents of above-mentioned announcement can be utilized or be modified to the Equivalent embodiments of equivalent variations, in every case be do not depart from technical solution of the present invention content, according to any simple modification that technical spirit of the present invention is done above embodiment, equivalent variations and modification, all still belong in the scope of technical solution of the present invention.
Claims (10)
1. an IP address attribution ground management method, is applied to server, is configured with IP address attribution ground database, it is characterized in that, comprising in described server:
The IP address attribution ground exception reporting that described server receives user terminal sends, comprises the true information of home location of user account number corresponding to described user terminal, IP address and described IP address in described IP address attribution ground exception reporting;
Add up the quantity of the IP address attribution ground exception reporting of the described IP address from different user account number received;
When the described quantity of statistics is more than or equal to preset numerical value, and when the true ownership place of described IP address is same true ownership place, the ownership place of the described IP address recorded in described IP address attribution ground database is updated to described true ownership place.
2. method according to claim 1, it is characterized in that, between the step of the quantity of the IP address attribution ground exception reporting of the described IP address from different user account number that the step of the IP address attribution ground exception reporting that described server receives user terminal sends and described statistics receive, comprising:
Obtain the conventional login ground information of described user account number;
Analyze described true information of home location whether with described conventional to log in ground information consistent;
When described true information of home location with described conventional log in ground information consistent time, preserve described IP address attribution ground exception reporting;
When described true information of home location and described conventional log in ground information inconsistent time, abandon described IP address attribution ground exception reporting.
3. method according to claim 2, is characterized in that, the conventional step logging in ground information of the described user account number of described acquisition comprises:
Obtain all login daily records of described user account number, in each login daily record, all comprise the login ground information of described user account number;
The abnormal login daily record of recording when described user account number logs under abnormality is deleted in described all login daily records;
The login ground information comprised by not deleted login daily record in login daily records all described in statistical analysis, obtains the conventional login ground of described user account number.
4. method according to claim 1, is characterized in that, described method also comprises:
When the described quantity of statistics is more than or equal to preset numerical value, and when the true ownership place of described IP address is multiple, add up the quantity of the true ownership place of difference of described IP address respectively;
The ownership place of the described IP address recorded in described IP address attribution ground database is updated to the true ownership place that in the true ownership place of described difference, quantity is maximum.
5. the method according to any one of Claims 1-4, is characterized in that, described method also comprises:
Receive the IP address attribution ground inquiry request that user terminal sends, in described IP address attribution ground inquiry request, comprise the IP address of user account number corresponding to described user terminal and requesting query;
Judge whether to receive the IP address attribution ground exception reporting comprising described user account number and described IP address;
If so, then the true information of home location comprised in described IP address attribution ground exception reporting is returned to described user terminal;
If not, then the information of home location of the described IP address recorded in described IP address attribution ground database is returned to described user terminal.
6. an IP address attribution ground management devices, is applied to server, is configured with IP address attribution ground database, it is characterized in that, comprising in described server:
Exception reporting receiver module, for receiving the IP address attribution ground exception reporting that user terminal sends, comprises the true information of home location of user account number corresponding to described user terminal, IP address and described IP address in described IP address attribution ground exception reporting;
First statistical module, for adding up the quantity of the IP address attribution ground exception reporting of the described IP address from different user account number that described exception reporting receiver module receives;
First update module, preset numerical value is more than or equal to for the described quantity when described first statistical module counts, and the true ownership place of described IP address is when being same true ownership place, the ownership place of the described IP address recorded in described IP address attribution ground database is updated to described true ownership place.
7. device according to claim 6, is characterized in that, described device also comprises:
Conventional login ground data obtaining module, for obtaining the conventional login ground information of described user account number;
Analysis module, for analyze the described true ownership place that comprises in described IP address attribution ground exception reporting that described exception reporting receiver module receives whether with described conventional logs in data obtaining module obtain described conventional log in consistent;
Preserve module, for be described true ownership place when the analysis result of described analysis module with described conventional log in consistent time, preserve described IP address attribution ground exception reporting, when the analysis result of described analysis module be described true information of home location and described conventional log in ground information inconsistent time, abandon described IP address attribution ground exception reporting.
8. device according to claim 7, is characterized in that, described conventional login ground data obtaining module comprises:
Acquiring unit, for obtaining all login daily records of described user account number, all comprises the login ground information of described user account number in each login daily record;
Filter element, for deleting the abnormal login daily record of recording when described user account number logs under abnormality in described all login daily records;
Statistic unit, for the login ground information comprised by not deleted login daily record in login daily records all described in statistical analysis, obtains the conventional login ground of described user account number.
9. device according to claim 6, is characterized in that, described device also comprises:
Second statistical module, is more than or equal to preset numerical value for the described quantity when described first statistical module counts, and when the true ownership place of described IP address is multiple, adds up the quantity of the true ownership place of difference of described IP address respectively;
Second update module, for being updated to the ownership place of the described IP address recorded in described IP address attribution ground database the true ownership place that in the true ownership place of described difference, quantity is maximum.
10. the device according to any one of claim 6 to 9, is characterized in that, described device also comprises:
Inquiry request receiver module, for receiving the IP address attribution ground inquiry request that user terminal sends, comprises the IP address of user account number corresponding to described user terminal and requesting query in described IP address attribution ground inquiry request;
Judge module, for judging whether to receive the IP address attribution ground exception reporting comprising described user account number and described IP address;
Processing module, for when the judged result of described judge module is for being, the true information of home location comprised in described IP address attribution ground exception reporting is returned to described user terminal, when the judged result of described judge module is no, then the information of home location of the described IP address recorded in described IP address attribution ground database is returned to described user terminal.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310373008.8A CN104427519B (en) | 2013-08-23 | 2013-08-23 | IP address ownership place management method and device |
PCT/CN2014/084413 WO2015024476A1 (en) | 2013-08-23 | 2014-08-14 | A method, server, and computer program product for managing ip address attributions |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310373008.8A CN104427519B (en) | 2013-08-23 | 2013-08-23 | IP address ownership place management method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104427519A true CN104427519A (en) | 2015-03-18 |
CN104427519B CN104427519B (en) | 2019-01-11 |
Family
ID=52483070
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310373008.8A Active CN104427519B (en) | 2013-08-23 | 2013-08-23 | IP address ownership place management method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104427519B (en) |
WO (1) | WO2015024476A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105554174A (en) * | 2015-12-22 | 2016-05-04 | 腾讯科技(深圳)有限公司 | Attribution address management method and attribution address management system for network protocol address |
CN107622065A (en) * | 2016-07-14 | 2018-01-23 | 腾讯科技(深圳)有限公司 | A kind of data processing method and server |
CN108228591A (en) * | 2016-12-13 | 2018-06-29 | 北京锐安科技有限公司 | A kind of network behavior recognition methods and device based on mass data |
CN108573018A (en) * | 2018-01-12 | 2018-09-25 | 北京金山云网络技术有限公司 | IP library generating methods, device, electronic equipment and computer readable storage medium |
CN108667828A (en) * | 2018-04-25 | 2018-10-16 | 咪咕文化科技有限公司 | Risk control method and device and storage medium |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111445210B (en) * | 2020-03-27 | 2023-10-20 | 咪咕文化科技有限公司 | Account cleaning method and device, electronic equipment and storage medium |
CN112184185B (en) * | 2020-10-27 | 2024-02-02 | 陈双红 | ERP system of commercial concrete mixing plant |
CN112671951B (en) * | 2020-12-31 | 2022-07-05 | 广州虎牙科技有限公司 | IP library correction method, device, server and storage medium |
CN114666164B (en) * | 2022-05-19 | 2022-10-25 | 南通环典计算机技术有限公司 | Computer network user identity login verification system and method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1327853A2 (en) * | 2002-01-10 | 2003-07-16 | Navigation Technologies Corporation | Method and system using a hand-gesture responsive device for collecting data for a geographic database |
CN101355595A (en) * | 2008-09-17 | 2009-01-28 | 北京搜狗科技发展有限公司 | Method and apparatus for locating physical location of IP address |
CN101420376A (en) * | 2008-11-19 | 2009-04-29 | 腾讯科技(深圳)有限公司 | Method and device for updating data |
CN101467003A (en) * | 2006-06-30 | 2009-06-24 | 电子地图北美公司 | Method and system for collecting user update requests regarding geographic data to support automated analysis, processing and geographic data updates |
CN101608925A (en) * | 2009-07-10 | 2009-12-23 | 北京四维图新科技股份有限公司 | The feedback method of information of geographic elements of navigation electronic map, terminal and server |
CN102014366A (en) * | 2009-09-04 | 2011-04-13 | 腾讯科技(深圳)有限公司 | Method, device and system for updating IP address home information |
-
2013
- 2013-08-23 CN CN201310373008.8A patent/CN104427519B/en active Active
-
2014
- 2014-08-14 WO PCT/CN2014/084413 patent/WO2015024476A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1327853A2 (en) * | 2002-01-10 | 2003-07-16 | Navigation Technologies Corporation | Method and system using a hand-gesture responsive device for collecting data for a geographic database |
CN101467003A (en) * | 2006-06-30 | 2009-06-24 | 电子地图北美公司 | Method and system for collecting user update requests regarding geographic data to support automated analysis, processing and geographic data updates |
CN101355595A (en) * | 2008-09-17 | 2009-01-28 | 北京搜狗科技发展有限公司 | Method and apparatus for locating physical location of IP address |
CN101420376A (en) * | 2008-11-19 | 2009-04-29 | 腾讯科技(深圳)有限公司 | Method and device for updating data |
CN101608925A (en) * | 2009-07-10 | 2009-12-23 | 北京四维图新科技股份有限公司 | The feedback method of information of geographic elements of navigation electronic map, terminal and server |
CN102014366A (en) * | 2009-09-04 | 2011-04-13 | 腾讯科技(深圳)有限公司 | Method, device and system for updating IP address home information |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105554174A (en) * | 2015-12-22 | 2016-05-04 | 腾讯科技(深圳)有限公司 | Attribution address management method and attribution address management system for network protocol address |
CN107622065A (en) * | 2016-07-14 | 2018-01-23 | 腾讯科技(深圳)有限公司 | A kind of data processing method and server |
CN108228591A (en) * | 2016-12-13 | 2018-06-29 | 北京锐安科技有限公司 | A kind of network behavior recognition methods and device based on mass data |
CN108573018A (en) * | 2018-01-12 | 2018-09-25 | 北京金山云网络技术有限公司 | IP library generating methods, device, electronic equipment and computer readable storage medium |
CN108667828A (en) * | 2018-04-25 | 2018-10-16 | 咪咕文化科技有限公司 | Risk control method and device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2015024476A1 (en) | 2015-02-26 |
CN104427519B (en) | 2019-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104427519A (en) | Method and device for managing attributions of IP (Internet Protocol) addresses | |
KR101782810B1 (en) | Method, apparatus, and system for determining a location of a terminal | |
CN102546656B (en) | Method, system and device for finding user in social network | |
CN101853287B (en) | Data compression quick retrieval file system and method thereof | |
CN108282508B (en) | Geographic position determining method and device and information pushing method and device | |
CN103716391A (en) | Implementation method for content caching and router | |
KR20110095874A (en) | Providing customized information to a user based on identifying a trend | |
CN101442558B (en) | Method and system for providing index service for P2SP network | |
CN102546668B (en) | Method, device and system for counting unique visitors | |
CN105827706A (en) | Information push device and method | |
US20100082749A1 (en) | Retrospective spam filtering | |
CN109740089A (en) | Collecting method, device, system, readable storage medium storing program for executing and electronic equipment | |
CN107454126B (en) | Message pushing method, server and terminal | |
US9258377B2 (en) | Publish information on website | |
CN103944799B (en) | Message treatment method and system | |
CN106951446A (en) | Financial Information method for pushing and device | |
CN106713323A (en) | Page content preview method, client, server and system | |
CN101645854A (en) | Method, device and system for acquiring user information | |
CN104618410B (en) | Resource supplying method and apparatus | |
CN107070991A (en) | Network data buffer storage and system | |
CN104639593A (en) | Information sharing method and system, browser and server | |
CN111767481B (en) | Access processing method, device, equipment and storage medium | |
CN106934708B (en) | Event recording method and device | |
CN104348634A (en) | Interaction message management method, device and management system | |
CN108809909A (en) | Data processing method and data processing equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |