CN103986616A - Method and device for recognizing number of machines having access to internet through proxy - Google Patents
Method and device for recognizing number of machines having access to internet through proxy Download PDFInfo
- Publication number
- CN103986616A CN103986616A CN201410150991.1A CN201410150991A CN103986616A CN 103986616 A CN103986616 A CN 103986616A CN 201410150991 A CN201410150991 A CN 201410150991A CN 103986616 A CN103986616 A CN 103986616A
- Authority
- CN
- China
- Prior art keywords
- property value
- identity property
- target sequence
- value
- client
- 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
Landscapes
- Debugging And Monitoring (AREA)
- Information Transfer Between Computers (AREA)
Abstract
A method for recognizing the number of machines having access to the internet through a proxy includes the steps that a detection device regularly intercepts webpage access requests uploaded by a client-side and returns monotone increasing or monotone decreasing number identification to the client-side; the client-side writes the number identification in identification attribute values when the identification attribute values of the flash cookie cached in a browser are empty; the detection device receives the identification attribute values uploaded by the client-side, obtains an identification attribute value sequence under a target IP, sequentially records the start positions, the end positions and the received maximum/minimum values of the identification attribute values in the identification attribute value sequence, and removes the repeated identification attribute values; the detection device obtains the minimum number of the machines having access to the internet through the proxy according to the start position, the end position and the received maximum/minimum value of each identification attribute value in the identification attribute value sequence. According to the method for recognizing the number of the machines having access to the internet through the proxy, accuracy can be improved.
Description
Technical field
The present invention relates to Internet technical field, particularly relate to a kind of method and device of number of machines of recognition agent online.
Background technology
Proxy surfing refers to and uses router or the instrument of acting on behalf of to realize the technology that many people share an IP address online.For example, if user uses ADSL, mode is surfed the Net, and can under the modulator-demodulator of ADSL, connect a router again and set up subnet, and a plurality of terminals that are connected with the LAN mouth of this router can be passed through this router proxy surfing.
Use proxy surfing, concerning bandwidth operator, caused very large impairment of benefit.User can many people share same account proxy surfing, thereby has walked around the account charge mode of bandwidth operator.Therefore prevent that user from surfing the Net by agent way, become bandwidth operator problem demanding prompt solution.
Yet, inventor find after deliberation identification user in conventional art whether the method for proxy surfing at least there is following problem: in conventional art, the general method that adopts packet feature Network Based, such as passing through the id occurrence law of statistics Ip packet, or the sequence number rule of TCP.But existing router has supported to revise the id information of ip packet and tcp sequence number information, so in conventional art, the method for the number of machines of recognition agent online is inaccurate.
Summary of the invention
Based on this, be necessary to provide a kind of method of number of machines of the recognition agent online that can improve accuracy.
A method for the number of machines of recognition agent online, comprising:
Checkout equipment is regularly tackled the web access requests of client upload, returns to the Digital ID of monotonic increase or monotone decreasing to described client;
Identity property value in the flash cookie of described client in browser rs cache writes described identity property value by described Digital ID while being empty;
Described checkout equipment receives the identity property value of described client upload, obtain the identity property value sequence under Target IP, record successively the original position, end position of the identity property value in described identity property value sequence, receive maximum/minimum value, and remove the identity property value of repetition;
Described checkout equipment is according to the original position of each the identity property value in described identity property value sequence, end position, receive the minimal amount that maximum/minimum value is obtained the number of machines of proxy surfing.
Therein in an embodiment, described checkout equipment according to the original position of each the identity property value in described identity property value sequence, end position, receive maximum/minimum value and obtain the step of minimal amount of the number of machines of proxy surfing and comprise:
Using described identity property value sequence as target sequence, according to the order of described target sequence, travel through described target sequence, using the identity property value traversing as desired value;
In described target sequence, take out described desired value, in described target sequence, looked-up sequence is positioned at after described desired value, and identity property value is greater than/is less than the reception maximum/minimum value of described desired value, and original position is greater than the min/max identity property value of the end position of desired value, if find, using the described identity property value finding as desired value, iteration is taken out the step of described desired value described in carrying out in target sequence;
If do not find, according to the identity property value of taking out, generate corresponding feature subsequence, will take out target sequence after identity property value again as target sequence, and iteration is carried out the described step that travels through described target sequence according to the order of described target sequence;
When described target sequence is sky, calculate the number of described feature subsequence, judge that the minimal amount of the number of machines of proxy surfing is the number of described feature subsequence.
In an embodiment, the step that described checkout equipment returns to the Digital ID of monotonic increase or monotone decreasing to described client comprises therein:
Described checkout equipment generates the interim page, and the described interim page comprises flash resource link and shell script, the Digital ID of the corresponding monotonic increase of described flash resource link or monotone decreasing;
Described checkout equipment is returned to described client by described web access requests being redirected to the described interim page.
In an embodiment, the step that when the identity property value in the flash cookie of described client in browser rs cache is empty, described Digital ID is write to described identity property value comprises therein:
Described client is obtained flash resource corresponding to flash resource link in the described interim page, by the identity property value in flash cookie corresponding with it in described flash resource judgment browser rs cache, whether be empty, if so, the Digital ID of described monotonic increase or monotone decreasing is write to described identity property value.
In an embodiment, the step that described checkout equipment obtains the identity property value of described client upload also comprises before therein:
Described client is obtained the identity property value in the flash cookie corresponding with described flash resource link by described shell script, and sends it to described checkout equipment.
In an embodiment, described client sends to the step of described checkout equipment also to comprise afterwards the described identity property value getting by shell script therein:
Described client refreshes browser page by described shell script, again initiates described web access requests.
In addition, be also necessary to provide a kind of system of number of machines of the recognition agent online that can improve accuracy.
A system for the number of machines of recognition agent online, comprises checkout equipment and client, and described checkout equipment also, for regularly tackling the web access requests of client upload, returns to the Digital ID of monotonic increase or monotone decreasing to described client;
Described client writes described identity property value by described Digital ID while being also empty for the identity property value in the flash cookie in browser rs cache;
Described checkout equipment is also for receiving the identity property value of described client upload, obtain the identity property value sequence under Target IP, record successively the original position, end position of the identity property value in described identity property value sequence, receive maximum/minimum value, and remove the identity property value of repetition;
Described checkout equipment is according to the original position of each the identity property value in described identity property value sequence, end position, receive the minimal amount that maximum/minimum value is obtained the number of machines of proxy surfing.
In an embodiment, described checkout equipment also, for using described identity property value sequence as target sequence, travels through described target sequence according to the order of described target sequence therein, using the identity property value traversing as desired value;
In described target sequence, take out described desired value, in described target sequence, looked-up sequence is positioned at after described desired value, and identity property value is greater than/is less than the reception maximum/minimum value of described desired value, and original position is greater than the min/max identity property value of the end position of desired value, if find, using the described identity property value finding as desired value, iteration is taken out described desired value described in carrying out in target sequence;
If do not find, according to the identity property value of taking out, generate corresponding feature subsequence, will take out target sequence after identity property value again as target sequence, and iteration is carried out and is traveled through described target sequence according to the order of described target sequence;
When described target sequence is sky, calculate the number of described feature subsequence, judge that the minimal amount of the number of machines of proxy surfing is the number of described feature subsequence.
In an embodiment, described checkout equipment is also for generating the interim page therein, and the described interim page comprises flash resource link and shell script, the Digital ID of the corresponding monotonic increase of described flash resource link or monotone decreasing;
Described checkout equipment is also for being returned to described client by described web access requests being redirected to the described interim page.
Therein in an embodiment, described client is also for obtaining the flash resource corresponding to flash resource link of the described interim page, by the identity property value in flashcookie corresponding with it in described flash resource judgment browser rs cache, whether be empty, if so, the Digital ID of described monotonic increase or monotone decreasing is write to described identity property value.
Therein in an embodiment, described client is also for obtain the identity property value of the flash cookie corresponding with described flash resource link by described shell script, and sends it to described checkout equipment.
In an embodiment, described client also, for refreshing browser page by described shell script, is initiated described web access requests again therein.
In the method and system of the number of machines of above-mentioned recognition agent online, because the support of flash cookie is across station characteristic with support browser-cross characteristic, make identity property value is global property in client, and therefore, identity property value can be used for identifying client.Make original position that checkout equipment can be by each identity property value in the identity property value sequence receiving, end position, receive the minimal amount that maximum/minimum value identifies the number of machines of proxy surfing exactly, thereby make keeper to carry out necessary fine according to the number restriction of proxy surfing.
Accompanying drawing explanation
Fig. 1 is the flow chart of the method for the number of machines of recognition agent online in an embodiment;
Fig. 2 is the flow chart of identifying in an embodiment;
Fig. 3 is the structural representation of the system of the number of machines of recognition agent online in an embodiment;
Fig. 4 is the structural representation of the system of the number of machines of recognition agent online in another embodiment.
Embodiment
In one embodiment, as shown in Figure 1, the method for the number of machines of a kind of recognition agent online, the method computer program that places one's entire reliance upon, this computer program can run in the computer system based on Feng Luoyiman system.This computer system is based on checkout equipment and the client being connected with checkout equipment, this checkout equipment can be the backbone network node device of bandwidth operator, and this client can be the internet terminal equipments such as router, PC, notebook computer, smart mobile phone.
The method comprises the following steps:
Step S102, checkout equipment is regularly tackled the web access requests of client upload, returns to the Digital ID of monotonic increase or monotone decreasing to client.
In the present embodiment, checkout equipment can every default time span, for example, be tackled the web access requests of client upload for 1 minute.The web access requests of client upload is sent by its browser, and user, when client operation, can initiate web access requests to the corresponding network address by the link in the click browser page or in browser address bar input network address.
In the present embodiment, the step that checkout equipment returns to the Digital ID of monotonic increase or monotone decreasing to client comprises:
Checkout equipment generates the interim page, by web access requests being redirected to the interim page, is returned to client.The interim page comprises flash resource link and shell script, the Digital ID of the corresponding monotonic increase of flash resource link or monotone decreasing.
Checkout equipment is by after the web access requests interception of client upload, this request can be redirected to this interim page, the browser of client receives after this interim page returning, and do not know the detected equipment interception of this web access requests, still think that this page is that the website that web access requests is corresponding is returned.For example, if user accesses www.baidu.com on client browser, checkout equipment is tackled after this request, returns to the interim page, and browser still thinks that this page is the page that website www.baidu.com returns after receiving this interim page.
In the interim page, comprise flash resource link, i.e. one section of url, this url corresponding stored is flash resource file on checkout equipment in advance.Preferably, checkout equipment generate the interim page before flash resource that flash resource link is corresponding also can be set for allowing across website access pattern.For example, calling Security.allowDomain (" * ") function can flash resource be set to allow across website access pattern, the browser of client is when loading this flash resource, can carry out across station operation it, thereby solve due to the interim Redirect Address of the page and the not corresponding problem across station operation failure causing of the domain name of flash resource link.
The Digital ID of monotonic increase or monotone decreasing is the sign of numeric type, and is increasing or decreasing.For example, if initial value is 1, checkout equipment is intercepted after a plurality of web access requests successively, and the monotonic increase of returning successively or the Digital ID of monotone decreasing can be 1,2,3,4..., form monotonically increasing sequence; Also can be 1000,999,997,990..., form the sequence of monotone decreasing.
Step S104, the identity property value in the flash cookie of client in browser rs cache writes identity property value by Digital ID while being empty.
In the present embodiment, client can be obtained flash resource corresponding to flash resource link in the interim page, by the identity property value in flash cookie corresponding with it in flash resource judgment browser rs cache, whether be empty, if so, the Digital ID of monotonic increase or monotone decreasing is write to identity property value.
Flash cookie is cache information corresponding with flash resource in browser rs cache.Browser can operate flash cookie by the interface function calling in flash resource after loading flash resource according to flash resource link.
Flash cookie is this locality storage information that Flash utilizes SharedObject class to realize, and has two characteristics:
1. support across website access.Be the flashcookie corresponding with flash resource that A website writes, can allow the flash resource operation of being downloaded by other websites.
2. support browser-cross access.Such as client writes the information of flashcookie by IE browser, client also can read by firefox browser.
That is to say, the identity property value in flash cookie is the global property value in client, to all programs that need to call flash in the Change impact client of identity property value.
In the present embodiment, the identity property value in flash cookie can be default attribute field.When the interface function in flash resource is called, whether the identity property value that can obtain in its corresponding flash cookie is empty, and if it is empty, this interface function can write the Digital ID of monotonic increase or monotone decreasing this identity property value.For example, can be to checkout equipment request Digital ID, and write flash cookie; Digital ID also can write in the interim page or flash resource when returning to the interim page, can read the Digital ID in the interim page or flash resource, and is write flash cookie.
In the present embodiment, if the identity property value detecting in flash cookie exists, do not do any operation.
Step S106, checkout equipment obtains the identity property value of client upload, obtains the identity property value sequence under Target IP, successively the original position of each the identity property value in record identification property value sequence, end position, receive maximum/minimum value.
In the present embodiment, client is also obtained the identity property value in the flashcookie corresponding with flash resource link by shell script, and sends it to checkout equipment.
Further, client asks the identity property value getting by shell script to send to checkout equipment by ajax.Ajax request is browser asynchronous access request, by ajax ask transmission identity property value to checkout equipment without refreshing the page.
Further, client sends to the step of checkout equipment also can refresh browser page by shell script afterwards the identity property value getting by shell script, again initiates web access requests.Be that client is fed back after the identity property value with global property character of storing in its flash cookie by shell script to checkout equipment, can again initiate the aforementioned web access requests being blocked, because shell script execution speed is very fast, the web page browsing that does not therefore affect user is experienced.
That is to say, the write operation of flash cookie is not only carried out when identity property value does not exist, and the in the situation that of its existence, do not replaced, keep this identity property value not for empty.After this identity property value is not sky, can obtain the identity property value in this flash cookie by shell scripts such as javascript scripts, then by ajax, initiate asynchronous access request, by this identity property value uploading detection equipment.
In the present embodiment, a plurality of identity property values of a plurality of client upload of the sustainable reception of checkout equipment.And the identity property value receiving is sorted out according to the IP address of client, the identity property value after classification obtains identity property value sequence according to the time-sequencing receiving.Target IP be need to carry out recognition agent online number of machines IP address.Preferably, can obtain the length of the identity property value sequence that Target IP is corresponding, if this length is greater than threshold value, enter step S108.If threshold value setting is larger, the identity property value receiving is more, and detection time is longer, and accuracy is higher.
In the present embodiment, successively original position, the end position of each the identity property value in record identification property value sequence, receive maximum/minimum value step can reference table 1.For example, if checkout equipment returns is that incremental change is 1 flash cookie, the identity property value sequence receiving (it is sequentially the order of the identity property value receiving) is:
Corresponding, the original position of each identity property value in this sequence, end position, receive maximum/minimum value as shown in table 1 record:
Table 1
Wherein, Index represents the sequence number (representing with i) of the unduplicated identity property value that receives, original position is to receive and in identity property value sequence, occurs for the first time that the position of this identity property value is (as shown in table 1, id[0] be the 1st and the 1st time the identity property value receiving, be 3, original position is j=0; Id[5] be the 6th and the 1st time the identity property value receiving, although 9 is the 7th the identity property value receiving, but repeat to receive 1 time due to 4, therefore 9 is still the 6th and the 1st time identity property value receiving, for id[5], original position is j=6), the position that end position occurs for the last time for this identity property value in the identity property value sequence receiving (as id[0]=3, its original position is 0, but it occurs during j=8 when checkout equipment receives property value the 9th time, therefore, end position is j=8).
Receive maximum/minimum value and be the maximum/minimum receiving in the identity property value having received after this identity property value.
For example, receiving for the first time identity property value 3(is id[0]) time, record its end[0] be 0, max[0] be 3, and follow-up while receiving for the second time identity property value 3, upgrade its end[0] for the 9th identity property value receiving of 8(), upgrade its max[0] for maximum in front 9 the identity property values that receive of 9(be 9).
It should be noted that, the monotonic increase or the monotone decreasing characteristic that have received the Digital ID that maximum/minimum value returns to client with checkout equipment are corresponding, that is to say, if checkout equipment returns is monotonically increasing Digital ID, record value is for receiving maximum; If what checkout equipment returned is the Digital ID of monotone decreasing, record value is for receiving minimum value.And do not need in practical operation to have the tables of data identical with table 1, table 1 only represents the logical relation of data structure, can be arbitrarily similar data structure in actual applications.
Step S108, checkout equipment is according to the original position of each the identity property value in identity property value sequence, end position, receive the minimal amount that maximum/minimum value is obtained the number of machines of proxy surfing.
In the present embodiment, as shown in Figure 2, can be specially:
Step S202, using identity property value sequence as target sequence;
Step S204, judges that whether target sequence is empty, performs step S206 if not empty.
Step S206, according to the order traversal target sequence of target sequence, using the identity property value traversing as desired value;
Step S208, in target sequence, take out desired value, in target sequence, looked-up sequence is positioned at after desired value, and identity property value is greater than/is less than the reception maximum/minimum value of desired value, and original position is greater than the min/max identity property value of the end position of desired value (if Digital ID monotonic increase is minimum; If Digital ID monotone decreasing is maximum), if find, perform step S210.
Step S210, using the identity property value finding as desired value, iteration execution step S208.
If do not find, perform step S212.
Step S212, generates corresponding feature subsequence according to the identity property value of taking out, and will take out target sequence after identity property value again as target sequence, and iteration execution step S204.
When target sequence is sky, execution step S214, the number of calculated characteristics subsequence, judges that the minimal amount of the number of machines of proxy surfing is the number of feature subsequence.
As above in example, can according to Index take out identity property value in turn as desired value, the process of generating feature subsequence is described in detail in detail below:
What through step S106, obtain removes repeating data identity property value sequence afterwards as target sequence, is:
{3、2、4、1、7、9、5、6}。
While traversing i=0,3,2,4,1,7,9,5, extract id[0 in 6}] 3 as desired value:
Solve id[i] >max[0], 3,2,4,1,7,9,5, find Index value corresponding to identity property value that is greater than 9 in 6}, obtaining i does not exist, obtain feature subsequence 3}, and using take out target sequence after 32,4,1,7,9,5,6} is as target sequence;
Traverse i=1,2,4,1,7,9,5, extract id[1 in 6}] 2 as desired value:
Solve id[i] >max[1], 2,4,1,7,9,5, find Index value corresponding to identity property value that is greater than 9 in 6}, obtaining i does not exist, obtain feature subsequence 2}, and using take out target sequence after 22,4,1,7,9,5,6} is as target sequence;
Traverse i=2,4,1,7,9,5, extract id[2 in 6}] 4 as desired value:
Solve id[i] >max[2], 4,1,7,9,5, find Index value corresponding to identity property value that is greater than 7 in 6}, obtaining i is the corresponding id[5 of 5(] be 9), and end[2] (being that j equals 5) <begin[5] (being that j equals 6), and using id[5] take out as desired value:
9,5, solve id[i in 6}] >max[5], 9,5, find Index value corresponding to identity property value that is greater than 9 in 6}, obtain i and do not exist;
The feature subsequence that the identity property value of taking out generates be 4,9}, will take out 4, the target sequence after 9} 1,7,5,6} is as target sequence;
Traverse i=3,1,7,5, extract id[3 in 6}] 1 as desired value:
1,7,5, solve id[i in 6}] >max[3], 1,7,5, find Index value corresponding to identity property value that is greater than 4 in 6}, obtaining i is 4,6,7, filter out id[i] minimum be i=6, be id[6]=5, and end[3] (being that j equals 3) <begin[6] (being that j equals 6), and using id[6] take out as desired value:
In 6}, solve id[i] >max[6], { in 6}, finding Index value corresponding to identity property value that is greater than 9, the identity property value of taking out without solution is 1,5, the feature subsequence generating be 1,5}, will take out 1, the target sequence after 5} 7,6} is as target sequence;
Traversal i=4,7, extract id[4 in 6}] 7 as desired value:
In 6}, solve id[i] and >max[4], { in 6}, finding Index value corresponding to identity property value that is greater than 9, obtaining i and do not exist, obtaining feature subsequence { 7}, and { 6} is as target sequence using taking out target sequence after 7;
Traversal i=7, in 6}, extract id[7] 6 as desired value:
In { }, solve id[i] >max[4], obtain i and do not exist, obtain feature subsequence { 6}, and will take out target sequence { } after 6 as target sequence;
Because target sequence { } is empty, so iteration finishes, and the feature subsequence now obtaining is:
{3}、{2}、{4、9}、{1、5}、{7}、{6};
That is to say, identity property value 4 and 9 may be that same station terminal sends, identity property value 1 and 5 may be sent by same station terminal (also likely for being 5 for to be sent by a station terminal, 1 and 7 are sent by same station terminal, only require herein and obtain minimal amount, therefore compound mode does not affect correctness), therefore, the minimal amount of the machine of proxy surfing is 6.
In one embodiment, as shown in Figure 3 and Figure 4, a kind of system of number of machines of recognition agent online, comprises checkout equipment 10 and client 20, wherein:
Checkout equipment 10, for regularly tackling the web access requests of client upload, returns to the Digital ID of monotonic increase or monotone decreasing to client.
Client 20 writes identity property value by Digital ID while being empty for the identity property value in the flash cookie in browser rs cache.
Checkout equipment 10 is also for receiving the identity property value of client upload, obtain the identity property value sequence under Target IP, successively the original position of the identity property value in record identification property value sequence, end position, receive maximum/minimum value, and remove the identity property value of repetition.
Checkout equipment 10 is also for according to the original position of each identity property value of identity property value sequence, end position, receive the minimal amount that maximum/minimum value is obtained the number of machines of proxy surfing.
In the present embodiment, checkout equipment 10 also, for using identity property value sequence as target sequence, travels through target sequence according to the order of target sequence, using the identity property value traversing as desired value;
In target sequence, take out desired value, in target sequence, looked-up sequence is positioned at after desired value, and identity property value is greater than/is less than the reception maximum/minimum value of desired value, and original position is greater than the min/max identity property value of the end position of desired value, if find,, using the identity property value finding as desired value, iteration is carried out and in target sequence, is taken out desired value;
If do not find, according to the identity property value of taking out, generate corresponding feature subsequence, will take out target sequence after identity property value again as target sequence, and iteration is carried out the order traversal target sequence according to target sequence;
When target sequence is sky, the number of calculated characteristics subsequence, judges that the minimal amount of the number of machines of proxy surfing is the number of feature subsequence.
In the present embodiment, checkout equipment 10 is also for generating the interim page, and the interim page comprises flash resource link and shell script, the Digital ID of the corresponding monotonic increase of flash resource link or monotone decreasing;
Checkout equipment 10 is also for being returned to client by web access requests being redirected to the interim page.
In the present embodiment, client 20 is also for obtaining the flash resource corresponding to flash resource link of the interim page, by the identity property value in flash cookie corresponding with it in flash resource judgment browser rs cache, whether be empty, if so, the Digital ID of monotonic increase or monotone decreasing is write to identity property value.
In the present embodiment, client 20 is also for obtain the identity property value of the flash cookie corresponding with flash resource link by shell script, and sends it to checkout equipment.
In the present embodiment, client 20, also for refreshing browser page by shell script, is initiated web access requests again.
In the method and system of the number of machines of above-mentioned recognition agent online, because the support of flash cookie is across station characteristic with support browser-cross characteristic, make identity property value is global property in client, and therefore, identity property value can be used for identifying client.Make original position that checkout equipment can be by each identity property value in the identity property value sequence receiving, end position, receive the minimal amount that maximum/minimum value identifies the number of machines of proxy surfing exactly, thereby make keeper to carry out necessary fine according to the number restriction of proxy surfing.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in a computer read/write memory medium, this program, when carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Claims (12)
1. a method for the number of machines that recognition agent is surfed the Net, comprising:
Checkout equipment is regularly tackled the web access requests of client upload, returns to the Digital ID of monotonic increase or monotone decreasing to described client;
Identity property value in the flash cookie of described client in browser rs cache writes described identity property value by described Digital ID while being empty;
Described checkout equipment receives the identity property value of described client upload, obtain the identity property value sequence under Target IP, record successively the original position, end position of the identity property value in described identity property value sequence, receive maximum/minimum value, and remove the identity property value of repetition;
Described checkout equipment is according to the original position of each the identity property value in described identity property value sequence, end position, receive the minimal amount that maximum/minimum value is obtained the number of machines of proxy surfing.
2. the method for the number of machines that recognition agent according to claim 1 is surfed the Net, it is characterized in that, described checkout equipment according to the original position of each the identity property value in described identity property value sequence, end position, receive maximum/minimum value and obtain the step of minimal amount of the number of machines of proxy surfing and comprise:
Using described identity property value sequence as target sequence, according to the order of described target sequence, travel through described target sequence, using the identity property value traversing as desired value;
In described target sequence, take out described desired value, in described target sequence, looked-up sequence is positioned at after described desired value, and identity property value is greater than/is less than the reception maximum/minimum value of described desired value, and original position is greater than the min/max identity property value of the end position of desired value, if find, using the described identity property value finding as desired value, iteration is taken out the step of described desired value described in carrying out in target sequence;
If do not find, according to the identity property value of taking out, generate corresponding feature subsequence, will take out target sequence after identity property value again as target sequence, and iteration is carried out the described step that travels through described target sequence according to the order of described target sequence;
When described target sequence is sky, calculate the number of described feature subsequence, judge that the minimal amount of the number of machines of proxy surfing is the number of described feature subsequence.
3. the method for the number of machines of recognition agent online according to claim 1, is characterized in that, the step that described checkout equipment returns to the Digital ID of monotonic increase or monotone decreasing to described client comprises:
Described checkout equipment generates the interim page, and the described interim page comprises flash resource link and shell script, the Digital ID of the corresponding monotonic increase of described flash resource link or monotone decreasing;
Described checkout equipment is returned to described client by described web access requests being redirected to the described interim page.
4. the method for the number of machines that recognition agent according to claim 3 is surfed the Net, it is characterized in that, the step that when the identity property value in the flash cookie of described client in browser rs cache is empty, described Digital ID is write to described identity property value comprises:
Described client is obtained flash resource corresponding to flash resource link in the described interim page, by the identity property value in flash cookie corresponding with it in described flash resource judgment browser rs cache, whether be empty, if so, the Digital ID of described monotonic increase or monotone decreasing is write to described identity property value.
5. the method for the number of machines of recognition agent online according to claim 3, is characterized in that, the step that described checkout equipment obtains the identity property value of described client upload also comprises before:
Described client is obtained the identity property value in the flash cookie corresponding with described flash resource link by described shell script, and sends it to described checkout equipment.
6. the method for the number of machines of recognition agent online according to claim 5, is characterized in that, described client sends to the step of described checkout equipment also to comprise afterwards the described identity property value getting by shell script:
Described client refreshes browser page by described shell script, again initiates described web access requests.
7. the system of the number of machines of recognition agent online, comprise checkout equipment and client, it is characterized in that, described checkout equipment also, for regularly tackling the web access requests of client upload, returns to the Digital ID of monotonic increase or monotone decreasing to described client;
Described client writes described identity property value by described Digital ID while being also empty for the identity property value in the flash cookie in browser rs cache;
Described checkout equipment is also for receiving the identity property value of described client upload, obtain the identity property value sequence under Target IP, record successively the original position, end position of the identity property value in described identity property value sequence, receive maximum/minimum value, and remove the identity property value of repetition;
Described checkout equipment is according to the original position of each the identity property value in described identity property value sequence, end position, receive the minimal amount that maximum/minimum value is obtained the number of machines of proxy surfing.
8. the system of the number of machines that recognition agent according to claim 7 is surfed the Net, it is characterized in that, described checkout equipment is also for using described identity property value sequence as target sequence, according to the order of described target sequence, travel through described target sequence, using the identity property value traversing as desired value;
In described target sequence, take out described desired value, in described target sequence, looked-up sequence is positioned at after described desired value, and identity property value is greater than/is less than the reception maximum/minimum value of described desired value, and original position is greater than the min/max identity property value of the end position of desired value, if find, using the described identity property value finding as desired value, iteration is taken out described desired value described in carrying out in target sequence;
If do not find, according to the identity property value of taking out, generate corresponding feature subsequence, will take out target sequence after identity property value again as target sequence, and iteration is carried out and is traveled through described target sequence according to the order of described target sequence;
When described target sequence is sky, calculate the number of described feature subsequence, judge that the minimal amount of the number of machines of proxy surfing is the number of described feature subsequence.
9. the system of the number of machines that recognition agent according to claim 7 is surfed the Net, it is characterized in that, described checkout equipment is also for generating the interim page, the described interim page comprises flash resource link and shell script, the Digital ID of the corresponding monotonic increase of described flash resource link or monotone decreasing;
Described checkout equipment is also for being returned to described client by described web access requests being redirected to the described interim page.
10. the system of the number of machines that recognition agent according to claim 9 is surfed the Net, it is characterized in that, described client is also for obtaining the flash resource corresponding to flash resource link of the described interim page, by the identity property value in flash cookie corresponding with it in described flash resource judgment browser rs cache, whether be empty, if so, the Digital ID of described monotonic increase or monotone decreasing is write to described identity property value.
The system of the number of machines of 11. recognition agent online according to claim 9, it is characterized in that, described client is also for obtain the identity property value of the flash cookie corresponding with described flash resource link by described shell script, and sends it to described checkout equipment.
The system of the number of machines of 12. recognition agent online according to claim 11, is characterized in that, described client also, for refreshing browser page by described shell script, is initiated described web access requests again.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410150991.1A CN103986616B (en) | 2014-04-15 | 2014-04-15 | Method and device for recognizing number of machines having access to internet through proxy |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410150991.1A CN103986616B (en) | 2014-04-15 | 2014-04-15 | Method and device for recognizing number of machines having access to internet through proxy |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103986616A true CN103986616A (en) | 2014-08-13 |
CN103986616B CN103986616B (en) | 2017-05-10 |
Family
ID=51278443
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410150991.1A Active CN103986616B (en) | 2014-04-15 | 2014-04-15 | Method and device for recognizing number of machines having access to internet through proxy |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103986616B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106664223A (en) * | 2015-06-18 | 2017-05-10 | 华为技术有限公司 | Detection method and detection device for the number of shared access hosts |
CN106790383A (en) * | 2016-11-23 | 2017-05-31 | 广州酷狗计算机科技有限公司 | The number of visiting people determines method and device |
CN107769999A (en) * | 2017-12-07 | 2018-03-06 | 锐捷网络股份有限公司 | A kind of method and apparatus for identifying user agent's online |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101895552A (en) * | 2010-07-22 | 2010-11-24 | 北京天融信科技有限公司 | Security gateway and method thereof for detecting proxy surfing |
US20120317620A1 (en) * | 2011-06-13 | 2012-12-13 | Aleksey Fefelov | Website visitor identification algorithm |
CN102882748A (en) * | 2012-10-23 | 2013-01-16 | 深圳中兴网信科技有限公司 | Network access detection system and network access detection method |
CN103327036A (en) * | 2012-03-19 | 2013-09-25 | 精硕世纪科技(北京)有限公司 | Identification method of Internet browsing devices and Cookie server |
CN103401861A (en) * | 2013-07-29 | 2013-11-20 | 深信服网络科技(深圳)有限公司 | Method and device of identifying proxy Internet |
-
2014
- 2014-04-15 CN CN201410150991.1A patent/CN103986616B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101895552A (en) * | 2010-07-22 | 2010-11-24 | 北京天融信科技有限公司 | Security gateway and method thereof for detecting proxy surfing |
US20120317620A1 (en) * | 2011-06-13 | 2012-12-13 | Aleksey Fefelov | Website visitor identification algorithm |
CN103327036A (en) * | 2012-03-19 | 2013-09-25 | 精硕世纪科技(北京)有限公司 | Identification method of Internet browsing devices and Cookie server |
CN102882748A (en) * | 2012-10-23 | 2013-01-16 | 深圳中兴网信科技有限公司 | Network access detection system and network access detection method |
CN103401861A (en) * | 2013-07-29 | 2013-11-20 | 深信服网络科技(深圳)有限公司 | Method and device of identifying proxy Internet |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106664223A (en) * | 2015-06-18 | 2017-05-10 | 华为技术有限公司 | Detection method and detection device for the number of shared access hosts |
CN106664223B (en) * | 2015-06-18 | 2020-03-20 | 华为技术有限公司 | Method and device for detecting number of shared access hosts |
CN106790383A (en) * | 2016-11-23 | 2017-05-31 | 广州酷狗计算机科技有限公司 | The number of visiting people determines method and device |
CN106790383B (en) * | 2016-11-23 | 2019-09-27 | 广州酷狗计算机科技有限公司 | The number of visiting people determines method and device |
CN107769999A (en) * | 2017-12-07 | 2018-03-06 | 锐捷网络股份有限公司 | A kind of method and apparatus for identifying user agent's online |
Also Published As
Publication number | Publication date |
---|---|
CN103986616B (en) | 2017-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10791201B2 (en) | Server initiated multipath content delivery | |
US10567407B2 (en) | Method and system for detecting malicious web addresses | |
CN110855661B (en) | WebShell detection method, device, equipment and medium | |
US10630758B2 (en) | Method and system for fulfilling server push directives on an edge proxy | |
KR102151457B1 (en) | Method and apparatus for reducing page load time in a communication system | |
CN103338249B (en) | Caching method and device | |
CN103401861B (en) | Proxy surfing recognition methods and device | |
CN104572777B (en) | Webpage loading method and device based on UIWebView component | |
EP2817730A1 (en) | System and method for context specific website optimization | |
JP6103325B2 (en) | Method, apparatus and system for acquiring user behavior | |
US9787521B1 (en) | Concurrent loading of session-based information | |
CN106534268B (en) | Data sharing method and device | |
WO2014032563A1 (en) | Transit-mode-based webpage accessing method, system, and crawler route server | |
CN105635073A (en) | Access control method and device and network access equipment | |
CN104219230A (en) | Method and device for identifying malicious websites | |
CN104023046B (en) | Mobile terminal recognition method and device | |
US20140006918A1 (en) | Method and system for web page rearrangement | |
CN105635064A (en) | CSRF attack detection method and device | |
US20170277622A1 (en) | Web Page Automated Testing Method and Apparatus | |
CN103986616A (en) | Method and device for recognizing number of machines having access to internet through proxy | |
CN105787750A (en) | Information pushing method and information pushing device | |
CN103139252A (en) | Achieving method of network proxy cache acceleration and device thereof | |
CN104615597A (en) | Method, device and system for clearing cache file in browser | |
CN104202403B (en) | Webpage browsing acceleration method, cloud server and browser | |
CN105450771A (en) | Information push and information push optimization methods, servers and systems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200615 Address after: Nanshan District Xueyuan Road in Shenzhen city of Guangdong province 518000 No. 1001 Nanshan Chi Park building A1 layer Patentee after: SANGFOR TECHNOLOGIES Inc. Address before: 518000 room 410, technology innovation service center, 1 Qilin Road, Shenzhen, Guangdong, Nanshan District Patentee before: Shenxin network technology (Shenzhen) Co.,Ltd. |