Method and device for detecting brushing IP address

文档序号:1510734 发布日期:2020-02-07 浏览:10次 中文

阅读说明:本技术 刷量ip地址检测方法及装置 (Method and device for detecting brushing IP address ) 是由 罗月 梁宁 于 2017-08-30 设计创作,主要内容包括:本发明实施例公开了一种刷量IP地址检测方法及装置,其中的方法包括:在接收到终端发送的下载请求时,获取所述终端接入的IP地址;查询预存的刷量IP地址库,检测所述终端接入的IP地址是否与所述刷量IP地址库中的目标IP地址匹配,所述目标IP地址是所述刷量IP地址库存储的任一IP地址;在检测到所述终端接入的IP地址与所述目标IP地址匹配时,确定所述终端接入的IP地址为刷量IP地址。本发明实施例有利于实现刷量IP地址的检测。(The embodiment of the invention discloses a method and a device for detecting a brush IP address, wherein the method comprises the following steps: when a downloading request sent by a terminal is received, acquiring an IP address accessed by the terminal; inquiring a pre-stored brushing amount IP address library, and detecting whether an IP address accessed by the terminal is matched with a target IP address in the brushing amount IP address library, wherein the target IP address is any IP address stored in the brushing amount IP address library; and when the IP address accessed by the terminal is detected to be matched with the target IP address, determining the IP address accessed by the terminal as a traffic IP address. The embodiment of the invention is beneficial to realizing the detection of the IP address of the traffic.)

A method for detecting a traffic IP address, comprising:

when a downloading request sent by a terminal is received, acquiring an IP address accessed by the terminal;

inquiring a pre-stored brushing amount IP address library, and detecting whether an IP address accessed by the terminal is matched with a target IP address in the brushing amount IP address library, wherein the target IP address is any IP address stored in the brushing amount IP address library;

and when the IP address accessed by the terminal is detected to be matched with the target IP address, determining the IP address accessed by the terminal as a traffic IP address.

The method of claim 1, wherein the method further comprises:

when the fact that the IP address accessed by the terminal is not matched with the target IP address is detected, the downloading amount of the IP address accessed by the terminal in a preset time period is obtained;

when detecting that the downloading quantity of the IP address accessed by the terminal in the preset time period is larger than a first preset threshold value and detecting that the downloading resource identifier corresponding to the IP address accessed by the terminal meets a preset condition, determining that the IP address accessed by the terminal is a flushing quantity IP address.

The method of claim 2, wherein the detecting that the identifier of the download resource corresponding to the IP address accessed by the terminal meets the preset condition comprises:

acquiring a download resource identifier corresponding to an IP address accessed by the terminal, wherein the download resource identifier comprises at least one target download resource identifier;

and when detecting that the number of the target downloading resource identifications is greater than or equal to a second preset threshold value, detecting that the downloading resource identification corresponding to the IP address accessed by the terminal meets a preset condition.

The method of claim 2, wherein the detecting that the identifier of the download resource corresponding to the IP address accessed by the terminal meets the preset condition comprises:

acquiring a downloading resource identifier corresponding to an IP address accessed by the terminal;

dividing the downloading resource identification corresponding to the IP address accessed by the terminal into at least one category, wherein the at least one category comprises a target category;

and when detecting that the number of the downloading resource identifiers belonging to the target category in the downloading resource identifiers corresponding to the IP address accessed by the terminal is greater than or equal to a third preset threshold, detecting that the downloading resource identifiers corresponding to the IP address accessed by the terminal meet a preset condition.

The method of any of claims 1 to 4, further comprising:

upon receiving a download request from the flash IP address, interrupting a response to the download request.

The method according to any one of claims 1 to 5, wherein the download request is for requesting download of application software in the service device, the application software including an application installation package for installation in the terminal or an update data package of an application of the terminal.

A method for detecting a traffic IP address, comprising:

