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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


