CN106899548A - A kind of IP address modification method and device - Google Patents
A kind of IP address modification method and device Download PDFInfo
- Publication number
- CN106899548A CN106899548A CN201510958924.7A CN201510958924A CN106899548A CN 106899548 A CN106899548 A CN 106899548A CN 201510958924 A CN201510958924 A CN 201510958924A CN 106899548 A CN106899548 A CN 106899548A
- Authority
- CN
- China
- Prior art keywords
- address
- ready
- access request
- request
- server
- 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
- 238000002715 modification method Methods 0.000 title claims abstract description 16
- 238000000034 method Methods 0.000 claims abstract description 45
- 239000000284 extract Substances 0.000 claims abstract description 32
- 230000000977 initiatory effect Effects 0.000 claims abstract description 9
- 238000012546 transfer Methods 0.000 claims description 74
- 238000012795 verification Methods 0.000 claims description 15
- 238000000605 extraction Methods 0.000 claims description 12
- 230000005540 biological transmission Effects 0.000 claims description 11
- 230000009467 reduction Effects 0.000 abstract description 5
- 230000008859 change Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 238000004321 preservation Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 3
- 238000013507 mapping Methods 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 238000000205 computational method Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000000151 deposition Methods 0.000 description 2
- 230000008520 organization Effects 0.000 description 2
- 230000008439 repair process Effects 0.000 description 2
- 238000010009 beating Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000001035 drying Methods 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000002073 mitogenetic effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- 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/09—Mapping addresses
- H04L61/25—Mapping addresses of the same type
- H04L61/2503—Translation of Internet protocol [IP] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Information Transfer Between Computers (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the invention provides a kind of IP address modification method and a kind of IP address correcting device.Methods described includes:After client sends access request to web server, the first IP address of the access request is sent to Advertisement Server by web server;What content delivery network service device received the correspondence access request initiated by the client gets request ready, and is got ready request and carry out authentication to described by Authentication server;If content distributing server receives the result being verified returned by Authentication server, extract the correspondence access request in request and get IP address ready and be sent to Advertisement Server from described getting ready;Getting IP address and first IP address ready as described in Advertisement Server by the same client of correspondence carries out matching primitives, corrects the real IP address of the access request.Achieving can be modified to the first IP address for obtaining, and revised IP address is more agreed with region where the client for initiating access request, and the probability that reduction is deducted fees by mistake reduces the expenses of advertisement putting person.
Description
Technical field
The present invention relates to software technology field, more particularly to a kind of IP address modification method and a kind of IP
Address correction device.
Background technology
With the fast development of communication network in recent years, weight is had become by Web Publishing relevant information
The information published method wanted.Operation platform can provide corresponding network clothes for the issue of the network information
Business, by obtaining the IP address of the user for accessing the network information, to count the click of map network resource
Quantity, and publisher to the network information collects corresponding expense.
Under normal circumstances, the web advertisement point region is issued, for example, advertisement putting person delivers
In certain web advertisement in Shanghai, the user in only Shanghai accesses the web advertisement, and advertising platform could pin
This time is accessed advertisement putting expense is taken off from the account of the advertisement putting person.The use of other regions
Family, such as Beijing user, when accessing the web advertisement, advertising platform be can not the advertisement putting person account
Advertisement putting expense is taken off in family, otherwise, this is deducted fees, violate the advertisement putting of advertisement putting person
Purpose, extra button has gone its expense.
But, in actual applications, due to the web advertisement that advertising platform is delivered in web server
May by the internal transfers of other ISP (Internet Service Provider, ISP),
After clicking on by the web advertisement of ISP transfers, the route of user's correspondence client just there occurs so user
Change, then the first IP address that web server is obtained from the access request of the transfer is exactly nearest
One IP address of the ISP of transfer, rather than the IP address of client.If now according to IP ground
Location is gone to deduct fees this click, then there may be button by mistake.In such as previous example, advertisement putting
Person delivers the web advertisement in Shanghai, and the client for initiating access request was Pekinese originally, passes through
ISP transfers, nearest ISP is Pekinese's IP address, then web server is obtained from access request
The first IP address be exactly Pekinese's IP address, now advertising platform then thinks that this access is Pekinese
Access, therefore it can be deducted fees, so as to produce deduct fees by mistake, cause the expense of advertisement putting person
Loss.
The content of the invention
In view of the above problems, it is proposed that the present invention overcomes above mentioned problem or at least portion to provide one kind
The IP address modification method and corresponding IP address correcting device for solving the above problems with dividing.
According to one aspect of the present invention, there is provided a kind of IP address modification method, including:
After client sends access request to web server, web server is by the access request
The first IP address be sent to Advertisement Server;
Content delivery network service device receives the correspondence access request initiated by the client and beats
Point request, and get request ready and carry out authentication to described by Authentication server;
If content distributing server receives the knot being verified returned by Authentication server
Really, then extract getting IP address ready and being sent to wide for the correspondence access request in request from described getting ready
Accuse server;
IP address and first IP address are got ready as described in Advertisement Server by the same client of correspondence
Matching primitives are carried out, the real IP address of the access request is corrected.
Preferably, it is described to get request ready for HTTPS gets request ready;
Further, the content delivery network service device receives the corresponding institute initiated by the client
State the request of getting ready of access request, and get request ready and carry out identity to described by Authentication server
The step of checking, including:
Content delivery network service device is being received by the client initiation correspondence access request
After HTTPS gets request ready, get the HTTPS ready authentication informations in request and be transmitted to identity
Authentication server;
The authentication information that the Authentication server is got ready the HTTPS in request is tested
Card;If the verification passes, then HTTPS described in content of announcement Distributor get ready requests verification lead to
Cross.
Preferably, the content delivery network service device is receiving the HTTPS that is initiated by the client
After getting request ready, the authentication information that the HTTPS is got ready in request is transmitted to authentication clothes
The step of business device, including:
Content delivery network service device gets request ready receiving the HTTPS that is initiated by the client
Afterwards, by the HTTPS get ready request in client certificate and using public key encryption data forwarding to
Authentication server;
Further, the Authentication server gets the HTTPS authentication in request ready
The step of information is verified, including:
Private key of the Authentication server in the server certificate and certificate being locally stored, judges
Whether whether client certificate is legal, and the data of the use public key encryption can be solved
It is close.
Preferably, described after client sends access request to web server, web server will
The step of first IP address of the access request is sent to Advertisement Server, including:
Web server obtains the first IP address and overall identification is concurrent from the access request for receiving
Advertisement Server is given to be recorded;The overall identification is write by client when access request is sent
In entering the access request.
Preferably, it is described from it is described get ready extract the correspondence access request in request get IP address ready
And the step of be sent to Advertisement Server, including:
From it is described to get ready extract in request get IP address and overall identification ready and transmission is to Advertisement Server
To be recorded.
Preferably, it is described to get IP and described the described in the same client of correspondence ready as Advertisement Server
The step of one IP address carries out matching primitives, the real IP address of the amendment access request, including:
Search and respectively get IP address and each first IP address ready under same global identifier;
Matching primitives are carried out to the IP address and the first IP address got ready, the first IP address correspondence is judged
Access request whether there is transfer;
If there is transfer in the corresponding access request of first IP address, according to getting IP address ready,
Correct the real IP address of the access request.
Preferably, it is described that matching primitives are carried out to the IP address and the first IP address got ready, judge
The step of whether corresponding access request of one IP address there is transfer, including:
Judge each first IP address under the overall identification and whether respectively get IP address ready different;
If each first IP address under the overall identification is from respectively to get IP address ready different, it is determined that
There is transfer in the corresponding access request of one IP address.
Preferably, the basis gets IP address ready, corrects the step of the real IP address of the access request
Suddenly, including:
Judgement is respectively got ready in IP address, and whether the same number for getting IP address ready exceedes threshold value;
If in respectively getting IP address ready, the same number for getting IP address ready exceedes threshold value, then exceeding
Threshold value gets real IP address of the IP address as the access request ready.
Preferably, it is described that matching primitives are carried out to the IP address and the first IP address got ready, judge
The step of whether corresponding access request of one IP address there is transfer, including:
Whether part is different from IP address is respectively got ready to judge each first IP address under the overall identification;
If each first IP address under the overall identification is different from IP address part is respectively got ready, really
There is transfer in the access request in fixed first IP address corresponding to the part different from IP address is respectively got ready.
Preferably, the basis gets IP address ready, corrects the step of the real IP address of the access request
Suddenly, including:
For the access request corresponding to part different from IP address is respectively got ready in the first IP address, repair
The true address of just described access request be in the first IP address with the IP for respectively getting IP address same section ready
Address.
Preferably, in the IP and described of being got ready described in the same client of correspondence as Advertisement Server
After the step of first IP address carries out matching primitives, the real IP address of the amendment access request,
Also include:
For the access request that have modified after real IP address, according to real IP address, retrieval and/or
Deliver the web advertisement data based on real IP address.
Preferably, in the IP and described of being got ready described in the same client of correspondence as Advertisement Server
After the step of first IP address carries out matching primitives, the real IP address of the amendment access request,
Also include:
For the access request that have modified after real IP address, according to real IP address, recommend with it is described
The corresponding customized information of real IP address.
Preferably, it is described from it is described get ready extract the correspondence access request in request get IP address ready
And the step of be sent to Advertisement Server, including:
From the IP address of getting ready got ready and the correspondence access request is extracted in request, and will described in beat
Point IP address is sent to Advertisement Server by getting collection server ready.
According to another aspect of the present invention, there is provided a kind of IP address correcting device, including:
First IP address sending module, is suitable to after client sends access request to web server,
First IP address of the access request is sent to Advertisement Server by web server;
Get request authentication module ready, be suitable to be received by the client by content delivery network service device
That holds the correspondence access request initiated gets request ready, and is beaten described by Authentication server
Point request carries out authentication;
Get request extraction module ready, be suitable to be received by Authentication server in content distributing server
During the result being verified for returning, extract the correspondence access request in request and beat from described getting ready
Point IP address is simultaneously sent to Advertisement Server;
Real IP address correcting module, is suitable to be beaten as described in Advertisement Server by the same client of correspondence
Point IP address and first IP address carry out matching primitives, correct the real IP ground of the access request
Location.
Preferably, it is described to get request ready for HTTPS gets request ready;
Further, the request authentication module of getting ready includes:
HTTPS gets request authentication information sending submodule ready, is suitable to by content delivery network service
Device is being received after the HTTPS that the correspondence access request is initiated by the client gets request ready, will
The authentication information that the HTTPS is got ready in request is transmitted to Authentication server;
HTTPS gets request authentication information checking submodule ready, is suitable to by the authentication service
The authentication information that device is got ready the HTTPS in request is verified;If the verification passes, then
HTTPS described in content of announcement Distributor gets requests verification ready and passes through.
Preferably, the HTTPS gets request authentication information checking submodule ready and includes:
Forwarding submodule, is suitable to be initiated by the client receiving in content delivery network service device
HTTPS get ready request after, by the HTTPS get ready request in client certificate and use public key
The data forwarding of encryption is to Authentication server;
Further, the HTTPS gets request authentication information checking submodule ready and includes:
Whether the legal judging submodule of client certificate, is suitable to by Authentication server according to locally depositing
Private key in the server certificate and certificate of storage, judges whether client certificate is legal, and whether
The data of the use public key encryption can be decrypted.
Preferably, the first IP address sending module includes:
First IP address and overall identification obtain record sub module, are suitable to by Web server from receiving
Access request in, obtain the first IP address and overall identification and be sent to Advertisement Server to be remembered
Record;During the overall identification writes the access request by client when access request is sent.
Preferably, the request extraction module of getting ready includes:
IP address and overall identification extract sending submodule, be suitable to from it is described to get ready extract in request get ready
IP address and overall identification are simultaneously sent to Advertisement Server to be recorded.
Preferably, the real IP address correcting module includes:
Submodule is searched, is suitable to search under same global identifier and is respectively got IP address and the IP of Ge mono- ready
Address;
Access request judging submodule, is suitable to get IP address ready and the first IP address is matched to described
Calculate, judge whether the corresponding access request of the first IP address occurs transfer;
Real IP address amendment submodule, is suitable to access request generation corresponding in first IP address
During transfer, according to IP address is got ready, the real IP address of the access request is corrected.
Preferably, the access request judging submodule includes:
Each first IP address with respectively get IP address judging submodule ready, under being suitable to judge the overall identification
Each first IP address from whether respectively get IP address ready different;
Access request transfer determination sub-module, be suitable to each first IP address under the overall identification with
When respectively getting IP address difference ready, determine that the corresponding access request of the first IP address occurs transfer.
Preferably, the real IP address amendment submodule includes:
Preset judging submodule, in being suitable to judge respectively to get IP address ready, it is same get ready IP address
Whether number exceedes threshold value;
IP address amendment real IP address submodule is got ready more than threshold value, be suitable to respectively getting IP address ready
In, the same number for getting IP address ready exceed threshold value when, using more than threshold value get ready IP address as
The real IP address of the access request.
Preferably, the access request judging submodule includes:
Each first IP address judging submodule different from IP address part is respectively got ready, is suitable to judge described complete
Whether part is different from IP address is respectively got ready for each first IP address under office's mark;
The different access request transfer determination sub-module in part, is suitable under the overall identification each
When one IP address is different from IP address part is respectively got ready, determine in the first IP address with respectively get IP ground ready
There is transfer in the access request corresponding to the different part in location.
Preferably, the real IP address amendment submodule includes:
The real IP address amendment submodule of same section, be suitable to in the first IP address with respectively get ready
Access request corresponding to the different part of IP address, the real IP address for correcting the access request is
With the IP address for respectively getting IP address same section ready in first IP address.
Preferably, after the real IP address correcting module, also include:
Ad data retrieves putting module, is suitable to for have modified the access request after real IP address,
The web advertisement data of retrieval and/or dispensing based on real IP address.
Preferably, after the real IP address correcting module, also include:
Recommendation of personalized information module, is suitable to for have modified the access request after real IP address, root
According to real IP address, recommend customized information corresponding with the real IP address.
Preferably, it is described to get request extraction module ready, including:
Get IP address ready and collect sending submodule, be suitable to extract the correspondence visit in request from described getting ready
Ask the IP address of getting ready of request, and get described IP address ready and be sent to extensively by getting collection server ready
Accuse server.
According to another aspect of the present invention, there is provided a kind of IP address corrective, including:
Memory, is loaded with a plurality of executable instruction;
Processor, performs a plurality of executable instruction;The a plurality of instruction includes performing following steps
Method:
After client sends access request to web server, web server is by the access request
The first IP address be sent to Advertisement Server;
Content delivery network service device receives the correspondence access request initiated by the client and beats
Point request, and get request ready and carry out authentication to described by Authentication server;
If content distributing server receives the knot being verified returned by Authentication server
Really, then extract getting IP address ready and being sent to wide for the correspondence access request in request from described getting ready
Accuse server;
Getting IP and first IP address ready as described in Advertisement Server by the same client of correspondence is carried out
Matching primitives, correct the real IP address of the access request.
The embodiment of the present invention can receive the corresponding client access that web server sends according to client
First IP address of request, and the corresponding client access request that content delivery network service device sends
Get IP address ready, Advertisement Server gets IP address and the first IP address ready by the same client of correspondence
Carry out matching primitives, and correct the real IP address of the client access request, solve first technology
In, after the access request of client is by some row ISP transfers, cause the first IP address for obtaining
It is inaccurate, and web advertisement putting person generation is deducted fees by mistake, cause web advertisement putting person expense damage
The problem of mistake, achieving can be modified to the first IP address for obtaining, and make revised IP address
Region where the client for initiating access request can more be agreed with, the probability that reduction is deducted fees by mistake is reduced
The expenses of advertisement putting person.
Described above is only the general introduction of technical solution of the present invention, of the invention in order to better understand
Technological means, and being practiced according to the content of specification, and in order to allow it is of the invention above-mentioned and
Other objects, features and advantages can become apparent, below especially exemplified by specific embodiment party of the invention
Formula.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantage and benefit for
Those of ordinary skill in the art will be clear understanding.Accompanying drawing is only used for showing the mesh of preferred embodiment
, and it is not considered as limitation of the present invention.And in whole accompanying drawing, with identical with reference to symbol
Number represent identical part.In the accompanying drawings:
The step of Fig. 1 is a kind of IP address modification method provided in an embodiment of the present invention flow chart;
Figure 1A is a kind of principle framework of IP address modification method provided in an embodiment of the present invention;
The step of Fig. 2 is a kind of IP address modification method provided in an embodiment of the present invention flow chart;
The step of Fig. 3 is a kind of IP address modification method provided in an embodiment of the present invention flow chart;
Fig. 4 is a kind of structured flowchart of IP address correcting device provided in an embodiment of the present invention;
Fig. 5 is a kind of structured flowchart of IP address correcting device provided in an embodiment of the present invention;
Fig. 6 is a kind of structured flowchart of IP address correcting device provided in an embodiment of the present invention;And
Fig. 7 is a kind of structured flowchart of IP address corrective provided in an embodiment of the present invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing in accompanying drawing
The exemplary embodiment of the disclosure is shown, it being understood, however, that may be realized in various forms the disclosure
Without that should be limited by embodiments set forth here.Conversely, there is provided these embodiments are able to more
Thoroughly understand the disclosure, and can be by the complete technology for conveying to this area of the scope of the present disclosure
Personnel.
Embodiment one
Reference picture 1, shows a kind of IP address modification method embodiment according to an embodiment of the invention
The step of flow chart, specifically may include steps of:
Step S110:After client sends access request to web server, web server is by institute
The first IP address for stating access request is sent to Advertisement Server.
The embodiment of the present invention can apply to the IP for client access request of web server acquisition
Address is modified.
First IP address is the web clothes when web server receives the access request of client transmission
Business device gets the corresponding IP address of client access request.Client is sending visit to web server
Before asking request.Can be serviced according to local dns (Domain Name System, domain name system)
Device obtains the IP address of the web server, and the IP address of foundation web server sends out access request
Deliver to the web server.
The web advertisement that Advertisement Server is delivered in web server may be by other ISP (nternet
Service Provider, ISP) internal transfer, then in client to web server
Send access request during, then may cause client initiate access request occur transfer,
And then cause the client access request to change therewith.It is of the invention real for example, referring to Figure 1A
A kind of principle Organization Chart of IP address modification method of example offer, the real IP of client access request are provided
Address is IP-1, after client access request is by transfer, it is possible to change, such as Figure 1A
In there occurs n times transfer, and then web server get corresponding to the of client access request
One IP address is the IP address IP-N of ISPN.In client access request is sent to web server
During, it is possible that once or multiple transfer, and then it is right to cause that web server is obtained
Should be in the inaccurate of the first IP address of client access request.Web server is final by what is obtained
Corresponding to client access request IP address as the client access request the first IP address.
Web server can be according to the first IP address of client and client access request, to client
End returns to the data corresponding to client access request, and will correspond to the first of client access request
IP address is transmitted to Advertisement Server, to be recorded and be counted, so as to be sent out in obtaining web server
The click volume of each web advertisement of cloth, and to publisher's corresponding expense of deduction of each network information.
Step S120:Content delivery network service device receives the correspondence visit initiated by the client
Ask the request of getting ready of request, and by Authentication server to it is described get request ready and carry out identity test
Card.
, when the access request of client is received, Web server can be according to client for web server
First IP address of access request is issued gets notice ready to client, and client gets notice ready receiving
Afterwards, the CDN server (Content nearest apart from the client is obtained by dns server
Delivery Network, content distributing network) IP address, and according to CDN server IP ground
Location, sends to CDN server and gets request ready corresponding to client access request.
CDN server receive corresponding to client access request get ready request after, it is possible to
The IP address corresponding to client access request is got, the IP address is and is accessed corresponding to client
That asks gets IP address ready.
In actual applications, ask to be the HTTPS (Hyper according to web server demand because this is got ready
Text Transfer Protocol over Secure Socket Layer, Hyper text transfer security protocol) request
What form sent, and CDN server does not have the safety certification right to HTTPS request in itself.
Therefore, CDN server receive corresponding to client access request get ready request after, then according to
Identity is carried out according to request is got ready for the visitor with Authentication server of the web server in same side
Checking, the authenticity to client access request is verified, and ensures that the data got ready in request exist
Security in transmitting procedure, allows CDN server normally to read the information got ready in request, mesh
Before, conventional auth method can include:Authentication based on shared key, based on open
Authentication of secret key cryptographic algorithm etc., in actual applications, those skilled in the art can basis
It is actually needed and selects rational auth method, the present invention is not any limitation as to this.
After Authentication server gets client being verified of request ready, to apart from the client
The nearest CDN server in end sends gets the result that request authentication passes through ready for client.
Step S130:If content distributing server receives the checking returned by Authentication server
The result for passing through, then from it is described get ready extract the correspondence access request in request get IP address ready simultaneously
It is sent to Advertisement Server.
In the embodiment of the present invention, CDN server receive Authentication server return to should
Client get ready the authentication of request by result after, then CDN server can be from getting request ready
IP address is got in middle acquisition ready, and correspondingly, CDN server can be according to local dns server to the visitor
Family end carries out domain name mapping, and IP address is got ready corresponding to corresponding to client access request to obtain,
And send to Advertisement Server the IP address of getting ready for corresponding to client access request, to cause advertisement
The IP address of getting ready that server will correspond to client access request is recorded and preserved, for follow-up
IP Address Velocity.
Preferably, the step S130 can include:
Sub-step S1302:From it is described get ready extract the correspondence access request in request get IP ground ready
Location, and by it is described get ready IP address by get ready collection server be sent to Advertisement Server.
In the embodiment of the present invention, corresponding collection server of getting ready can be set with CDN server
The IP address of getting ready corresponding to client access request for obtaining is collected, and the correspondence that will be collected into
Sent to Advertisement Server to be counted and be recorded in the IP address of getting ready of client access request.Example
Such as, shown in reference picture 1A, collection server is got ready to being got in CDN server corresponding to visitor
Family end access request is got ready after IP address is collected, in getting ready the client access request
IP address is sent into Advertisement Server.
Step S140:IP address and described will be got described in the same client of correspondence ready as Advertisement Server
First IP address carries out matching primitives, corrects the real IP address of the access request.
In the embodiment of the present invention, Advertisement Server receives the right of the CDN server nearest apart from client
Client access request is answered to get the first of the corresponding client access request of IP address and web server ready
IP address, and get ready the IP address and the first IP address that select corresponding to same client carry out
Matching, and the first IP address of the client access request is counted using certain specific algorithm
Calculate, be with the first IP address corresponding to the client access request for determining preservation in Advertisement Server
The no IP address for really corresponding to the client access request, and then in corresponding to that client is preserved
There is the inaccurate IP ground corresponding to client access request in the IP address of client access request
During location, the inaccurate IP address corresponding to client access request that will be preserved in Advertisement Server,
It is modified to real IP address.
For specific computational methods, will be described in detail in following embodiments three, herein not
Described in detail again.
Preferably, after the step S140, can also include:
Step S150:For the access request that have modified after real IP address, according to real IP address,
The web advertisement data of retrieval and/or dispensing based on real IP address.
In the embodiment of the present invention, the true of correspondence client access request is have modified in Advertisement Server
After IP address, web server can be based on the network issued in real IP address retrieval ad system
Ad data, and it is wide to deliver the network based on the real IP address to the corresponding client of real IP address
Accuse data.
Accordingly, the real IP address of correspondence client access request is have modified in Advertisement Server
Afterwards, can be according to publisher of the issue corresponding to the web advertisement of client access request in ad system
Account in, deduct corresponding expense, corresponding to the web advertisement of the issue of different zones, its charge
Standard is different.Such as, the user in certain region A is region A advertisement putting person A is accessed
During the web advertisement of dispensing, can just corresponding expense be produced to the advertisement putting person of web advertisement A, from
The expense of this access is taken off in the advertising accounts of the advertisement putting person A, and the user of other regions exists
Expense will not be produced after accessing the web advertisement delivered for region A by advertisement putting person A.Example
Such as, advertisement putting person A delivers web advertisement A for Beijing user, and the user in Shanghai accesses and delivers
It is that the advertisement putting person of web advertisement A can not be produced to deduct fees, i.e., during Pekinese web advertisement A
The expense of this access can not be deducted in the advertising accounts of advertisement putting person A.
The embodiment of the present invention is real IP address by correcting the first IP address of correspondence access request, so
Afterwards i.e. can be according to the real IP address, to corresponding access request, in the advertisement account of advertisement putting person
Deducted fees with real IP address in family.The real IP address of a such as access request is Shanghai,
And it is the web advertisement that advertisement putting person A is delivered in Beijing that the access request is accessed, then then advertisement
Server to this access, does not deduct taking for advertisement putting in the advertising accounts of advertisement putting person A
With.Therefore can avoid producing the advertisement putting person of the web advertisement and deduct fees by mistake, reduce the web advertisement
The expenses of putting person.
Preferably, after the step S140, can also include:
Step S160:For the access request that have modified after real IP address, according to real IP address,
Recommend customized information corresponding with the real IP address.
In the embodiment of the present invention, after the real IP address that have modified correspondence access request, can be to this
The corresponding client of real IP address recommends issue in the web advertisement of the region where the client, example
Such as, the region where the corresponding client of the real IP address of access request is Shanghai, can be to the visitor
Recommend issue in the web advertisement in Shanghai in family end.And then can with maximized utilization network information resource,
Improve the popularization of the web advertisement.Certainly, the customized information may also include and real IP address institute possession
The related information in domain, such as the news information of the region, information etc. of renting a house.
The embodiment of the present invention can receive the corresponding client access that web server sends according to client
First IP address of request, and the corresponding client access request that content delivery network service device sends
Get IP address ready, Advertisement Server gets IP address and the first IP address ready by the same client of correspondence
Carry out matching primitives, and correct the real IP address of the client access request, achieving can be to obtaining
The first IP address for taking is modified, and revised IP address is more agreed with and initiates access request
Region where client, the probability that reduction is deducted fees by mistake, reduces the expenses of advertisement putting person.
Embodiment two
Reference picture 2, shows a kind of IP address modification method embodiment according to an embodiment of the invention
The step of flow chart, specifically may include steps of:
Step S210:After client sends access request to web server, web server is by institute
The first IP address for stating access request is sent to Advertisement Server.
In the embodiment of the present invention, web server is received after the access request of client, obtains correspondence
In the first IP address of the client access request, and first IP address is sent to advertising service
Device.
Step S220:Content delivery network service device is being received described in client initiation correspondence
After the HTTPS of access request gets request ready, the HTTPS is got ready authentication informations in request
It is transmitted to Authentication server.
In the embodiment of the present invention, correspondence access request is got request ready and can be included:HTTPS
(Hypertext Transfer Protocol over Secure Socket Layer) gets request ready, and HTTPS can
For the operation being compressed to data and decompress, an information security passage is being provided, it is ensured that number
While according to transmission security, the authenticity of the corresponding client of access request is can also confirm that.
HTTPS get ready request from client to CDN server transmit before, it is necessary to client with
CDN server is once shaken hands, to establish the encrypted message of both sides' encrypted transmission data.
Received corresponding to client access request in the CDN server nearest apart from client
HTTPS is got ready after request, can be got the HTTPS ready authentication informations in request and is transmitted to
Authentication server carries out the checking of identity information to get request ready to HTTPS.
Preferably, the step S220 can include:
Sub-step S2202:Content delivery network service device is receiving what is initiated by the client
After HTTPS gets request ready, get the HTTPS ready client certificates in request and added using public key
Close data forwarding is to Authentication server.
In the embodiment of the present invention, HTTPS can include in getting request ready:Client certificate and use are public
The data of key encryption, the client certificate can be used for verifying the authenticity of client, using public key plus
Close data are meant to ensure that HTTPS gets security of the request in transmitting procedure ready.
In actual applications, after HTTPS request is sent to CDN server by client, CDN clothes
The HTTPS request of the mitogenetic Cheng Xin of encryption unit therein is transmitted to Authentication server, identity by business device
Encryption part in the authentication server HTTPS request new to this is carried out.
Accordingly, the detailed process shaken hands for client and CDN server can include following step
Suddenly:
Step S1:Client sends connection request to CDN server;The connection request includes client
The information such as certificate;
Step S2:The information such as the certificate in connection request are transmitted to authentication service by CDN server
Device;
Step S3:The information such as Authentication server client certificate are verified;If the verification passes
CDN server then and by the identity information of Authentication server is returned in the form of certificate, the card
Book can include:Issuing organization of station address, encrypted public key and certificate etc.;If checking
Do not pass through, then return to the information of authentication failed.
Step S4:If CDN server receives the information of authentication failed, the company of rejection client
Connect;If CDN server receives the information such as certificate, the certificate is returned into client;So
CDN server establishes escape way, i.e. SSL (Secure Sockets Layer condoms with client
Connect layer) protocol channel;
Step S5:Client receive CDN server transmission certificate after, the conjunction to the certificate
Method is verified, when the certificate is legal, client can produce a string of passwords of random number, and adopt
The information and client certificate got ready HTTPS with the encrypted public key in certificate in request are added
It is close;
Step S6:Client gets the HTTPS of encryption ready requests and is sent to CDN server;
Step S7:HTTPS after the encryption that CDN server will be received gets the client in request ready
Certificate and the data using public key encryption, generate new HTTPS request and are transmitted to authentication service
Device;
Step S8;The new HTTPS request that Authentication server sends to CDN, therefrom extracts
Client certificate and verified using the data of public key encryption, the result is then returned into CDN
Server.
For example, referring to Figure 1A, the Authentication server in figure is the identity in the embodiment of the present invention
Authentication server, Authentication server receives the HTTPS after the encryption sent from CDN server
Get the client certificate in request and the data using public key encryption ready, Authentication server is to the visitor
The legitimacy of family end certificate is verified, and when legal, the data to public key encryption are decrypted.
Step S230:The Authentication server gets the HTTPS authentication in request ready
Information is verified;If the verification passes, then HTTPS described in content of announcement Distributor get ready please
Ask and be verified.
Authentication server HTTPS is got ready request in authentication information be verified when,
Then the notice CDN server HTTPS gets being verified for request ready, otherwise notifies CDN server
The HTTPS gets requests verification ready and does not pass through.
Preferably, the step S230 can include:
Sub-step S2302:Authentication server is according in the server certificate and certificate being locally stored
Private key, judge whether client certificate legal, and whether can be to the use public key encryption
Data are decrypted.
In the embodiment of the present invention, Authentication server is beaten in the HTTPS for receiving CDN server transmission
After the authentication information of point request, can be demonstrate,proved according to the server stored in Authentication server
Book is verified to the legitimacy of the client certificate in authentication information, and according to server certificate
In private key test whether the data of the use public key encryption in authentication information can decrypt
Card.
Authentication information checking completion of the Authentication server in request is got HTTPS ready
Afterwards, then the result is returned to CDN server.
Step S240:If content distributing server receives the checking returned by Authentication server
The result for passing through, then from it is described get ready extract the correspondence access request in request get IP address ready simultaneously
It is sent to Advertisement Server.
The correspondence for receiving Authentication server return in CDN server gets the authentication of request ready
After the result for passing through, CDN server can be corresponding to getting request ready according to local dns server
Client carries out domain name mapping, IP address is got ready with obtain client, and the client gets IP ground ready
Location is the IP address of getting ready corresponding to client access request, and beating the client access request
Point IP address is sent to Advertisement Server to be counted.
Step S250:IP and described first is got ready as described in Advertisement Server by the same client of correspondence
IP address carries out matching primitives, corrects the real IP address of the access request.
In the embodiment of the present invention, Advertisement Server can get IP address and an IP ready from what itself was preserved
Selected in address be matched with same client get IP address and the first IP address ready, and using certain
Algorithm is visited with whether there is to have in the first IP address for calculating preservation in Advertisement Server corresponding to client
The first inaccurate IP address of request is asked, if it has, being then modified to the first inaccurate IP address
Corresponding to the real IP address of the client access request.
The embodiment of the present invention can receive the corresponding client access that web server sends according to client
First IP address of request, and the corresponding client access request that content delivery network service device sends
Get IP address ready, Advertisement Server gets IP address and the first IP address ready by the same client of correspondence
Carry out matching primitives, and correct the real IP address of the client access request, achieving can be to obtaining
The first IP address for taking is modified, and revised IP address is more agreed with and initiates access request
Region where client, the probability that reduction is deducted fees by mistake, reduces the expenses of advertisement putting person.
Also, when client sends data to content distributing network server, using authentication
Mode can improve the security that data are transmitted in a network, and can obtain the client to be accessed
Authenticity.
Embodiment three
Reference picture 3, shows a kind of IP address modification method embodiment according to an embodiment of the invention
The step of flow chart, specifically may include steps of:
Step S310:Web server obtains the first IP address and complete from the access request for receiving
Office identifies and is sent to Advertisement Server to be recorded;The overall identification is sending visit by client
In writing the access request when asking request.
In the embodiment of the present invention, overall identification corresponds to the mark of all access requests of client,
I.e. different clients sends to web server in client and accesses to that should have different overall identifications
During request, the overall identification for corresponding to the client access request can be written in access request.
Web server, can be according to DNS service after the access request for receiving client transmission
Device carries out domain name mapping to client, with obtain corresponding to client access request the first IP address and
Overall identification, and will be sent to extensively corresponding to the first IP address of client access request and overall identification
Server is accused to be recorded.
Overall identification be before access request is sent to client, in having been written into the access request,
And then follow access request to send together to web server.
In actual applications, it is its point when the overall identification is user first time access web server
The overall identification matched somebody with somebody.When such as user accesses web server with its ID, web server is it
One unique overall identification of distribution.If certain user accesses web server with visitor's identity,
The hardware informations such as the facility information of the client of the user, such as physical address can be then obtained, this is hard
Part information is unique, and then web server is that the facility information distributes a unique global mark
Know.
Step S320:Content delivery network service device receives the correspondence visit initiated by the client
Ask the request of getting ready of request, and by Authentication server to it is described get request ready and carry out identity test
Card.
Client sends the request of getting ready corresponding to access request to closest CDN server, and
Getting request ready to this by Authentication server carries out authentication, accordingly, client to
CDN server is sent when getting request ready, can be write the overall identification for corresponding to client access request
Enter to this to get ready request in.
Step S330:From it is described get ready request in extract get ready IP address and overall identification and transmission to
Advertisement Server is being recorded.
In the embodiment of the present invention, CDN server is getting getting ready corresponding to client access request
After request, from corresponding to client access request get ready request in obtain corresponding to client access
That asks gets IP address ready, and gets the overall identification corresponding to client access request, and then will
Corresponding to the client access request get IP address ready and overall identification is sent to Advertisement Server and carries out
Statistics and record.
Step S340:Search and respectively get IP address and each first IP address ready under same global identifier.
In the embodiment of the present invention, the mark of client access request is corresponded to due to overall identification, because
And, after the overall identification for a certain client is got, it is possible to get in advertising service
In device preserve associated with the overall identification corresponding to client access request the first IP address and beat
Point IP address.Accordingly, corresponding to different overall identifications it is different client access requests,
Can just be got according to overall identification respectively get IP ground ready corresponding to all access requests of certain client
Location and each first IP address.
Step S350:Matching primitives are carried out to the IP address and the first IP address got ready, first is judged
Whether the corresponding access request of IP address there is transfer;If the corresponding access of first IP address please
Generation transfer is asked, then into step S360.
The embodiment of the present invention, Advertisement Server can will belong to same global mark according to overall identification
Under knowing corresponding to client access request get IP address ready and the first IP address is matched, and adopt
Take suitable computational methods the first IP address corresponding to client access request to calculate, to determine
Whether the first IP address corresponding to the client access request there occurs transfer, if, an IP
Address there occurs transfer, then into step S360.
Preferably, the step S350 can include:
Sub-step S3502:Judge each first IP address under the overall identification and respectively get IP address ready
It is whether different;If each first IP address under the overall identification is from respectively to get IP address ready different,
Into sub-step S3504;
Sub-step S3504:Determine that the corresponding access request of the first IP address occurs transfer.
The embodiment of the present invention can apply to judge whether the access request of corresponding each client is all sent out
The situation of raw transfer.
Can be obtained corresponding to each visitor according to the overall identification corresponding to each client access request
Each first IP address of family end access request and respectively get IP address ready, and then will correspondence according to overall identification
In certain client access request each first IP address and respectively get IP address ready and matched accordingly,
For example, for customer end A, can according to the overall identification of the access request corresponding to customer end A,
Obtain the first IP address of the access request corresponding to customer end A and get IP address ready.And then judgement
Whether each first IP address is mixed with respectively to get IP address ready identical, when matching each first IP address with it is each
When getting IP address ready and differing, it is determined that the access request of the corresponding client of each first IP address
There occurs transfer;When each first IP address of matching is with IP address all same is respectively got ready, it is determined that the
Not there is transfer in each access request of the corresponding client of one IP address.For example, for certain visitor
The access request of family end A, acquisition to should first IP address of access request of customer end A have
IP2, IP3, to should the IP address of getting ready of access request of customer end A have 2 IP1, then it represents that visitor
The access request of family end A there occurs transfer, in otherwise then representing that the access request of customer end A does not occur
Turn.
Again such as, the first IP address of 10 access requests of correspondence customer end A has 10 each IP2, and
Getting IP address ready has 10 IP1, then it is different with the first IP address to get IP address ready, then confirming should
10 access request transfers.
Certainly, in practical application, it can be determined that get whether IP address belongs to same with the first IP address ready
Region, if belonging to same region, it is considered that during the access request of the first IP address does not occur
Turn;If being not belonging to same region, it is considered that there is transfer in the access request of the first IP address.
The embodiment of the present invention is according to corresponding each first IP address of each client access request and respectively gets IP ready
Whether address is identical, carries out matching judgment one by one, and then judge whether each client access request occurs
The situation of transfer, can be with, and then can as far as possible avoid inaccurate corresponding client in web server
The first IP address of access request is held to exist.
Preferably, the step S350 can include:
Sub-step S3506:Judge each first IP address under the overall identification and respectively get IP address ready
Whether part is different;If each first IP address under the overall identification with respectively get IP address part ready
Difference, then into sub-step S3508;
Sub-step S3508:Determine corresponding to different from IP address is respectively got ready parts in the first IP address
Access request occur transfer.
The embodiment of the present invention can apply to judge correspond to each client access request in whether part
There occurs the situation of transfer.
The embodiment of the present invention get corresponding to each client access request each first IP address and
Respectively get ready after IP address, the overall identification that foundation corresponds to each client access request respectively will correspondence
Each first IP address of different clients access request and respectively get IP address ready and matched one by one, and will
What the match is successful get IP address ready and the first IP address is compared, to judge each client access request
Corresponding first IP address and whether get IP address ready identical, if identical, then it represents which part or
There is no transfer in person's whole client access request, if it is different, then representing the client access request
There occurs transfer.According to the mode of above-mentioned matching judgment, will be corresponding to each client access request correspondence
Respectively get IP address and the first IP address matching judgment one by one respectively ready, to judge wherein whether occur in that
The situation of partial access request transfer.For example, the corresponding overall identification of the access request of customer end A
Respectively:M and N, the first IP address of the access request of correspondence customer end A can be obtained according to M
For IP1, IP2, IP1 and get IP address IP1, IP1, IP1 ready;By the access request pair of customer end A
The first IP address for answering and get IP address ready and be compared, it is known that, the first IP address is that IP2 is corresponding
The access request of customer end A there occurs transfer.
When accordingly, whether there is transfer for each client access request, can be according to upper
Mode is stated according to the corresponding overall identification of each client access request, by each client access request correspondence
The first IP address and respectively get IP address ready and matched one by one and compared, to judge that each client is visited
Ask that the access request of how many number in request there occurs transfer.
It should be understood that when the IP ground of the corresponding client access request preserved in Advertisement Server
The quantity of location than it is larger when, the above method can be used, by access request corresponding IP ground
Location and get IP address ready and matched one by one, and then determine and send out in correspondence certain client access request
The quantity of the access request of raw transfer, and then inaccurate IP address to being preserved in Advertisement Server enters
Row amendment, to reduce the quantity of the inaccurate IP address preserved in Advertisement Server.
Each client is accessed and asked by the embodiment of the present invention according to the overall identification of each client access request
Seeking corresponding each first IP address and respectively getting IP address ready carries out the mode of matching judgment, to determine part
Whether access request there occurs the situation of transfer, so can match to certain client access request
Corresponding first IP address makes verification, can save substantial amounts of checking time.
Step S360:According to IP address is got ready, the real IP address of the access request is corrected.
Accessed the corresponding client of the first IP address that transfer is there occurs under each overall identification is determined
After request, IP address can be got ready according to corresponding to the client access request, to advertising service
The first IP address corresponding to the access request of the generation transfer preserved in device is modified, and is revised as this
The real IP address of access request.
Preferably, in the case of sub-step S3402- sub-steps S3404, the step S360 can be with
Including:
Sub-step S3602:Judgement is respectively got ready in IP address, and whether the same number for getting IP address ready
More than threshold value;If in respectively IP address is got ready, same IP address of getting ready obtains number more than threshold value,
Then enter sub-step S3604;
Sub-step S3604:To get IP address as the real IP of the access request ready more than threshold value
Address.
The embodiment of the present invention can be used for same get corresponding to multiple access requests of each client
IP address is judged.
In the process that client access request sends to the CDN server in station nearest apart from the client
In, it may occur that the phenomenon of client access request transfer, and then cause getting ready for the access request
IP address there occurs change, and then, the access request of the same client of correspondence apart from the client most
The IP address of getting ready that near CDN server in station is obtained is probably different.For example, being directed to client
When A sends access request, the corresponding real IP address of client access request is IP-1, in distance
Obtained at the nearest CDN server in station of the client to should client access request get ready IP ground
Location is it is possible that IP-1 and IP-2.
In embodiments of the present invention, the access request corresponding to same client corresponding gets IP address ready
It is as same to get IP address ready, there is getting ready IP address not in the access request corresponding to a client
With in the case of, by pre-setting threshold value in the embodiment of the present invention, with judge to should client visit
Ask whether the number of the same IP address of request exceedes the threshold value for pre-setting and judged, wherein
When certain IP address exceedes the threshold value, then using the IP address as the real IP ground of correspondence access request
Location.In embodiments of the present invention how many first IP address just it is corresponding how many get IP address ready.
For example, the threshold value for pre-setting is get IP address sum ready 80%.Such as previous example, web services
Device obtains 200 IP address of IP-N, and gets IP address ready such as:IP-1 has 180, and IP-2 has
15, IP-3 has 5.Advertisement Server determines phase according to sub-step S2402- sub-steps S2404
200 access requests answered are calculated all by transfer, then according to getting IP address ready, and IP-1 is occupied together
Get the 90% of IP address in one ready, then can using IP-1 as to should client access request it is true
IP address.Accordingly, in actual applications, those skilled in the art can go according to actual needs
The size of threshold value is set, and the present invention is not any limitation as to this.
Calculate correspondence client access request it is same get IP address ready and differ when, will be same
It is a kind of get ready exceed threshold value in IP address get real IP of the IP address as the client access request ready
Address.
The embodiment of the present invention gets IP address ready by getting the same of correspondence client access request
The process for being judged, can cause to get correspondence client access request gets IP address ready more
Accurately, so reduce system preservation the inaccurate quantity for getting IP address ready.
Preferably, in the case of sub-step S2406- sub-steps S2408, the step S360 can be with
Including:
Sub-step S3606:For corresponding to part different from IP address is respectively got ready in the first IP address
Access request, correct the true address of the access request in the first IP address with respectively get IP ground ready
The IP address of location same section.
In the case that the embodiment of the present invention can be used for sending access request for a certain client.Obtaining
Get to should after each first IP address of client access request, by each first IP address with to should
The IP address of respectively getting ready of client access request is compared judgement, wherein, it is phase respectively to get IP address ready
With, in each first IP address with respectively get the IP address of IP address identical first as client ready
The corresponding real IP address of access request, by portion different from IP address is respectively got ready in the first IP address
Point, be modified in the first IP address with the IP address for respectively getting IP address same section ready, as to accessing
The inaccurate IP address of request is corrected.
Such as web server receives 200 access requests, has 100 in corresponding first IP address
Individual IP-1,100 IP-N.And have 200 IP-1 from the IP address of getting ready for getting collection server acquisition ready,
So Advertisement Server determines that 100 access of IP-N please according to sub-step S2406- sub-steps S2408
Ask by transfer, then the first IP address of 100 access requests is modified to IP-1.
The embodiment of the present invention can receive the corresponding client access that web server sends according to client
First IP address of request, and the corresponding client access request that content delivery network service device sends
Get IP address ready, Advertisement Server gets IP address and the first IP address ready by the same client of correspondence
Carry out matching primitives, and correct the real IP address of the client access request, achieving can be to obtaining
The first IP address for taking is modified, and revised IP address is more agreed with and initiates access request
Region where client, the probability that reduction is deducted fees by mistake, reduces the expenses of advertisement putting person.
Also, the embodiment of the present invention takes different matching primitives methods, energy for different situations
First IP address corresponding to client access request of preservation is same enough in Advertisement Server is reduced
When, it is also possible to the time of matching primitives is saved, the efficiency of work is improve.
For embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of action group
Close, but those skilled in the art should know, and the embodiment of the present invention is not suitable by described action
The limitation of sequence, because according to the embodiment of the present invention, some steps can using other orders or simultaneously
Carry out.Secondly, those skilled in the art should also know, embodiment described in this description belongs to
Necessary to preferred embodiment, the involved action not necessarily embodiment of the present invention.
Example IV
Reference picture 4, shows a kind of IP address correcting device embodiment according to an embodiment of the invention
Structured flowchart, can specifically include such as lower module:
First IP address sending module 410, is suitable to send access request to web server in client
Afterwards, the first IP address of the access request is sent to Advertisement Server by web server;
Get request authentication module 420 ready, be suitable to be received by the visitor by content delivery network service device
The correspondence access request that family end is initiated gets request ready, and by Authentication server to described
Getting request ready carries out authentication;
Get request extraction module 430 ready, be suitable to be received by authentication service in content distributing server
During the result being verified that device is returned, extract the correspondence access request in request from described getting ready
Get IP address ready and be sent to Advertisement Server;
Preferably, the request extraction module 430 of getting ready can include:
Get ready IP address collect sending submodule 4302, be suitable to from it is described get ready request in extract correspondence institute
The IP address of getting ready of access request is stated, and by the IP address of getting ready by getting collection server transmission ready
To Advertisement Server.
Real IP address correcting module 440, is suitable to as described in Advertisement Server by the same client of correspondence
Getting IP address and first IP address ready carries out matching primitives, corrects the real IP of the access request
Address.
Preferably, after the real IP address correcting module 440, can also include:
Ad data retrieve putting module 450, be suitable to for have modified the access after real IP address please
Ask, according to real IP address, the web advertisement data of retrieval and/or dispensing based on real IP address.
Preferably, after the real IP address correcting module 440, can also include:
Recommendation of personalized information module 460, is suitable to for have modified the access request after real IP address,
According to real IP address, recommend customized information corresponding with the real IP address.
Embodiment five
Reference picture 5, shows a kind of IP address correcting device embodiment according to an embodiment of the invention
Structured flowchart, can specifically include such as lower module:
First IP address sending module 510, is suitable to send access request to web server in client
Afterwards, the first IP address of the access request is sent to Advertisement Server by web server;
Get request authentication module 520 ready, be suitable to be received by the visitor by content delivery network service device
The correspondence access request that family end is initiated gets request ready, and by Authentication server to described
Getting request ready carries out authentication;
Preferably, the request authentication module 520 of getting ready can include:
HTTPS gets request authentication information sending submodule 5202 ready, is suitable to by content distributing network
Server gets request ready receiving the HTTPS that initiates the correspondence access request by the client
Afterwards, get the HTTPS ready authentication informations in request and be transmitted to Authentication server;
HTTPS gets request authentication information checking submodule 5204 ready, is suitable to by the authentication
The authentication information that server is got ready the HTTPS in request is verified;If checking is logical
Cross, then HTTPS described in content of announcement Distributor gets requests verification ready and passes through.
Preferably, the HTTPS gets request authentication information checking submodule 5204 ready and includes:
Forwarding submodule 52042, is suitable to received by the client in content delivery network service device
After the HTTPS of initiation gets request ready ready, the HTTPS is got client certificate and the use in request
The data forwarding of public key encryption is to Authentication server.
Preferably, the request authentication information checking submodule 5204 of getting ready can also include:
Whether the legal judging submodule 52044 of client certificate, is suitable to by Authentication server according to this
Private key in the server certificate and certificate of ground storage, judges whether client certificate is legal, and
Whether the data of the use public key encryption can be decrypted.
Get request extraction module 530 ready, be suitable to be received by authentication service in content distributing server
During the result being verified that device is returned, extract the correspondence access request in request from described getting ready
Get IP address ready and be sent to Advertisement Server;
Real IP address correcting module 540, is suitable to as described in Advertisement Server by the same client of correspondence
Getting IP address and first IP address ready carries out matching primitives, corrects the real IP of the access request
Address.
Embodiment six
Reference picture 6, shows a kind of IP address correcting device embodiment according to an embodiment of the invention
Structured flowchart, can specifically include such as lower module:
First IP address sending module 610, is suitable to send access request to web server in client
Afterwards, the first IP address of the access request is sent to Advertisement Server by web server;
Preferably, the first IP address sending module 610 can include:
First IP address and overall identification obtain record sub module 6102, are suitable to by Web server from connecing
In the access request for receiving, obtain the first IP address and overall identification and be sent to Advertisement Server to enter
Row record;During the overall identification writes the access request by client when access request is sent.
Get request authentication module 620 ready, be suitable to be received by the visitor by content delivery network service device
The correspondence access request that family end is initiated gets request ready, and by Authentication server to described
Getting request ready carries out authentication;
Get request extraction module 630 ready, be suitable to be received by authentication service in content distributing server
During the result being verified that device is returned, extract the correspondence access request in request from described getting ready
Get IP address ready and be sent to Advertisement Server;
Preferably, the request extraction module 630 of getting ready can include:
P address and overall identification extract sending submodule 6302, are suitable to extract in request from described being got ready
Get IP address and overall identification ready and send to Advertisement Server to be recorded.
Real IP address correcting module 640, is suitable to as described in Advertisement Server by the same client of correspondence
Getting IP address and first IP address ready carries out matching primitives, corrects the real IP of the access request
Address.
Preferably, the real IP address correcting module 640 can include:
Submodule 6402 is searched, is suitable to search under same global identifier and is respectively got IP address and Ge ready
One IP address;
Access request judging submodule 6404, is suitable to carry out the IP address and the first IP address got ready
Matching primitives, judge whether the corresponding access request of the first IP address occurs transfer;
Preferably, the access request judging submodule 6404 can include:
Each first IP address with respectively get IP address judging submodule 64042 ready, be suitable to judge the overall situation
Whether each first IP address under mark is from respectively to get IP address ready different;
Access request transfer determination sub-module 64044, is suitable to each IP ground under the overall identification
When location is different from IP address is respectively got ready, determine that the corresponding access request of the first IP address occurs transfer.
Preferably, the access request judging submodule 6404 can include:
Each first IP address judging submodule 64042 different from IP address part is respectively got ready, is suitable to judge
Whether part is different from IP address is respectively got ready for each first IP address under the overall identification;
The different access request transfer determination sub-module 64044 in part, is suitable under the overall identification
When each first IP address is different from IP address part is respectively got ready, determine in the first IP address with respectively get IP ready
There is transfer in the access request corresponding to the different part in address.
Real IP address amendment submodule 6406, is suitable to access request corresponding in first IP address
During generation transfer, according to IP address is got ready, the real IP address of the access request is corrected.
Preferably, the real IP address amendment submodule 6406 can include:
Preset judging submodule 64062, it is same to get IP ground ready in being suitable to judge respectively to get IP address ready
Whether the number of location exceedes threshold value;
IP address amendment real IP address submodule 64064 is got ready more than threshold value, be suitable to respectively getting ready
In IP address, when the same number for getting IP address ready exceedes threshold value, IP ground is got ready with more than threshold value
Location as the access request real IP address.
Preferably, the real IP address amendment submodule 6406 can include:
The real IP address amendment submodule 64066 of same section, be suitable to in the first IP address with
Respectively get the access request corresponding to the different part of IP address ready, correct the real IP of the access request
Address be in the first IP address with the IP address for respectively getting IP address same section ready.
For device embodiment, because it is substantially similar to embodiment of the method, so the ratio of description
Relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
Embodiment seven
Reference picture 7, shows that a kind of IP address corrective according to an embodiment of the invention 700 is real
The structured flowchart of example is applied, can specifically be included:
Memory 710, is loaded with a plurality of executable instruction;
Processor 720, performs a plurality of executable instruction;The a plurality of instruction includes performing following step
Rapid method:
After client sends access request to web server, web server is by the access request
The first IP address be sent to Advertisement Server;
Content delivery network service device receives the correspondence access request initiated by the client and beats
Point request, and get request ready and carry out authentication to described by Authentication server;
If content distributing server receives the knot being verified returned by Authentication server
Really, then extract getting IP address ready and being sent to wide for the correspondence access request in request from described getting ready
Accuse server;
Getting IP and first IP address ready as described in Advertisement Server by the same client of correspondence is carried out
Matching primitives, correct the real IP address of the access request.
Preferably, a plurality of executable instruction of the embodiment of the present invention may also include the side of foregoing each step
Method, the embodiment of the present invention is not limited to it.
Provided herein algorithm and display not with any certain computer, virtual system or miscellaneous equipment
It is intrinsic related.Various general-purpose systems can also be used together with based on teaching in this.According to above
Description, the structure constructed required by this kind of system is obvious.Additionally, the present invention is not also directed to
Any certain programmed language.It is understood that, it is possible to use various programming languages realize described here
The content of invention, and the description done to language-specific above is to disclose optimal reality of the invention
Apply mode.
In specification mentioned herein, numerous specific details are set forth.It is to be appreciated, however, that
Embodiments of the invention can be put into practice in the case of without these details.In some instances,
Known method, structure and technology is not been shown in detail, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and helping understand in each inventive aspect one
Individual or multiple, in above to the description of exemplary embodiment of the invention, each feature of the invention
Sometimes it is grouped together into single embodiment, figure or descriptions thereof.However, should be by
The method of the disclosure is construed to reflect following intention:I.e. the present invention for required protection requirement ratio is at each
The more features of feature being expressly recited in claim.More precisely, as following right will
As asking book to reflect, inventive aspect is all spies less than single embodiment disclosed above
Levy.Therefore, it then follows thus claims of specific embodiment are expressly incorporated in the specific embodiment party
Formula, wherein each claim are in itself as separate embodiments of the invention.
Those skilled in the art are appreciated that can be carried out to the module in the equipment in embodiment
Adaptively change and they are arranged in one or more equipment different from the embodiment.
Module or unit or component in embodiment can be combined into a module or unit or component, and
In addition multiple submodule or subelement or sub-component can be divided into.Except such feature and/or
Outside at least some in process or unit exclude each other, can be using any combinations to this explanation
All features disclosed in book (including adjoint claim, summary and accompanying drawing) and so disclosed
All processes or unit of any method or equipment are combined.Unless expressly stated otherwise, this theory
Each feature disclosed in bright book (including adjoint claim, summary and accompanying drawing) can be by offer phase
The alternative features of same, equivalent or similar purpose replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include
Some included features are rather than further feature, but the feature of different embodiments in other embodiments
Combination mean to be within the scope of the present invention and formed different embodiments.For example, under
In the claims in face, the one of any of embodiment required for protection can be in any combination
Mode is used.
All parts embodiment of the invention can realize with hardware, or with one or more
The software module run on reason device is realized, or is realized with combinations thereof.Those skilled in the art
It should be appreciated that can be realized using microprocessor or digital signal processor (DSP) in practice
Some or all parts in IP address corrective according to embodiments of the present invention some or it is complete
Portion's function.The present invention is also implemented as the part or complete for performing method as described herein
The equipment or program of device (for example, computer program and computer program product) in portion.Such reality
Existing program of the invention can be stored on a computer-readable medium, or can be with one or many
The form of individual signal.Such signal can be downloaded from internet website and obtained, or in carrier letter
There is provided on number, or provided in any other form.
It should be noted that above-described embodiment the present invention will be described is limited rather than to the present invention
Make, and those skilled in the art can design without departing from the scope of the appended claims
Alternative embodiment.In the claims, any reference symbol being located between bracket should not be configured to
Limitations on claims.Word "comprising" do not exclude the presence of element not listed in the claims or
Step.Word "a" or "an" before element does not exclude the presence of unit as multiple
Part.The present invention can be by means of the hardware for including some different elements and by means of properly programmed
Computer is realized.If some in these devices in the unit claim for listing equipment for drying
Individual can be embodied by same hardware branch.Word first, second, and third
Using not indicating that any order.These words can be construed to title.
The invention discloses A1, a kind of IP address modification method, including:
After client sends access request to web server, web server is by the access request
The first IP address be sent to Advertisement Server;
Content delivery network service device receives the correspondence access request initiated by the client and beats
Point request, and get request ready and carry out authentication to described by Authentication server;
If content distributing server receives the knot being verified returned by Authentication server
Really, then extract getting IP address ready and being sent to wide for the correspondence access request in request from described getting ready
Accuse server;
IP address and first IP address are got ready as described in Advertisement Server by the same client of correspondence
Matching primitives are carried out, the real IP address of the access request is corrected.
A2, the method as described in A1, it is described to get request ready for HTTPS gets request ready;
Further, the content delivery network service device receives the corresponding institute initiated by the client
State the request of getting ready of access request, and get request ready and carry out identity to described by Authentication server
The step of checking, including:
Content delivery network service device is being received by the client initiation correspondence access request
After HTTPS gets request ready, get the HTTPS ready authentication informations in request and be transmitted to identity
Authentication server;
The authentication information that the Authentication server is got ready the HTTPS in request is tested
Card;If the verification passes, then HTTPS described in content of announcement Distributor get ready requests verification lead to
Cross.
A3, the method as described in A2, the content delivery network service device are being received by the client
After holding the HTTPS for initiating to get request ready, the authentication information HTTPS got ready in request turns
The step of issuing Authentication server, including:
Content delivery network service device gets request ready receiving the HTTPS that is initiated by the client
Afterwards, by the HTTPS get ready request in client certificate and using public key encryption data forwarding to
Authentication server;
Further, the Authentication server gets the HTTPS authentication in request ready
The step of information is verified, including:
Private key of the Authentication server in the server certificate and certificate being locally stored, judges
Whether whether client certificate is legal, and the data of the use public key encryption can be solved
It is close.
A4, the method as described in one of A1-A3, it is described to be sent to web server in client
After access request, the first IP address of the access request is sent to Advertisement Server by web server
The step of, including:
Web server obtains the first IP address and overall identification is concurrent from the access request for receiving
Advertisement Server is given to be recorded;The overall identification is write by client when access request is sent
In entering the access request.
A5, the method as described in A4, it is described extract the correspondence access request in request from described getting ready
The step of getting IP address ready and be sent to Advertisement Server, including:
From it is described to get ready extract in request get IP address and overall identification ready and transmission is to Advertisement Server
To be recorded.
A6, the method as described in A5, it is described to be beaten as described in Advertisement Server by the same client of correspondence
Point IP and first IP address carry out matching primitives, correct the real IP address of the access request
Step, including:
Search and respectively get IP address and each first IP address ready under same global identifier;
Matching primitives are carried out to the IP address and the first IP address got ready, the first IP address correspondence is judged
Access request whether there is transfer;
If there is transfer in the corresponding access request of first IP address, according to getting IP address ready,
Correct the real IP address of the access request.
A7, the method as described in A6, it is described to get IP address ready and the first IP address is carried out to described
With calculating, the step of whether corresponding access request of the first IP address occurs transfer is judged, including:
Judge each first IP address under the overall identification and whether respectively get IP address ready different;
If each first IP address under the overall identification is from respectively to get IP address ready different, it is determined that
There is transfer in the corresponding access request of one IP address.
A8, the method as described in A7, the basis get IP address ready, correct the access request
The step of real IP address, including:
Judgement is respectively got ready in IP address, and whether the same number for getting IP address ready exceedes threshold value;
If in respectively getting IP address ready, the same number for getting IP address ready exceedes threshold value, then exceeding
Threshold value gets real IP address of the IP address as the access request ready.
A9, the method as described in A6, it is described to get IP address ready and the first IP address is carried out to described
With calculating, the step of whether corresponding access request of the first IP address occurs transfer is judged, including:
Whether part is different from IP address is respectively got ready to judge each first IP address under the overall identification;
If each first IP address under the overall identification is different from IP address part is respectively got ready, really
There is transfer in the access request in fixed first IP address corresponding to the part different from IP address is respectively got ready.
A10, the method as described in A9, the basis get IP address ready, correct the access request
The step of real IP address, including:
For the access request corresponding to part different from IP address is respectively got ready in the first IP address, repair
The true address of just described access request be in the first IP address with the IP for respectively getting IP address same section ready
Address.
A11, the method as described in A1, the institute of same client will be corresponded to described by Advertisement Server
State and get IP ready and first IP address carries out matching primitives, correct the real IP ground of the access request
After the step of location, also include:
For the access request that have modified after real IP address, according to real IP address, retrieval and/or
Deliver the web advertisement data based on real IP address.
A12, the method as described in A1, the institute of same client will be corresponded to described by Advertisement Server
State and get IP ready and first IP address carries out matching primitives, correct the real IP ground of the access request
After the step of location, also include:
For the access request that have modified after real IP address, according to real IP address, recommend with it is described
The corresponding customized information of real IP address.
The method of A13, root as described in A1, it is described extract the correspondence access in request from described getting ready
The step of getting IP address ready and be sent to Advertisement Server of request, including:
From the IP address of getting ready got ready and the correspondence access request is extracted in request, and will described in beat
Point IP address is sent to Advertisement Server by getting collection server ready.
The invention also discloses B14, a kind of IP address correcting device, including:
First IP address sending module, is suitable to after client sends access request to web server,
First IP address of the access request is sent to Advertisement Server by web server;
Get request authentication module ready, be suitable to be received by the client by content delivery network service device
That holds the correspondence access request initiated gets request ready, and is beaten described by Authentication server
Point request carries out authentication;
Get request extraction module ready, be suitable to be received by Authentication server in content distributing server
During the result being verified for returning, extract the correspondence access request in request and beat from described getting ready
Point IP address is simultaneously sent to Advertisement Server;
Real IP address correcting module, is suitable to be beaten as described in Advertisement Server by the same client of correspondence
Point IP address and first IP address carry out matching primitives, correct the real IP ground of the access request
Location.
B15, the device as described in B14, it is described to get request ready for HTTPS gets request ready;
Further, the request authentication module of getting ready includes:
HTTPS gets request authentication information sending submodule ready, is suitable to by content delivery network service
Device is being received after the HTTPS that the correspondence access request is initiated by the client gets request ready, will
The authentication information that the HTTPS is got ready in request is transmitted to Authentication server;
HTTPS gets request authentication information checking submodule ready, is suitable to by the authentication service
The authentication information that device is got ready the HTTPS in request is verified;If the verification passes, then
HTTPS described in content of announcement Distributor gets requests verification ready and passes through.
B16, the device as described in B15, the HTTPS get request authentication information checking ready
Module includes:
Forwarding submodule, is suitable to be initiated by the client receiving in content delivery network service device
HTTPS get ready request after, by the HTTPS get ready request in client certificate and use public key
The data forwarding of encryption is to Authentication server;
Further, the HTTPS gets request authentication information checking submodule ready and includes:
Whether the legal judging submodule of client certificate, is suitable to by Authentication server according to locally depositing
Private key in the server certificate and certificate of storage, judges whether client certificate is legal, and whether
The data of the use public key encryption can be decrypted.
B17, the device as described in one of B14-B16, the first IP address sending module bag
Include:
First IP address and overall identification obtain record sub module, are suitable to by Web server from receiving
Access request in, obtain the first IP address and overall identification and be sent to Advertisement Server to be remembered
Record;During the overall identification writes the access request by client when access request is sent.
B18, the device as described in B17, the request extraction module of getting ready include:
IP address and overall identification extract sending submodule, be suitable to from it is described to get ready extract in request get ready
IP address and overall identification are simultaneously sent to Advertisement Server to be recorded.
B19, the device as described in B18, the real IP address correcting module include:
Submodule is searched, is suitable to search under same global identifier and is respectively got IP address and the IP of Ge mono- ready
Address;
Access request judging submodule, is suitable to get IP address ready and the first IP address is matched to described
Calculate, judge whether the corresponding access request of the first IP address occurs transfer;
Real IP address amendment submodule, is suitable to access request generation corresponding in first IP address
During transfer, according to IP address is got ready, the real IP address of the access request is corrected.
B20, the device as described in B19, the access request judging submodule include:
Each first IP address with respectively get IP address judging submodule ready, under being suitable to judge the overall identification
Each first IP address from whether respectively get IP address ready different;
Access request transfer determination sub-module, be suitable to each first IP address under the overall identification with
When respectively getting IP address difference ready, determine that the corresponding access request of the first IP address occurs transfer.
B21, the device as described in B20, the real IP address amendment submodule include:
Preset judging submodule, in being suitable to judge respectively to get IP address ready, it is same get ready IP address
Whether number exceedes threshold value;
IP address amendment real IP address submodule is got ready more than threshold value, be suitable to respectively getting IP address ready
In, the same number for getting IP address ready exceed threshold value when, using more than threshold value get ready IP address as
The real IP address of the access request.
B22, the device as described in B19, the access request judging submodule include:
Each first IP address judging submodule different from IP address part is respectively got ready, is suitable to judge described complete
Whether part is different from IP address is respectively got ready for each first IP address under office's mark;
The different access request transfer determination sub-module in part, is suitable under the overall identification each
When one IP address is different from IP address part is respectively got ready, determine in the first IP address with respectively get IP ground ready
There is transfer in the access request corresponding to the different part in location.
B23, the device as described in B22, the real IP address amendment submodule include:
The real IP address amendment submodule of same section, be suitable to in the first IP address with respectively get ready
Access request corresponding to the different part of IP address, the real IP address for correcting the access request is
With the IP address for respectively getting IP address same section ready in first IP address.
B24, the device as described in B14, after the real IP address correcting module, also include:
Ad data retrieves putting module, is suitable to for have modified the access request after real IP address,
The web advertisement data of retrieval and/or dispensing based on real IP address.
B25, the device as described in B14, after the real IP address correcting module, also include:
Recommendation of personalized information module, is suitable to for have modified the access request after real IP address, root
According to real IP address, recommend customized information corresponding with the real IP address.
B26, the device as described in B14, it is described to get request extraction module ready, including:
Get IP address ready and collect sending submodule, be suitable to extract the correspondence visit in request from described getting ready
Ask the IP address of getting ready of request, and get described IP address ready and be sent to extensively by getting collection server ready
Accuse server.
The invention also discloses C27, a kind of IP address corrective, including:
Memory, is loaded with a plurality of executable instruction;
Processor, performs a plurality of executable instruction;The a plurality of instruction includes performing following steps
Method:
After client sends access request to web server, web server is by the access request
The first IP address be sent to Advertisement Server;
Content delivery network service device receives the correspondence access request initiated by the client and beats
Point request, and get request ready and carry out authentication to described by Authentication server;
If content distributing server receives the knot being verified returned by Authentication server
Really, then extract getting IP address ready and being sent to wide for the correspondence access request in request from described getting ready
Accuse server;
Getting IP and first IP address ready as described in Advertisement Server by the same client of correspondence is carried out
Matching primitives, correct the real IP address of the access request.
Claims (10)
1. a kind of IP address modification method, including:
After client sends access request to web server, web server is by the access request
The first IP address be sent to Advertisement Server;
Content delivery network service device receives the correspondence access request initiated by the client and beats
Point request, and get request ready and carry out authentication to described by Authentication server;
If content distributing server receives the knot being verified returned by Authentication server
Really, then extract getting IP address ready and being sent to wide for the correspondence access request in request from described getting ready
Accuse server;
IP address and first IP address are got ready as described in Advertisement Server by the same client of correspondence
Matching primitives are carried out, the real IP address of the access request is corrected.
2. method according to claim 1, it is characterised in that described to get request ready for HTTPS
Get request ready;
Further, the content delivery network service device receives the corresponding institute initiated by the client
State the request of getting ready of access request, and get request ready and carry out identity to described by Authentication server
The step of checking, including:
Content delivery network service device is being received by the client initiation correspondence access request
After HTTPS gets request ready, get the HTTPS ready authentication informations in request and be transmitted to identity
Authentication server;
The authentication information that the Authentication server is got ready the HTTPS in request is tested
Card;If the verification passes, then HTTPS described in content of announcement Distributor get ready requests verification lead to
Cross.
3. method according to claim 2, it is characterised in that the content delivery network service
Device receive the HTTPS initiated by the client get ready request after, by the HTTPS get ready please
The step of authentication information in asking is transmitted to Authentication server, including:
Content delivery network service device gets request ready receiving the HTTPS that is initiated by the client
Afterwards, by the HTTPS get ready request in client certificate and using public key encryption data forwarding to
Authentication server;
Further, the Authentication server gets the HTTPS authentication in request ready
The step of information is verified, including:
Private key of the Authentication server in the server certificate and certificate being locally stored, judges
Whether whether client certificate is legal, and the data of the use public key encryption can be solved
It is close.
4. according to the method that one of claim 1-3 is described, it is characterised in that described in client
Hold after sending access request to web server, web server is by an IP of access request ground
The step of location is sent to Advertisement Server, including:
Web server obtains the first IP address and overall identification is concurrent from the access request for receiving
Advertisement Server is given to be recorded;The overall identification is write by client when access request is sent
In entering the access request.
5. method according to claim 4, it is characterised in that described to get request ready from described
The step of getting IP address ready and be sent to Advertisement Server of the correspondence access request is extracted, including:
From it is described to get ready extract in request get IP address and overall identification ready and transmission is to Advertisement Server
To be recorded.
6. method according to claim 5, it is characterised in that it is described will be right by Advertisement Server
Answering the IP and first IP address of getting ready of same client carries out matching primitives, corrects the visit
The step of asking the real IP address of request, including:
Search and respectively get IP address and each first IP address ready under same global identifier;
Matching primitives are carried out to the IP address and the first IP address got ready, the first IP address correspondence is judged
Access request whether there is transfer;
If there is transfer in the corresponding access request of first IP address, according to getting IP address ready,
Correct the real IP address of the access request.
7. method according to claim 6, it is characterised in that described to get IP address ready to described
Matching primitives are carried out with the first IP address, in judging whether the corresponding access request of the first IP address occurs
The step of turning, including:
Judge each first IP address under the overall identification and whether respectively get IP address ready different;
If each first IP address under the overall identification is from respectively to get IP address ready different, it is determined that
There is transfer in the corresponding access request of one IP address.
8. method according to claim 7, it is characterised in that the basis gets IP address ready,
The step of correcting the real IP address of the access request, including:
Judgement is respectively got ready in IP address, and whether the same number for getting IP address ready exceedes threshold value;
If in respectively getting IP address ready, the same number for getting IP address ready exceedes threshold value, then exceeding
Threshold value gets real IP address of the IP address as the access request ready.
9. a kind of IP address correcting device, including:
First IP address sending module, is suitable to after client sends access request to web server,
First IP address of the access request is sent to Advertisement Server by web server;
Get request authentication module ready, be suitable to be received by the client by content delivery network service device
That holds the correspondence access request initiated gets request ready, and is beaten described by Authentication server
Point request carries out authentication;
Get request extraction module ready, be suitable to be received by Authentication server in content distributing server
During the result being verified for returning, extract the correspondence access request in request and beat from described getting ready
Point IP address is simultaneously sent to Advertisement Server;
Real IP address correcting module, is suitable to be beaten as described in Advertisement Server by the same client of correspondence
Point IP address and first IP address carry out matching primitives, correct the real IP ground of the access request
Location.
10. a kind of IP address corrective, including:
Memory, is loaded with a plurality of executable instruction;
Processor, performs a plurality of executable instruction;The a plurality of instruction includes performing following steps
Method:
After client sends access request to web server, web server is by the access request
The first IP address be sent to Advertisement Server;
Content delivery network service device receives the correspondence access request initiated by the client and beats
Point request, and get request ready and carry out authentication to described by Authentication server;
If content distributing server receives the knot being verified returned by Authentication server
Really, then extract getting IP address ready and being sent to wide for the correspondence access request in request from described getting ready
Accuse server;
Getting IP and first IP address ready as described in Advertisement Server by the same client of correspondence is carried out
Matching primitives, correct the real IP address of the access request.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510958924.7A CN106899548B (en) | 2015-12-17 | 2015-12-17 | IP address correction method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510958924.7A CN106899548B (en) | 2015-12-17 | 2015-12-17 | IP address correction method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106899548A true CN106899548A (en) | 2017-06-27 |
CN106899548B CN106899548B (en) | 2020-11-13 |
Family
ID=59189769
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510958924.7A Active CN106899548B (en) | 2015-12-17 | 2015-12-17 | IP address correction method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106899548B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107590605A (en) * | 2017-09-15 | 2018-01-16 | 北京奇艺世纪科技有限公司 | The control method and system that internet data shows |
CN108268664A (en) * | 2018-02-12 | 2018-07-10 | 沈阳东软医疗系统有限公司 | A kind of method and apparatus for updating file resource access address |
CN110545335A (en) * | 2018-05-29 | 2019-12-06 | 阿里巴巴集团控股有限公司 | Internet protocol address acquisition method, server and system |
CN110599233A (en) * | 2019-07-30 | 2019-12-20 | 苏宁云计算有限公司 | Advertisement anti-cheating method and device based on click verification |
CN110751503A (en) * | 2019-09-10 | 2020-02-04 | 华为技术有限公司 | Advertisement processing method and electronic equipment |
CN112019649A (en) * | 2020-08-20 | 2020-12-01 | 北京明略昭辉科技有限公司 | Method, device and system for correcting IP address, storage medium and electronic equipment |
CN112395562A (en) * | 2019-08-15 | 2021-02-23 | 奇安信安全技术(珠海)有限公司 | Login protection method and device for code warehouse |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1741060A (en) * | 2005-09-16 | 2006-03-01 | 毕玉强 | Network advertising system of directly paying to Advertisement requesting user |
CN101083538A (en) * | 2006-05-30 | 2007-12-05 | 卓望数码技术(深圳)有限公司 | Real-time counting method for value added business of IP network environment |
CN101340431A (en) * | 2008-08-05 | 2009-01-07 | 肖亚光 | Method for advertisement publishing in network digital medium |
CN101562608A (en) * | 2009-05-20 | 2009-10-21 | 张凯惠 | Filtering method of IP addresses of bid ranking system |
CN102299969A (en) * | 2011-09-16 | 2011-12-28 | 北京新媒传信科技有限公司 | Web accessing method, layer seven switching equipment and service network |
CN102301658A (en) * | 2009-09-11 | 2011-12-28 | 华为技术有限公司 | Advertisement Delivery Method, Advertisement Server And Advertisement System |
US9160799B2 (en) * | 2011-05-26 | 2015-10-13 | Sonus Networks, Inc. | Systems and methods for authorizing services in a telecommunications network |
-
2015
- 2015-12-17 CN CN201510958924.7A patent/CN106899548B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1741060A (en) * | 2005-09-16 | 2006-03-01 | 毕玉强 | Network advertising system of directly paying to Advertisement requesting user |
CN101083538A (en) * | 2006-05-30 | 2007-12-05 | 卓望数码技术(深圳)有限公司 | Real-time counting method for value added business of IP network environment |
CN101340431A (en) * | 2008-08-05 | 2009-01-07 | 肖亚光 | Method for advertisement publishing in network digital medium |
CN101562608A (en) * | 2009-05-20 | 2009-10-21 | 张凯惠 | Filtering method of IP addresses of bid ranking system |
CN102301658A (en) * | 2009-09-11 | 2011-12-28 | 华为技术有限公司 | Advertisement Delivery Method, Advertisement Server And Advertisement System |
US9160799B2 (en) * | 2011-05-26 | 2015-10-13 | Sonus Networks, Inc. | Systems and methods for authorizing services in a telecommunications network |
CN102299969A (en) * | 2011-09-16 | 2011-12-28 | 北京新媒传信科技有限公司 | Web accessing method, layer seven switching equipment and service network |
Non-Patent Citations (1)
Title |
---|
蔡文: "湖北电信内容计费系统方案设计与实现", 《中国优秀硕士学位全文数据库 信息科技辑》 * |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107590605A (en) * | 2017-09-15 | 2018-01-16 | 北京奇艺世纪科技有限公司 | The control method and system that internet data shows |
CN108268664A (en) * | 2018-02-12 | 2018-07-10 | 沈阳东软医疗系统有限公司 | A kind of method and apparatus for updating file resource access address |
CN108268664B (en) * | 2018-02-12 | 2021-06-08 | 东软医疗系统股份有限公司 | Method and device for updating file resource access address |
CN110545335A (en) * | 2018-05-29 | 2019-12-06 | 阿里巴巴集团控股有限公司 | Internet protocol address acquisition method, server and system |
CN110599233A (en) * | 2019-07-30 | 2019-12-20 | 苏宁云计算有限公司 | Advertisement anti-cheating method and device based on click verification |
CN110599233B (en) * | 2019-07-30 | 2022-09-02 | 苏宁云计算有限公司 | Advertisement anti-cheating method and device based on click verification |
CN112395562A (en) * | 2019-08-15 | 2021-02-23 | 奇安信安全技术(珠海)有限公司 | Login protection method and device for code warehouse |
CN112395562B (en) * | 2019-08-15 | 2022-07-05 | 奇安信安全技术(珠海)有限公司 | Login protection method and device for code warehouse |
CN110751503A (en) * | 2019-09-10 | 2020-02-04 | 华为技术有限公司 | Advertisement processing method and electronic equipment |
CN110751503B (en) * | 2019-09-10 | 2022-09-02 | 华为技术有限公司 | Advertisement processing method and electronic equipment |
CN112019649A (en) * | 2020-08-20 | 2020-12-01 | 北京明略昭辉科技有限公司 | Method, device and system for correcting IP address, storage medium and electronic equipment |
CN112019649B (en) * | 2020-08-20 | 2023-01-31 | 北京明略昭辉科技有限公司 | Method, device and system for correcting IP address, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106899548B (en) | 2020-11-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106899548A (en) | A kind of IP address modification method and device | |
CN111259070B (en) | Method and related device for storing and acquiring service data | |
US11431670B2 (en) | Method for processing cloud service in cloud system, apparatus, and device | |
CN109819443B (en) | Registration authentication method, device and system based on block chain | |
CN108470298B (en) | Method, device and system for transferring resource numerical value | |
CN109684375B (en) | Method, accounting node and medium for querying transaction information in blockchain network | |
CN108734028B (en) | Data management method based on block chain, block chain link point and storage medium | |
CN101183932B (en) | Security identification system of wireless application service and login and entry method thereof | |
CN109981675B (en) | Identity information protection method for digital identity authentication and attribute encryption | |
CN104410546B (en) | The method of testing and device of real time processing system | |
CN109639723A (en) | A kind of micro services access method and server based on ERP system | |
CN109600366A (en) | The method and device of protection user data privacy based on block chain | |
CN110020541A (en) | A kind of the reputation evaluation method and system of the secret protection based on block chain | |
CN106411878B (en) | Method, device and system for making access control strategy | |
RU2509360C1 (en) | Method of creating payment system | |
CN110365711B (en) | Multi-platform user identity association method and device, computer equipment and computer readable storage medium | |
US10341323B1 (en) | Automated method for on demand multifactor authentication | |
CN114329290B (en) | Capability open platform and authorized access method thereof | |
CN112257085A (en) | Bidding processing method, system, equipment and medium based on block chain | |
CN108718323A (en) | A kind of identity identifying method and system | |
CN109191143A (en) | food information processing method, device and system | |
CN112165383B (en) | Encryption method, device, equipment and medium based on shared root key | |
CN111709857B (en) | House resource sharing method and device and electronic equipment | |
CN107181795A (en) | A kind of convenient packaging process of wireless security terminal firmware and system | |
US20190268323A1 (en) | On demand multifactor authentication |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240111 Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |