Unlock instant, AI-driven research and patent intelligence for your innovation.

Advertisement filtering method and device

A filtering method and advertisement technology, which are applied to program control devices, instruments, network data retrieval, etc., can solve the problems of low efficiency of advertisement filtering devices and low efficiency of advertisement filtering methods.

Active Publication Date: 2020-11-10
北界无限(北京)软件有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] An embodiment of the present invention provides an advertisement filtering method to solve the problem of low efficiency of the advertisement filtering method in the prior art
[0004] The embodiment of the present invention provides an advertisement filtering device, which has solved the problem of low efficiency of the advertisement filtering device in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Advertisement filtering method and device
  • Advertisement filtering method and device
  • Advertisement filtering method and device

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0018] The first embodiment of the present invention discloses an advertisement filtering method. This method is implemented by the C++ layer. Preferably, the method is preferably applied to the Android system. Such as figure 1 As shown, the method includes the following steps:

[0019] Step S101: Obtain the network connection established by the VPN service from the JAVA layer.

[0020] Through this step, the C++ layer can take over the network data. After the C++ layer obtains the network connection established by the VPN service from the Java layer, it can use lwip and libevent technology to realize the sending and receiving of network data. Therefore, the JAVA layer of the method of this embodiment is only responsible for the establishment of the VPN service, and the subsequent steps do not require the participation of the JAVA layer, which can avoid switching back and forth between the JAVA layer and the C++ layer, thereby improving the efficiency of advertisement filt...

no. 2 example

[0031] The second embodiment of the present invention discloses an advertisement filtering method. This method is implemented by the C++ layer. Preferably, the method is preferably applied to the Android system. Such as figure 2 As shown, the method includes the following steps:

[0032] Step S201: Set advertisement filtering rules.

[0033] Wherein, the advertising rules include: standard rules and custom rules. The standard rules can generally adopt the rules of the AdblockPlus advertising rule library. The rules of the advertisement rule library are comprehensive and updated in time. Custom rules can be defined by users according to their own needs, so as to achieve the effect of filtering specific advertisements. It should be understood that the advertisement filtering rule is written in C++ language.

[0034] Preferably, for the above advertisement filtering rules, in order to improve the effectiveness of the advertisement filtering rules and reduce the number of ...

no. 3 example

[0051]The third embodiment of the present invention discloses an advertisement filtering method. This method is implemented by the C++ layer. Preferably, the method is preferably applied to the Android system. Such as image 3 As shown, the method includes the following steps:

[0052] Step S301: Set advertisement filtering rules.

[0053] Wherein, the advertising rules include: standard rules and custom rules. The standard rules can generally adopt the rules of the AdblockPlus advertising rule library. The rules of the advertisement rule library are comprehensive and updated in time. Custom rules can be defined by users according to their own needs, so as to achieve the effect of filtering specific advertisements. It should be understood that the advertisement filtering rule is written in C++ language.

[0054] Step S302: Add the second keyword in the advertisement filtering rule.

[0055] Wherein, the second keyword is used to indicate an application to be filtered u...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides an advertisement filtering method, and is realized by a C++ layer. The method comprises the following steps that: obtaining network connection established by VPN (Virtual Private Network) service from a JAVA layer; receiving a network request sent from an application; extracting a first keyword in the URL (Uniform Resource Locator) of the network request; matching the first keyword in the URL (Uniform Resource Locator) of the network request with a preset advertisement filtering rule; and if the first keyword in the URL of the network request succeeds in being matched with the preset advertisement filtering rule, filtering the network request. The embodiment of the invention also provides an advertisement filtering device. By use of the embodiment of the invention, the network connection is carried out through the VPN in the C++ layer, the first keyword in the URL of the network request is matched with the advertisement filtering rule, so that advertisement filtering efficiency can be improved, and each request finishes being filtered averagely in five milliseconds.

Description

technical field [0001] The invention relates to the technical field of advertisement filtering, in particular to an advertisement filtering method and device. Background technique [0002] A variety of applications can be installed on a mobile terminal in the prior art, and these applications often push or display advertisements. The filtering step in the prior art is to first take over all network requests on the mobile terminal through the VPN service, and use a matching algorithm to filter the requests, so as to achieve the purpose of filtering advertisements. However, in the advertisement filtering method in the prior art, the VPN network management of the advertisement blocking application is implemented by Java language, which makes the code execution efficiency low. In addition, the performance loss caused by ad blocking matching is one of the main problems of current ad blocking applications. An important reason is that currently existing ad blocking applications u...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/9535G06F16/955G06F9/448
CPCG06F9/4488G06F16/9535G06F16/9566
Inventor 周元林王振
Owner 北界无限(北京)软件有限公司