CN105991780B - A kind of IP address positioning system and method based on internet-ip address location data - Google Patents
A kind of IP address positioning system and method based on internet-ip address location data Download PDFInfo
- Publication number
- CN105991780B CN105991780B CN201510057358.2A CN201510057358A CN105991780B CN 105991780 B CN105991780 B CN 105991780B CN 201510057358 A CN201510057358 A CN 201510057358A CN 105991780 B CN105991780 B CN 105991780B
- Authority
- CN
- China
- Prior art keywords
- internet
- address
- data
- address location
- location data
- 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.)
- Expired - Fee Related
Links
Landscapes
- Information Transfer Between Computers (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a kind of IP address positioning system and method based on internet-ip address location data, and system includes data extraction layer, data analysis layer, data storage layer and verifying fused layer;Method includes initial configuration parameter, and collected internet-ip address location data is normalized;Internet-ip address location data is reversely verified;Internet-ip address location data is merged.The present invention merges multiple internet-ip address location databases, is complementary to one another them and perfect, improves data cover face;It has used memory mirror to carry out the typing of data, has greatly improved efficiency;Using reversed verifying and the Data fusion technique based on trust, the data precision is improved.
Description
Technical field
The present invention relates to IP address position positioning fields, and in particular to a kind of IP based on internet-ip address location data
Address location system and method.
Background technique
IP address positioning, which refers to according to the IP address of the network equipment, determines its geographical location, that is, determines the administrative area of IP address
Information.In recent years, the network application based on IP address geographical location emerges one after another, and mainly includes targeted ads, social networks, net
Network safety, network service performance optimization etc..The foundation in IP address positioning library and its raising of positioning accuracy, accuracy have become and work as
A urgent problem to be solved on modern internet.
There is IP2LOCATION in existing mainstream IP address positioning library, purity, IP138, Sina, washes in a pan on the internet at present
Treasured etc..These positioning libraries show that data acquisition interface is different, data appearance form is different, the spy of positioning accuracy difference
Point, at the same its order of accuarcy also the difference in the country locating for the IP address and area due to difference.
These databases present on internet mainly utilize ICANN (Internet Corporation for
Assigned Names and Numbers, Internet Name and Number Assignment Agency) distribution information, operator's IP address
Dispose distribution condition, user's active feedback is submitted, obtain by application program, positions the modes structures such as library with reference to other IP address
It builds, the disadvantages of orientation conflicts are more between there is renewal speed slow, library.
Summary of the invention
To solve the problems, such as that IP address position inaccurate, covering are incomplete, the present invention provides one kind based on internet ip
The IP address positioning system and method for location location data are improved using the technologies such as data normalization, reversed verifying, data fusion
The accuracy of IP address positioning.
In order to achieve the above-mentioned object of the invention, the present invention adopts the following technical scheme that:
The present invention provides a kind of IP address positioning system based on internet-ip address location data, and the system comprises numbers
According to extract layer, data analysis layer, data storage layer and verifying fused layer;
The data extraction layer acquires internet-ip address location data, and the data analysis layer is by collected internet
IP address location data is normalized, the internet ip after the data storage layer memory mirror optimization normalized
Address location data, the verifying fused layer are verified and are merged to internet-ip address location data.
The acquisition plug-in unit of the data extraction layer includes IP2LOCATION plug-in unit, Sina's plug-in unit, Taobao's plug-in unit, pure inserts
Part and IP138 plug-in unit.
The present invention also provides a kind of IP address localization method based on internet-ip address location data, the method packets
It includes:
Initial configuration parameter, and collected internet-ip address location data is normalized;
Internet-ip address location data is reversely verified;
Internet-ip address location data is merged.
The configuration parameter includes internet-ip address positioning library name, interface, gathering line number of passes, collection period and acquisition
Rate.
Collected internet-ip address location data is normalized, is united by using participle and manual examination and verification
The format of one internet-ip address location data, and internet-ip address location data is encoded, form IP address coding
Table.
Reversed verifying internet-ip address location data, comprising:
It is encoded using memory mirror storage IP address, by the IP address coding and the internet of data extraction layer acquisition of storage
IP address location data is compared, and selects the internet-ip address location data that out position changes and internet ip is recorded
In address location database, while the IP address that the data in memory mirror are updated to data extraction layer acquisition being encoded;
Visited using traceroute method and take the routing iinformation of IP address, and by verifying IP address of router data and by
Whether the internet-ip address location data of verifying matches, and then judges the accuracy of internet-ip address location database.
Internet-ip address location data merges
Establish trust model;
Internet-ip address location database weight is improved using bonus policy.
The trust model includes subjective trust and directly trusts;
Trusted entities and the trusting relationship being trusted between entity are decided by the subjective observation of trusted entities, real according to trusting
Intention, state and the behavial factor of body assess the value for being trusted entity, obtain subjective trust;
Trusted entities utilize interaction time, comment the dynamic for being trusted the historical behavior of entity, current behavior is trusted
Estimate, is formed and directly trusted.
If subjective trust and direct trust use T respectivelysubAnd TdirIt indicates, then trusts by subjective trust and directly and codetermine
Trust value indicate have with T:
T=α Tsub+βTdir (1)
Wherein, the significance level that α and β respectively indicates subjective trust and directly trusts, i.e. subjective trust weight and objective letter
Appoint weight, and meets alpha+beta=1.
If observing time, current time use t respectivelyref、t0It indicates;If user proposes internet-ip address location database
The satisfied total degree of the internet-ip address location data of confession is denoted as N, and internet-ip address location database persistently provides satisfaction
The times N of servicesuc, being satisfied with threshold value is Thsuc, amendment type (1) obtains revised scoring trust value T ', and T ' is greater than Thsuc's
Service is satisfactory service;T ' expression are as follows:
T '=α Tsub+βTdir+RW (2)
Wherein, RW indicates reward value, continues favorable comment by user, reversely verifies accuracy, internet-ip address location data
Welcome degree determines;
Observing time trefInterior, reward value RW control is 0.5 hereinafter, decaying at any time simultaneously;RW is indicated are as follows:
Wherein,Indicate attenuation function;S is rate of decay, and when 0 < s≤1, s=0 indicates undamped;tkFor corresponding to
The time point of last time evaluation;L(tk) indicate tkRelative to current time t0Time gap.
Compared with prior art, the beneficial effects of the present invention are:
A. the present invention merges multiple internet-ip address location databases, is complementary to one another them and perfect, improves number
According to covering surface;
B. it has used memory mirror to carry out the typing of data, has greatly improved efficiency;
C. using reversed verifying and the Data fusion technique based on trust, the data precision is improved.
Detailed description of the invention
Fig. 1 is the IP address positioning system structure signal in the embodiment of the present invention based on internet-ip address location data
Figure;
Fig. 2 is that data update optimization logical flow chart in IP address location data Kuku in the embodiment of the present invention.
Specific embodiment
The present invention is described in further detail below in conjunction with the accompanying drawings.
The present invention relates to IP address position positioning fields, i.e., the specific location of the IP address is determined by IP address value.This
Invention positions library data by a variety of mainstream IP address in acquisition now internet, using Data fusion technique to improve IP address
The method of positioning accuracy, and ultimately form corresponding IP address positioning library.Which employs internet-ip address positioning library data to adopt
System performance is realized and improved to the methods of collection technology, data normalization technology, reversed verification technique, Data fusion technique.
Such as Fig. 1, the present invention provides a kind of IP address positioning system based on internet-ip address location data, the system
Including data extraction layer, data analysis layer, data storage layer and verifying fused layer;
The data extraction layer acquires internet-ip address location data, and the data analysis layer is by collected internet
IP address location data is normalized, the internet ip after the data storage layer memory mirror optimization normalized
Address location data (such as Fig. 2), the verifying fused layer are verified and are merged to internet-ip address location data.
The acquisition plug-in unit of the data extraction layer includes IP2LOCATION plug-in unit, Sina's plug-in unit, Taobao's plug-in unit, pure inserts
Part and IP138 plug-in unit.
The present invention also provides a kind of IP address localization method based on internet-ip address location data, the method packets
It includes:
Initial configuration parameter, and collected internet-ip address location data is normalized;
Internet-ip address location data is reversely verified;
Internet-ip address location data is merged.
The configuration parameter includes internet-ip address positioning library name, interface, gathering line number of passes, collection period and acquisition
Rate.
Due to several mainstream internet-ip address location databases (IP2LOCATION, purity, Taobao, Sina, IP138)
In the presence of the external mode for providing data is different, data format is different, data precision is different, data content is there are differences such as alias,
Therefore the present invention acquires internet-ip address location data in such a way that load acquires plug-in unit, and is normalized, and leads to
Cross and unify the format of internet-ip address location data using participle and manual examination and verification, and to internet-ip address location data into
Row coding, forms IP address coding schedule.
IP address location information has the feature frequently changed, and also therefore there are data changes for each IP address data in internet
Not in time, the situation of location information positioning mistake.Therefore the present invention is reversely verified by internet-ip address location data,
Include:
It is encoded using memory mirror storage IP address, by the IP address coding and the internet of data extraction layer acquisition of storage
IP address location data is compared, and selects the internet-ip address location data that out position changes and internet ip is recorded
In address location database, while the IP address that the data in memory mirror are updated to data extraction layer acquisition being encoded;
Visited using traceroute method and take the routing iinformation of IP address, and by verifying IP address of router data and by
Whether the internet-ip address location data of verifying matches, and then judges the accuracy of internet-ip address location database.
Since the acquisition of IP address location information positions library from multiple IP address on internet, unified IP can not be provided
Location position result, it is possible to which there are data the case where conflict.Therefore the present invention needs to complete internet-ip address location data
Fusion;Include:
Establish trust model;
Internet-ip address location database weight is improved using bonus policy.
The trust model includes subjective trust and directly trusts;
Trusted entities and the trusting relationship being trusted between entity are decided by the subjective observation of trusted entities, real according to trusting
Intention, state and the behavial factor of body assess the value for being trusted entity, obtain subjective trust;In addition, only by
The subjective trust of user can not obtain best effect, and obtained trust value is simultaneously inaccurate, and then trusted entities utilize interaction
Time, the dynamic evaluation to the historical behavior of entity is trusted, current behavior is trusted form and directly trust.
If subjective trust and direct trust use T respectivelysubAnd TdirIt indicates, then trusts by subjective trust and directly and codetermine
Trust value indicate have with T:
T=α Tsub+βTdir (1)
Wherein, the significance level that α and β respectively indicates subjective trust and directly trusts, i.e. subjective trust weight and objective letter
Appoint weight, and meet alpha+beta=1, it indicates to depend on the specific requirement of IP address location information entities, if trusted entities more phase
The direct experience of oneself is believed, then just selecting biggish direct trust value weight.
If observing time, current time use t respectivelyref、t0It indicates;If user proposes internet-ip address location database
The satisfied total degree of the internet-ip address location data of confession is denoted as N, and internet-ip address location database persistently provides satisfaction
The times N of servicesuc, being satisfied with threshold value is Thsuc, amendment type (1) obtains revised scoring trust value T ', and T ' is greater than Thsuc's
Service is satisfactory service;T ' expression are as follows:
T '=α Tsub+βTdir+RW (2)
Wherein, RW indicates reward value, continues favorable comment by user, reversely verifies accuracy, internet-ip address location data
Welcome degree determines;
Observing time trefInterior, reward value RW control is 0.5 hereinafter, decaying at any time simultaneously;RW is indicated are as follows:
Wherein,Indicate attenuation function;S is rate of decay, and when 0 < s≤1, s=0 indicates undamped;tkFor corresponding to
The time point of last time evaluation;L(tk) indicate tkRelative to current time t0Time gap.For from different internet ips
The internet-ip address location data of location location database, the initial value of s can be set to definite value, can also pass through the anti-of user
Feedforward information dynamically adjusts its s value.
The present invention provides one kind based on internet-ip address location database, and combines reversed verifying, based on trust model
Data fusion method verified, Perfect the work, ultimately form the relatively high internet-ip address localization method of accuracy.
It has the advantages that (1) merges multiple internet-ip address location databases, is complementary to one another them and perfect, improves number
According to covering surface;(2) it has used memory mirror to carry out the typing of data, has greatly improved efficiency;(3) using reversed verifying and base
In the Data fusion technique of trust, the data precision is improved.
Finally it should be noted that: the above embodiments are merely illustrative of the technical scheme of the present invention and are not intended to be limiting thereof, institute
The those of ordinary skill in category field can still modify to a specific embodiment of the invention referring to above-described embodiment or
Equivalent replacement, these are applying for this pending hair without departing from any modification of spirit and scope of the invention or equivalent replacement
Within bright claims.
Claims (3)
1. a kind of IP address localization method based on internet-ip address location data, it is characterised in that: the method passes through base
It is realized in the IP address positioning system of internet-ip address location data;The system comprises data extraction layer, data analysis layer,
Data storage layer and verifying fused layer;
The data extraction layer acquires internet-ip address location data, and the data analysis layer is by collected internet ip
Location location data is normalized, the internet-ip address after the data storage layer memory mirror optimization normalized
Location data, the verifying fused layer are verified and are merged to internet-ip address location data;
The acquisition plug-in unit of the data extraction layer include IP2LOCATION plug-in unit, Sina's plug-in unit, Taobao's plug-in unit, pure plug-in unit and
IP138 plug-in unit;
The described method includes:
Initial configuration parameter, and collected internet-ip address location data is normalized;
Internet-ip address location data is reversely verified;
Internet-ip address location data is merged;
Reversed verifying internet-ip address location data, comprising:
It is encoded using memory mirror storage IP address, with the internet ip of data extraction layer acquisition by the IP address coding of storage
Location location data is compared, and selects the internet-ip address location data that out position changes and internet-ip address is recorded
In location database, while the IP address that the data in memory mirror are updated to data extraction layer acquisition being encoded;
The routing iinformation for taking IP address is visited using traceroute method, and by verifying IP address of router data and is verified
Internet-ip address location data whether match, and then judge the accuracy of internet-ip address location database;
Internet-ip address location data merges
Establish trust model;
Internet-ip address location database weight is improved using bonus policy;
The trust model includes subjective trust and directly trusts;
Trusted entities and the trusting relationship being trusted between entity are decided by the subjective observation of trusted entities, according to trusted entities
Intention, state and behavial factor assess the value for being trusted entity, obtain subjective trust;
Trusted entities utilize interaction time, the dynamic evaluation to the historical behavior of entity is trusted, current behavior is trusted, shape
At directly trust;
If subjective trust and direct trust use T respectivelysubAnd TdirIt indicates, then trusts the letter codetermined by subjective trust and directly
Value is appointed to indicate have with T:
T=α Tsub+βTdir (1)
Wherein, the significance level that α and β respectively indicates subjective trust and directly trusts, i.e. subjective trust weight and objective trust power
Value, and meet alpha+beta=1;
If observing time, current time use t respectivelyref、t0It indicates;If user provides internet-ip address location database mutual
The satisfied total degree of networking IP address location data is denoted as N, and internet-ip address location database persistently provides satisfactory service
Times Nsuc, being satisfied with threshold value is Thsuc, amendment type (1) obtains revised scoring trust value T ', and T ' is greater than ThsucService be
Satisfactory service;T ' expression are as follows:
T '=α Tsub+βTdir+RW (2)
Wherein, RW indicates reward value, continues favorable comment by user, reversely verifies accuracy, the welcome of internet-ip address location data
Degree determines;
Observing time trefInterior, reward value RW control is 0.5 hereinafter, decaying at any time simultaneously;RW is indicated are as follows:
Wherein,Indicate attenuation function;S is rate of decay, and when 0 < s≤1, s=0 indicates undamped;tkFor corresponding to last time
The time point of evaluation;L(tk) indicate tkRelative to current time t0Time gap.
2. the IP address localization method according to claim 1 based on internet-ip address location data, it is characterised in that:
The configuration parameter includes internet-ip address positioning library name, interface, gathering line number of passes, collection period and acquisition rate.
3. the IP address localization method according to claim 1 based on internet-ip address location data, it is characterised in that:
Collected internet-ip address location data is normalized, internet is unified by using participle and manual examination and verification
The format of IP address location data, and internet-ip address location data is encoded, form IP address coding schedule.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510057358.2A CN105991780B (en) | 2015-02-04 | 2015-02-04 | A kind of IP address positioning system and method based on internet-ip address location data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510057358.2A CN105991780B (en) | 2015-02-04 | 2015-02-04 | A kind of IP address positioning system and method based on internet-ip address location data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105991780A CN105991780A (en) | 2016-10-05 |
CN105991780B true CN105991780B (en) | 2019-01-25 |
Family
ID=57037116
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510057358.2A Expired - Fee Related CN105991780B (en) | 2015-02-04 | 2015-02-04 | A kind of IP address positioning system and method based on internet-ip address location data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105991780B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107135281B (en) * | 2017-03-13 | 2020-03-31 | 国家计算机网络与信息安全管理中心 | IP region feature extraction method based on multi-data source fusion |
CN112036481B (en) * | 2020-08-31 | 2024-04-05 | 国家电网有限公司 | Reverse verification method for improving fusion effect |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101261717A (en) * | 2008-04-09 | 2008-09-10 | 北京航空航天大学 | Subjective trust evaluation method based on cloud model |
CN101719824A (en) * | 2009-11-24 | 2010-06-02 | 北京信息科技大学 | Network behavior detection-based trust evaluation system and network behavior detection-based trust evaluation method |
CN103259877A (en) * | 2013-04-15 | 2013-08-21 | 北京百度网讯科技有限公司 | IP address geographic position determination method and system |
CN103412918A (en) * | 2013-08-08 | 2013-11-27 | 南京邮电大学 | Quality of service (QoS) and reputation based method for evaluating service trust levels |
CN103678676A (en) * | 2013-12-25 | 2014-03-26 | 乐视网信息技术(北京)股份有限公司 | IP library processing method and system |
-
2015
- 2015-02-04 CN CN201510057358.2A patent/CN105991780B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101261717A (en) * | 2008-04-09 | 2008-09-10 | 北京航空航天大学 | Subjective trust evaluation method based on cloud model |
CN101719824A (en) * | 2009-11-24 | 2010-06-02 | 北京信息科技大学 | Network behavior detection-based trust evaluation system and network behavior detection-based trust evaluation method |
CN103259877A (en) * | 2013-04-15 | 2013-08-21 | 北京百度网讯科技有限公司 | IP address geographic position determination method and system |
CN103412918A (en) * | 2013-08-08 | 2013-11-27 | 南京邮电大学 | Quality of service (QoS) and reputation based method for evaluating service trust levels |
CN103678676A (en) * | 2013-12-25 | 2014-03-26 | 乐视网信息技术(北京)股份有限公司 | IP library processing method and system |
Non-Patent Citations (1)
Title |
---|
"一种评估国内IP地址库可信度的方法";宋健等;《计算机应用》;20141215;4-6页,15页 |
Also Published As
Publication number | Publication date |
---|---|
CN105991780A (en) | 2016-10-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7693699B2 (en) | Incremental update of virtual devices in a modeled network | |
CN103347091B (en) | The sharing method of document annotation and cloud server | |
US7995498B2 (en) | Method and system for providing configuration of network elements through hierarchical inheritance | |
CN106131086B (en) | A kind of matching process and device of accesses control list | |
CN106549790B (en) | A kind of update method and device of the mapping table for tracing to the source | |
CN105991780B (en) | A kind of IP address positioning system and method based on internet-ip address location data | |
CN106803825A (en) | Anonymous zone building method based on query context | |
CN106713034A (en) | Wechat public account making user group activation monitoring method and apparatus | |
CN110471995A (en) | A kind of cross-cutting information share-and-exchange data model modeling method | |
CN102427445A (en) | Safe auditing method of IT simulation infrastructure offline compliance | |
CN109547872A (en) | A kind of network plan method and device | |
CN103001994A (en) | Friend recommendation method and friend recommendation device | |
CN104102699B (en) | A kind of subgraph search method in the set of graphs that clusters | |
CN105808627A (en) | POI information updating method and device, POI information search method and device as well as POI data packet generation method and device | |
CN104184601B (en) | The acquisition methods and device of user's online hours | |
CN105262800B (en) | A kind of authority control method and system applied to cluster NAS file system | |
CN107845409A (en) | A kind of processing method and processing device of health data | |
CN107018000A (en) | Account correlating method and device | |
CN104468387B (en) | The distributed storage method of OSPF link-state informations in expandable route | |
CN106294456B (en) | The method and apparatus of machine learning | |
CN104853315B (en) | The map-matching method and device of a kind of indoor positioning | |
CN110427352A (en) | A kind of data self mapping method based on R2RML standard | |
CN105812168B (en) | A kind of method and apparatus for drawing network topological diagram | |
CN109684695A (en) | A kind of electrical design method and apparatus | |
CN108133125A (en) | The access method and system of a kind of application program |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190125 Termination date: 20220204 |