sending a downloading request to a service device, wherein the downloading request is used for the service device to acquire an IP address accessed by the terminal, inquiring a prestored brushing IP address base, detecting whether the IP address accessed by the terminal is matched with a target IP address in the brushing IP address base, the target IP address is any IP address stored in the brushing IP address base, and determining that the IP address accessed by the terminal is a brushing IP address when the IP address accessed by the terminal is detected to be matched with the target IP address.

The method according to claim 7, wherein the download request is for requesting to download application software in the service device, and the application software comprises an application installation package for installing in the terminal or an update data package of an application of the terminal.

A device for detecting a traffic IP address, comprising:

the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring an IP address accessed by a terminal when receiving a downloading request sent by the terminal;

the inquiry unit is used for inquiring a prestored brushing IP address library and detecting whether an IP address accessed by the terminal is matched with a target IP address in the brushing IP address library, wherein the target IP address is any IP address stored in the brushing IP address library;

and the determining unit is used for determining the IP address accessed by the terminal as the traffic IP address when the IP address accessed by the terminal is detected to be matched with the target IP address.

The apparatus of claim 9,

the obtaining unit is further configured to obtain a download amount of the IP address accessed by the terminal within a preset time period when it is detected that the IP address accessed by the terminal is not matched with the target IP address;

the determining unit is further configured to determine that the IP address accessed by the terminal is a flushing IP address when detecting that the downloading amount of the IP address accessed by the terminal corresponding to the preset time period is greater than a first preset threshold and detecting that the downloading resource identifier corresponding to the IP address accessed by the terminal meets a preset condition.

The apparatus according to claim 10, wherein in the case that it is detected that the identifier of the download resource corresponding to the IP address accessed by the terminal satisfies the preset condition, the determining unit is specifically configured to:

acquiring a download resource identifier corresponding to an IP address accessed by the terminal, wherein the download resource identifier comprises at least one target download resource identifier; and when detecting that the number of the target downloading resource identifications is greater than or equal to a second preset threshold value, detecting that the downloading resource identification corresponding to the IP address accessed by the terminal meets a preset condition.

The apparatus according to claim 10, wherein in the case that it is detected that the identifier of the download resource corresponding to the IP address accessed by the terminal satisfies the preset condition, the determining unit is specifically configured to:

acquiring a downloading resource identifier corresponding to an IP address accessed by the terminal;

dividing the downloading resource identification corresponding to the IP address accessed by the terminal into at least one category, wherein the at least one category comprises a target category;

and when detecting that the number of the downloading resource identifiers belonging to the target category in the downloading resource identifiers corresponding to the IP address accessed by the terminal is greater than or equal to a third preset threshold, detecting that the downloading resource identifiers corresponding to the IP address accessed by the terminal meet a preset condition.

The apparatus of any of claims 9 to 12, further comprising:

and the processing unit is used for interrupting the response aiming at the downloading request when the downloading request from the brushing IP address is received.

The apparatus according to any one of claims 9 to 13, wherein the download request is for requesting download of application software in the service device, the application software including an application installation package for installation in the terminal or an update data package of an application of the terminal.

A terminal, characterized in that it comprises a transmitting unit,

the sending unit is used for sending a downloading request to service equipment, wherein the downloading request is used for the service equipment to acquire the IP address accessed by the terminal, inquire a prestored brushing amount IP address library, detect whether the IP address accessed by the terminal is matched with a target IP address in the brushing amount IP address library, the target IP address is any IP address stored in the brushing amount IP address library, and when the IP address accessed by the terminal is detected to be matched with the target IP address, the IP address accessed by the terminal is determined to be the brushing amount IP address.

The terminal according to claim 15, wherein the download request is for requesting to download application software in the service device, and the application software comprises an application installation package for installing in the terminal or an update data package of an application of the terminal.

A system for detecting a traffic IP address, comprising a device for detecting a traffic IP address according to any one of claims 9 to 14 and a terminal according to any one of claims 15 or 16.

A service device comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-6.

A terminal comprising a processor, memory, a communications interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of claim 7 or 8.

A computer-readable storage medium, characterized in that it stores a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method according to any one of claims 1-6 and/or 7 or 8.

1页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:解调参考信号配置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类