CN107193889A - Ad blocking method, terminal and computer-readable recording medium - Google Patents
Ad blocking method, terminal and computer-readable recording medium Download PDFInfo
- Publication number
- CN107193889A CN107193889A CN201710299670.1A CN201710299670A CN107193889A CN 107193889 A CN107193889 A CN 107193889A CN 201710299670 A CN201710299670 A CN 201710299670A CN 107193889 A CN107193889 A CN 107193889A
- Authority
- CN
- China
- Prior art keywords
- node
- blocking
- storehouse
- mentioned
- browser
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of Ad blocking method, terminal and computer-readable recording medium, belong to field of terminal technology.Methods described includes:When browser starts, the default Ad blocking storehouse of loading, the Ad blocking storehouse includes:Intercept rule;When browser loads webpage, the webpage is parsed, node tree is generated;Node in the node tree is matched with the rule that intercepts;When the node matching is advertising node, the display properties of the advertising node is changed, to intercept the advertising node.Web analysis is generated node tree by the present invention, by the way that node is matched with the interception rule in Ad blocking storehouse, to identify advertising node, change the display properties of advertising node, the advertising node is not shown, so as to realizing Ad blocking, it is to avoid user is disturbed using the advertisement on webpage during browser.
Description
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of Ad blocking method, terminal and computer-readable storage
Medium.
Background technology
Development and the fast growth of mobile Internet with smart mobile phone, browser become user and use smart mobile phone
Indispensable application.Information may browse through by browser, news plays video, sees novel, social activity, sends and receive e-mail,
Downloading application, or even simple web game etc. can be completed by browser.The web advertisement refers to (for example interconnect in network
Net) on deliver and the advertisement propagated by webpage, with traditional communications media advertisement (newspaper, magazine, TV, broadcast, open air)
Compare, the web advertisement has advantageous advantage, this also causes the market speed of the web advertisement to increase.Although the web advertisement
Occur providing new advertisement putting channel for businessman, still, a large amount of dispensings of the web advertisement on webpage are but to the overwhelming majority
User brings interference, for example, the pop-up advertisement severe jamming frequently occurred and the work that have impact on user, therefore, it is necessary to
The web advertisement is intercepted.
The content of the invention
It is a primary object of the present invention to propose a kind of Ad blocking method, terminal and computer-readable recording medium, purport
It is a large amount of on webpage is solved to deliver the problem of web advertisement brings interference to user.
To achieve the above object, a kind of Ad blocking method that the present invention is provided, methods described includes:
When browser starts, the default Ad blocking storehouse of loading, the Ad blocking storehouse includes:Intercept rule;
When the browser loads webpage, the webpage is parsed, node tree is generated;
Node in the node tree is matched with the rule that intercepts;
When the node matching is advertising node, the display properties of the advertising node is changed, to intercept the advertisement
Node.
Further, after the step of node in the node tree being matched with the interception rule, including:
When the node is not belonging to advertising node, the display properties of the node is kept.
Further, when browser starts, the step of Ad blocking storehouse is preset in loading, including:
Under assets catalogues in the browser, the Ad blocking storehouse is deposited.
Further, when browser starts, the step of Ad blocking storehouse is preset in loading, including:
When browser starts, the interception rule in the Ad blocking storehouse is parsed, and deposit the interception rule.
In addition, to achieve the above object, the present invention proposes a kind of terminal again, and the terminal includes:Memory, processor and
The computer program that can be run on the memory and on the processor is stored in, the computer program is by the processing
Device realizes following step when performing:
When browser starts, the default Ad blocking storehouse of loading, the Ad blocking storehouse includes:Intercept rule;
When the browser loads webpage, the webpage is parsed, node tree is generated;
Node in the node tree is matched with the rule that intercepts;
When the node matching is advertising node, the display properties of the advertising node is changed, to intercept the advertisement
Node.
Further, the computer program by the computing device when also realize following step:
When the node is not belonging to advertising node, the display properties of the node is kept.
Further, the computer program by the computing device when also realize following step:
Under assets catalogues in the browser, the Ad blocking storehouse is deposited.
Further, the computer program by the computing device when also realize following step:
When browser starts, the interception rule in the Ad blocking storehouse is parsed, and deposit the interception rule.
In addition, to achieve the above object, the present invention also proposes a kind of computer-readable recording medium, described computer-readable
Be stored with Ad blocking program on storage medium, and the Ad blocking program realizes following steps when being executed by processor:
When browser starts, the default Ad blocking storehouse of loading, the Ad blocking storehouse includes:Intercept rule;
When loading webpage, the webpage is parsed, node tree is generated;
Node in the node tree is matched with the rule that intercepts;
When the node matching is advertising node, the display properties of the advertising node is changed, to intercept the advertisement
Node.
Further, following steps are also realized when the Ad blocking program is executed by processor:
When the node is not belonging to advertising node, the display properties of the node is kept.
Further, following steps are also realized when the Ad blocking program is executed by processor:
Under assets catalogues in the browser, the Ad blocking storehouse is deposited.
Further, following steps are also realized when the Ad blocking program is executed by processor:
When browser starts, the interception rule in the Ad blocking storehouse is parsed, and deposit the interception rule.
A kind of Ad blocking method proposed by the present invention, terminal and computer-readable recording medium, preset Ad blocking storehouse,
Web analysis is generated into node tree, by the way that node is matched with the interception rule in Ad blocking storehouse, to identify advertisement section
Point, changes the display properties of advertising node, the advertising node is not shown, so as to realize Ad blocking, it is to avoid use browser
When webpage on advertisement user is disturbed.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for the mobile terminal for realizing each embodiment of the invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
The method flow diagram for the Ad blocking method that Fig. 3 provides for first embodiment of the invention;
The method flow diagram for the Ad blocking method that Fig. 4 provides for second embodiment of the invention;
The schematic diagram for the terminal that Fig. 5 provides for third embodiment of the invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only
Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can be mixed
Ground is used.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board
Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. are moved
Move the fixed terminals such as terminal, and numeral TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special
Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of realization each embodiment of the invention, the shifting
Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit
108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts,
Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station
Downlink information receive after, handled to processor 110;In addition, up data are sent into base station.Generally, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user's transmitting-receiving electricity by WiFi module 102
Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need
To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 1 00
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or WiFi module 102 are received or
The voice data stored in memory 109 is converted into audio signal and is output as sound.Moreover, audio output unit 103
The audio output related to the specific function that mobile terminal 1 00 is performed can also be provided (for example, call signal receives sound, disappeared
Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042,1041 pairs of graphics processor is in video acquisition mode
Or the view data progress of the static images or video obtained in image capture mode by image capture apparatus (such as camera)
Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after being handled through graphics processor 1041 can be deposited
Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can
To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model.
Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound
The noise produced during frequency signal or interference.
Mobile terminal 1 00 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 1 00 is moved in one's ear
Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can be wrapped
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal
The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with
And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it
(such as user is using any suitable objects such as finger, stylus or annex on contact panel 1071 or in contact panel 1071
Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, touch detecting apparatus detects the touch orientation of user, and detects touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can
To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can be wrapped
Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, with preprocessor 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel
1061 be input and the output function that mobile terminal is realized as two independent parts, but in certain embodiments, can
By contact panel 1071 and the input that is integrated and realizing mobile terminal of display panel 1061 and output function, not do specifically herein
Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 1 00.For example,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 1 00 or can be with
For transmitting data between mobile terminal 1 00 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area
And storage data field, wherein, application program (the such as sound that storing program area can be needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data field can be stored uses created data (such as according to mobile phone
Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, it can also include non-easy
The property lost memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
Individual part, by operation or performs and is stored in software program and/or module in memory 109, and calls and be stored in storage
Data in device 109, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal.Place
Reason device 110 may include one or more processing units;It is preferred that, processor 110 can integrated application processor and modulatedemodulate mediate
Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main
Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 1 00 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put
The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 1 00 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system that the mobile terminal of the present invention is based on is entered below
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system
Unite as the LTE system of universal mobile communications technology, UE (User Equipment, use of the LTE system including communicating connection successively
Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
There is provided carrying and connection management for the control node of signaling between EPC203.HSS2032 is all to manage for providing some registers
Such as function of attaching position register (not shown) etc, and some are preserved about the use such as service features, data rate
The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP
Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources
Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And following new network system etc., do not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the inventive method is proposed.
Reference picture 3, the method flow diagram for the Ad blocking method that Fig. 3 provides for first embodiment of the invention.
Step S301, when browser starts, the default Ad blocking storehouse of loading, the Ad blocking storehouse includes:Intercept rule.
Step S302, when browser loads webpage, webpage is parsed, node tree is generated.
Step S303, the node in node tree is matched with intercepting rule.
Step S304, when node matching is advertising node, changes the display properties of advertising node, to intercept advertisement section
Point.
In step S301, mobile terminal can be downloaded according to preset time period timing and be applied to browsing on mobile terminal
The Ad blocking storehouse of device, and the above-mentioned Ad blocking storehouse of download is updated into storage to locally;Or, mobile terminal can also be at it
When browser starts, above-mentioned Ad blocking storehouse is downloaded from server, and the above-mentioned Ad blocking storehouse of download is updated into storage and is arrived
Locally;Or, terminal can also detect whether that needs are downloaded from server above-mentioned periodically or when its browser starts
Ad blocking storehouse, when detect need above-mentioned Ad blocking storehouse is downloaded from the server when, downloaded from the server above-mentioned
Ad blocking storehouse, and the Ad blocking storehouse of download is updated into storage to local, it is specifically, above-mentioned to detect whether to need from server
The middle above-mentioned Ad blocking storehouse of download includes:The local above-mentioned Ad blocking storehouse that whether is stored with of detection, is not stored locally when detecting
When having above-mentioned Ad blocking storehouse, testing result is determined to need to download above-mentioned Ad blocking storehouse from the server, when detecting
When above-mentioned Ad blocking storehouse has been locally stored, determine testing result to download above-mentioned Ad blocking from the server
Storehouse, or, when detect above-mentioned Ad blocking storehouse has been locally stored when, further detect in above-mentioned server with the presence or absence of new
Ad blocking storehouse, when detect there is no new Ad blocking storehouse in above-mentioned server when, determine testing result for need not
Above-mentioned Ad blocking storehouse is downloaded from the server, when detect there is new Ad blocking storehouse in above-mentioned server when, it is determined that
Testing result downloads above-mentioned Ad blocking storehouse for needs from the server.
In embodiments of the present invention, above-mentioned Ad blocking storehouse includes:Rule is intercepted, is browsed when user starts in mobile terminal
During device, show that user currently has the demand for browsing webpage, now, mobile terminal from locally loading above-mentioned Ad blocking storehouse so that
The advertisement in webpage must be identified by the interception rule in Ad blocking storehouse.
In embodiments of the present invention, Ad blocking storehouse is downloaded to locally from above-mentioned server, can be stored in mobile terminal
Under the assets catalogues of middle browser, assets catalogues are Resource TOC, can deposit js (JavaScript, a kind of literal translation formula pin
This language), css (Cascading Style Sheets, CSS), template, the resource file, assets catalogues such as picture
For being used for data storage in data transfer, correspondingly, when whether detection is locally stored with above-mentioned Ad blocking storehouse,
It is that the above-mentioned Ad blocking storehouse that whether is stored with is read under assets catalogues, and, when browser starts, in assets catalogues
The middle default Ad blocking storehouse of loading.
In embodiments of the present invention, when browser starts, by grammar parser, blocking in above-mentioned Ad blocking storehouse is parsed
Cut rule, above-mentioned interception rule is preserved into the rule base of mobile terminal internal memory.
In step s 302, after browser starts, browser sends web page access according to user access request to server
Request, server is received after above-mentioned web access requests, can parse above-mentioned web access requests, and return to corresponding target network
HTML (Hyper Text Mark-upLanguage, HTML) source code of page, html source code is converted to
Node tree, the node tree can be DOM (Document Object Model) trees, and html source code is rendered as carrying by dom tree
The tree construction (node tree) of element, attribute and text.
In step S303, html source code is converted into node tree, the node in node tree is carried out with intercepting rule
Matching, during generation dom tree, the node in dom tree is delivered in Ad blocking storehouse, passed through
DomFilter.isMatch () method judges whether to match with advertisement base, and match () is searched for using the regular expression specified
Character string, returns to an array, have recorded the position that regular expression is matched in character string, and isMactch refers to whether look for
To occurrence, if isMatch returns to true, occurrence is found, when finding occurrence, the node matching is advertisement section
Point, when not finding occurrence, then the node is not advertising node.
In step s 304, if isMatch returns to true, occurrence is found, node matching is advertising node, changed
The display properties of advertising node, to intercept advertising node, is added in style<display:none>After attribute, browser is just
Default file is no longer rendered, therefore can also not show in the webpage rendered picture corresponding with picture access request again,
Namely no longer occur the advertisement in webpage, so as to realize Ad blocking, user can be allowed to exempt advertisement puzzlement, browser is improved
Consumer's Experience.
In embodiments of the present invention, web analysis is generated into node tree, by the way that the interception of node and Ad blocking storehouse is advised
Then matched, to identify advertising node, change the display properties of advertising node, the advertising node is not shown, so as to realize
Ad blocking, it is to avoid disturbed user using the advertisement on webpage during browser, exempted advertisement puzzlement by be allowed user, improved
Browser client is experienced.
Reference picture 4, the method flow diagram for the Ad blocking method that Fig. 4 provides for second embodiment of the invention.
Step S401, when browser starts, the default Ad blocking storehouse of loading, the Ad blocking storehouse includes:Intercept rule.
Step S402, when loading webpage, webpage is parsed, node tree is generated.
Step S403, the node in node tree is matched with intercepting rule.
Step S404, when node matching is advertising node, changes the display properties of advertising node, to intercept advertisement section
Point.
Step S405, when node is not belonging to advertising node, keeps the display properties of node.
In step S401, mobile terminal can be downloaded according to preset time period timing and be applied to browsing on mobile terminal
The Ad blocking storehouse of device, and the above-mentioned Ad blocking storehouse of download is updated into storage to locally;Or, mobile terminal can also be at it
When browser starts, above-mentioned Ad blocking storehouse is downloaded from server, and the above-mentioned Ad blocking storehouse of download is updated into storage and is arrived
Locally;Or, terminal can also detect whether that needs are downloaded from server above-mentioned periodically or when its browser starts
Ad blocking storehouse, when detect need above-mentioned Ad blocking storehouse is downloaded from the server when, downloaded from the server above-mentioned
Ad blocking storehouse, and the Ad blocking storehouse of download is updated into storage to local, it is specifically, above-mentioned to detect whether to need from server
The middle above-mentioned Ad blocking storehouse of download includes:The local above-mentioned Ad blocking storehouse that whether is stored with of detection, is not stored locally when detecting
When having above-mentioned Ad blocking storehouse, testing result is determined to need to download above-mentioned Ad blocking storehouse from the server, when detecting
When above-mentioned Ad blocking storehouse has been locally stored, determine testing result to download above-mentioned Ad blocking from the server
Storehouse, or, when detect above-mentioned Ad blocking storehouse has been locally stored when, further detect in above-mentioned server with the presence or absence of new
Ad blocking storehouse, when detect there is no new Ad blocking storehouse in above-mentioned server when, determine testing result for need not
Above-mentioned Ad blocking storehouse is downloaded from the server, when detect there is new Ad blocking storehouse in above-mentioned server when, it is determined that
Testing result downloads above-mentioned Ad blocking storehouse for needs from the server.
In embodiments of the present invention, above-mentioned Ad blocking storehouse includes:Rule is intercepted, is browsed when user starts in mobile terminal
During device, show that user currently has the demand for browsing webpage, now, mobile terminal from locally loading above-mentioned Ad blocking storehouse so that
The advertisement in webpage must be identified by the interception rule in Ad blocking storehouse.
In step S402, after browser starts, browser sends web page access according to user access request to server
Request, server is received after above-mentioned web access requests, can parse above-mentioned web access requests, and return to corresponding target network
HTML (Hyper Text Mark-upLanguage, HTML) source code of page, html source code is converted to
Node tree, the node tree can be DOM (Document Object Model) trees, and html source code is rendered as carrying by dom tree
The tree construction (node tree) of element, attribute and text.
In step S403, html source code is converted into node tree, the node in node tree is carried out with intercepting rule
Matching, during generation dom tree, the node in dom tree is delivered in Ad blocking storehouse, passed through
DomFilter.isMatch () method judges whether to match with advertisement base, and match () is searched for using the regular expression specified
Character string, returns to an array, have recorded the position that regular expression is matched in character string, and isMactch refers to whether look for
To occurrence, if isMatch returns to true, occurrence is found, when finding occurrence, the node matching is advertisement section
Point, when not finding occurrence, then the node is not advertising node.
In step s 404, if isMatch returns to true, occurrence is found, node matching is advertising node, changed
The display properties of advertising node, to intercept advertising node, is added in style<display:none>After attribute, browser is just
Default file is no longer rendered, therefore can also not show in the webpage rendered picture corresponding with picture access request again,
Namely no longer occur the advertisement in webpage, so as to realize Ad blocking, user can be allowed to exempt advertisement puzzlement, browser is improved
Consumer's Experience.
Step S405, when not finding occurrence, then the node is not advertising node, the display without changing advertising node
Attribute, keeps the original display properties of node, and browser can render default file, normally be shown in the webpage rendered
Picture corresponding with picture access request.
In embodiments of the present invention, web analysis is generated into node tree, by the way that the interception of node and Ad blocking storehouse is advised
Then matched, to identify advertising node, change the display properties of advertising node, the advertising node is not shown, so as to realize
Ad blocking, it is to avoid disturbed user using the advertisement on webpage during browser, exempted advertisement puzzlement by be allowed user, improved
Browser client is experienced.
A kind of terminal provided with reference to Fig. 5, third embodiment of the invention, the terminal 50 includes:Memory 510, processor
520 and the computer program 530 that can be run on memory 510 and on processor 520 is stored in, computer program 530 is located
Reason device 520 realizes following step when performing:
When browser starts, the default Ad blocking storehouse of loading, the Ad blocking storehouse includes:Intercept rule;
When browser loads webpage, webpage is parsed, node tree is generated;
Node in node tree is matched with the rule that intercepts;
When node matching is advertising node, the display properties of advertising node is changed, to intercept advertising node.
In embodiments of the present invention, terminal can be downloaded applied to the browser in terminal according to preset time period timing
Ad blocking storehouse, and the above-mentioned Ad blocking storehouse of download is updated into storage to locally;Or, terminal can also be opened in its browser
When dynamic, above-mentioned Ad blocking storehouse is downloaded from server, and the above-mentioned Ad blocking storehouse of download is updated into storage to locally;Or
Person, terminal can also detect whether that needs are downloaded above-mentioned advertisement from server and blocked periodically or when its browser starts
Cut storehouse, when detect need above-mentioned Ad blocking storehouse is downloaded from the server when, above-mentioned advertisement is downloaded from the server and is blocked
Storehouse is cut, and the Ad blocking storehouse of download is updated into storage to local, it is specifically, above-mentioned to detect whether to need to download from server
Above-mentioned Ad blocking storehouse includes:The local above-mentioned Ad blocking storehouse that whether is stored with of detection, when detect it is local be not stored with it is above-mentioned
During Ad blocking storehouse, testing result is determined to need to download above-mentioned Ad blocking storehouse from the server, is locally deposited when detecting
When containing above-mentioned Ad blocking storehouse, determine testing result to download above-mentioned Ad blocking storehouse from the server, or,
When detect above-mentioned Ad blocking storehouse has been locally stored when, further detect in above-mentioned server and to be blocked with the presence or absence of new advertisement
Cut storehouse, when detect there is no new Ad blocking storehouse in above-mentioned server when, determine testing result for need not be from the service
Above-mentioned Ad blocking storehouse is downloaded in device, when detect there is new Ad blocking storehouse in above-mentioned server when, determine testing result
To need to download above-mentioned Ad blocking storehouse from the server.
In embodiments of the present invention, above-mentioned Ad blocking storehouse includes:Rule is intercepted, when user is in terminal startup browser
When, show that user currently has the demand for browsing webpage, now, terminal is from above-mentioned Ad blocking storehouse is locally loaded, to pass through
Advertisement in webpage is identified interception rule in Ad blocking storehouse.
In embodiments of the present invention, Ad blocking storehouse is downloaded to locally from above-mentioned server, can be stored in mobile terminal
Under the assets catalogues of middle browser, assets catalogues are used in data transfer be used for data storage, correspondingly, in detection
It is local whether be stored with above-mentioned Ad blocking storehouse when, be also that the above-mentioned Ad blocking that whether is stored with is read under assets catalogues
Storehouse, and, when browser starts, default Ad blocking storehouse is loaded in assets catalogues.
In embodiments of the present invention, when browser starts, by grammar parser, blocking in above-mentioned Ad blocking storehouse is parsed
Cut rule, above-mentioned interception rule is preserved into the rule base of terminal internal memory.
In embodiments of the present invention, after browser starts, browser sends webpage according to user access request to server
Access request, server is received after above-mentioned web access requests, can parse above-mentioned web access requests, and return to corresponding mesh
HTML (Hyper Text Mark-upLanguage, HTML) source code of webpage is marked, html source code is turned
Node tree is changed to, the node tree can be DOM (Document Object Model) trees, html source code is rendered as by dom tree
Tree construction (node tree) with element, attribute and text.
In embodiments of the present invention, html source code is converted into node tree, by the node in node tree with intercepting rule
Matched, during generation dom tree, the node in dom tree is delivered in Ad blocking storehouse, passed through
DomFilter.isMatch () method judges whether to match with advertisement base, and match () is searched for using the regular expression specified
Character string, returns to an array, have recorded the position that regular expression is matched in character string, and isMactch refers to whether look for
To occurrence, if isMatch returns to true, occurrence is found, when finding occurrence, the node matching is advertisement section
Point, when not finding occurrence, then the node is not advertising node.
In embodiments of the present invention, if isMatch returns to true, occurrence is found, node matching is advertising node,
The display properties of advertising node is changed, to intercept advertising node, is added in style<display:none>After attribute, browse
Device just no longer renders default file, therefore can also not show in the webpage rendered figure corresponding with picture access request again
No longer occur the advertisement in piece, that is, webpage, so as to realize Ad blocking, user can be allowed to exempt advertisement puzzlement, improved clear
Look at device Consumer's Experience.
Further, when not finding occurrence, then the node is not advertising node, the display without changing advertising node
Attribute, keeps the original display properties of node, and browser can render default file, normally be shown in the webpage rendered
Picture corresponding with picture access request.
In embodiments of the present invention, web analysis is generated into node tree, by the way that the interception of node and Ad blocking storehouse is advised
Then matched, to identify advertising node, change the display properties of advertising node, the advertising node is not shown, so as to realize
Ad blocking, it is to avoid disturbed user using the advertisement on webpage during browser, exempted advertisement puzzlement by be allowed user, improved
Browser client is experienced.
Deposited on a kind of computer-readable recording medium that fourth embodiment of the invention is provided, the computer-readable recording medium
Ad blocking program is contained, above-mentioned Ad blocking program realizes following steps when being executed by processor:
When browser starts, the default Ad blocking storehouse of loading, above-mentioned Ad blocking storehouse includes:Intercept rule;
When loading webpage, webpage is parsed, node tree is generated;
Node in node tree is matched with intercepting rule;
When node matching is advertising node, the display properties of advertising node is changed, to intercept advertising node.
In embodiments of the present invention, mobile terminal can be downloaded according to preset time period timing and is applied on mobile terminal
The Ad blocking storehouse of browser, and the above-mentioned Ad blocking storehouse of download is updated into storage to locally;Or, mobile terminal can also
When its browser starts, above-mentioned Ad blocking storehouse is downloaded from server, and the above-mentioned Ad blocking storehouse renewal of download is deposited
Store up local;Or, terminal can also be detected whether to need to download from server periodically or when its browser starts
Above-mentioned Ad blocking storehouse, when detect need above-mentioned Ad blocking storehouse is downloaded from the server when, from the server download
Above-mentioned Ad blocking storehouse, and the Ad blocking storehouse of download is updated into storage to local, it is specifically, above-mentioned to detect whether to need from clothes
Downloading above-mentioned Ad blocking storehouse in business device includes:The local above-mentioned Ad blocking storehouse that whether is stored with of detection, when detect it is local not
Be stored with above-mentioned Ad blocking storehouse when, determine testing result for need above-mentioned Ad blocking storehouse is downloaded from the server, work as inspection
Measure when above-mentioned Ad blocking storehouse has been locally stored, determine testing result and blocked for above-mentioned advertisement need not be downloaded from the server
Cut storehouse, or, when detect above-mentioned Ad blocking storehouse has been locally stored when, further detect and whether there is in above-mentioned server
New Ad blocking storehouse, when detect there is no new Ad blocking storehouse in above-mentioned server when, determine testing result to be not required to
Above-mentioned Ad blocking storehouse is downloaded from the server, when detect there is new Ad blocking storehouse in above-mentioned server when, really
Determine testing result to need to download above-mentioned Ad blocking storehouse from the server.
In embodiments of the present invention, above-mentioned Ad blocking storehouse includes:Rule is intercepted, is browsed when user starts in mobile terminal
During device, show that user currently has the demand for browsing webpage, now, mobile terminal from locally loading above-mentioned Ad blocking storehouse so that
The advertisement in webpage must be identified by the interception rule in Ad blocking storehouse.
In embodiments of the present invention, Ad blocking storehouse is downloaded to locally from above-mentioned server, can be stored in mobile terminal
Under the assets catalogues of middle browser, assets catalogues are used in data transfer be used for data storage, correspondingly, in detection
It is local whether be stored with above-mentioned Ad blocking storehouse when, be also that the above-mentioned Ad blocking that whether is stored with is read under assets catalogues
Storehouse, and, when browser starts, default Ad blocking storehouse is loaded in assets catalogues.
In embodiments of the present invention, when browser starts, by grammar parser, blocking in above-mentioned Ad blocking storehouse is parsed
Cut rule, above-mentioned interception rule is preserved into the rule base of mobile terminal internal memory.
In embodiments of the present invention, after browser starts, browser sends webpage according to user access request to server
Access request, server is received after above-mentioned web access requests, can parse above-mentioned web access requests, and return to corresponding mesh
HTML (Hyper Text Mark-upLanguage, HTML) source code of webpage is marked, html source code is turned
Node tree is changed to, the node tree can be DOM (Document Object Model) trees, html source code is rendered as by dom tree
Tree construction (node tree) with element, attribute and text.
In embodiments of the present invention, html source code is converted into node tree, by the node in node tree with intercepting rule
Matched, during generation dom tree, the node in dom tree is delivered in Ad blocking storehouse, passed through
DomFilter.isMatch () method judges whether to match with advertisement base, and match () is searched for using the regular expression specified
Character string, returns to an array, have recorded the position that regular expression is matched in character string, and isMactch refers to whether look for
To occurrence, if isMatch returns to true, occurrence is found, when finding occurrence, the node matching is advertisement section
Point, when not finding occurrence, then the node is not advertising node.
In embodiments of the present invention, if isMatch returns to true, occurrence is found, node matching is advertising node,
The display properties of advertising node is changed, to intercept advertising node, is added in style<display:none>After attribute, browse
Device just no longer renders default file, therefore can also not show in the webpage rendered figure corresponding with picture access request again
No longer occur the advertisement in piece, that is, webpage, so as to realize Ad blocking, user can be allowed to exempt advertisement puzzlement, improved clear
Look at device Consumer's Experience.
In embodiments of the present invention, web analysis is generated into node tree, by the way that the interception of node and Ad blocking storehouse is advised
Then matched, to identify advertising node, change the display properties of advertising node, the advertising node is not shown, so as to realize
Ad blocking, it is to avoid disturbed user using the advertisement on webpage during browser, exempted advertisement puzzlement by be allowed user, improved
Browser client is experienced.
Deposited on a kind of computer-readable recording medium that fifth embodiment of the invention is provided, the computer-readable recording medium
Ad blocking program is contained, above-mentioned Ad blocking program realizes following steps when being executed by processor:
When browser starts, the default Ad blocking storehouse of loading, above-mentioned Ad blocking storehouse includes:Intercept rule;
When loading webpage, webpage is parsed, node tree is generated;
Node in node tree is matched with intercepting rule;
When node matching is advertising node, the display properties of advertising node is changed, to intercept advertising node;
When the node is not belonging to advertising node, the display properties of the node is kept.
In embodiments of the present invention, mobile terminal can be downloaded according to preset time period timing and is applied on mobile terminal
The Ad blocking storehouse of browser, and the above-mentioned Ad blocking storehouse of download is updated into storage to locally;Or, mobile terminal can also
When its browser starts, above-mentioned Ad blocking storehouse is downloaded from server, and the above-mentioned Ad blocking storehouse renewal of download is deposited
Store up local;Or, terminal can also be detected whether to need to download from server periodically or when its browser starts
Above-mentioned Ad blocking storehouse, when detect need above-mentioned Ad blocking storehouse is downloaded from the server when, from the server download
Above-mentioned Ad blocking storehouse, and the Ad blocking storehouse of download is updated into storage to local, it is specifically, above-mentioned to detect whether to need from clothes
Downloading above-mentioned Ad blocking storehouse in business device includes:The local above-mentioned Ad blocking storehouse that whether is stored with of detection, when detect it is local not
Be stored with above-mentioned Ad blocking storehouse when, determine testing result for need above-mentioned Ad blocking storehouse is downloaded from the server, work as inspection
Measure when above-mentioned Ad blocking storehouse has been locally stored, determine testing result and blocked for above-mentioned advertisement need not be downloaded from the server
Cut storehouse, or, when detect above-mentioned Ad blocking storehouse has been locally stored when, further detect and whether there is in above-mentioned server
New Ad blocking storehouse, when detect there is no new Ad blocking storehouse in above-mentioned server when, determine testing result to be not required to
Above-mentioned Ad blocking storehouse is downloaded from the server, when detect there is new Ad blocking storehouse in above-mentioned server when, really
Determine testing result to need to download above-mentioned Ad blocking storehouse from the server.
In embodiments of the present invention, above-mentioned Ad blocking storehouse includes:Rule is intercepted, is browsed when user starts in mobile terminal
During device, show that user currently has the demand for browsing webpage, now, mobile terminal from locally loading above-mentioned Ad blocking storehouse so that
The advertisement in webpage must be identified by the interception rule in Ad blocking storehouse.
In embodiments of the present invention, Ad blocking storehouse is downloaded to locally from above-mentioned server, can be stored in mobile terminal
Under the assets catalogues of middle browser, assets catalogues are used in data transfer be used for data storage, correspondingly, in detection
It is local whether be stored with above-mentioned Ad blocking storehouse when, be also that the above-mentioned Ad blocking that whether is stored with is read under assets catalogues
Storehouse, and, when browser starts, default Ad blocking storehouse is loaded in assets catalogues.
In embodiments of the present invention, when browser starts, by grammar parser, blocking in above-mentioned Ad blocking storehouse is parsed
Cut rule, above-mentioned interception rule is preserved into the rule base of mobile terminal internal memory.
In embodiments of the present invention, after browser starts, browser sends webpage according to user access request to server
Access request, server is received after above-mentioned web access requests, can parse above-mentioned web access requests, and return to corresponding mesh
HTML (Hyper Text Mark-upLanguage, HTML) source code of webpage is marked, html source code is turned
Node tree is changed to, the node tree can be DOM (Document Object Model) trees, html source code is rendered as by dom tree
Tree construction (node tree) with element, attribute and text.
In embodiments of the present invention, html source code is converted into node tree, by the node in node tree with intercepting rule
Matched, during generation dom tree, the node in dom tree is delivered in Ad blocking storehouse, passed through
DomFilter.isMatch () method judges whether to match with advertisement base, and match () is searched for using the regular expression specified
Character string, returns to an array, have recorded the position that regular expression is matched in character string, and isMactch refers to whether look for
To occurrence, if isMatch returns to true, occurrence is found, when finding occurrence, the node matching is advertisement section
Point, when not finding occurrence, then the node is not advertising node.
In embodiments of the present invention, if isMatch returns to true, occurrence is found, node matching is advertising node,
The display properties of advertising node is changed, to intercept advertising node, is added in style<display:none>After attribute, browse
Device just no longer renders default file, therefore can also not show in the webpage rendered figure corresponding with picture access request again
No longer occur the advertisement in piece, that is, webpage, so as to realize Ad blocking, user can be allowed to exempt advertisement puzzlement, improved clear
Look at device Consumer's Experience.
Further, when not finding occurrence, then the node is not advertising node, the display without changing advertising node
Attribute, keeps the original display properties of node, and browser can render default file, normally be shown in the webpage rendered
Picture corresponding with picture access request.
In embodiments of the present invention, web analysis is generated into node tree, by the way that the interception of node and Ad blocking storehouse is advised
Then matched, to identify advertising node, change the display properties of advertising node, the advertising node is not shown, so as to realize
Ad blocking, it is to avoid disturbed user using the advertisement on webpage during browser, exempted advertisement puzzlement by be allowed user, improved
Browser client is experienced.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and
And also including other key elements being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there is other identical element in process, method, article or the device of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal (can be mobile phone, computer, service
Device, air conditioner, or network equipment etc.) perform method described in each of the invention embodiment.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art
Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot
Form, these are belonged within the protection of the present invention.
Claims (10)
1. a kind of Ad blocking method, it is characterised in that methods described includes step:
When browser starts, the default Ad blocking storehouse of loading, the Ad blocking storehouse includes:Intercept rule;
When the browser loads webpage, the webpage is parsed, node tree is generated;
Node in the node tree is matched with the rule that intercepts;
When the node matching is advertising node, the display properties of the advertising node is changed, to intercept the advertising node.
2. Ad blocking method according to claim 1, it is characterised in that the node and institute by the node tree
After interception rule is stated the step of matched, including:
When the node is not belonging to advertising node, the display properties of the node is kept.
3. Ad blocking method according to claim 1, it is characterised in that described when browser starts, loading is default
The step of Ad blocking storehouse, including:
Under assets catalogues in the browser, the Ad blocking storehouse is deposited.
4. Ad blocking method according to claim 1, it is characterised in that described when browser starts, loading is default
The step of Ad blocking storehouse, including:
When browser starts, the interception rule in the Ad blocking storehouse is parsed, and deposit the interception rule.
5. a kind of terminal, it is characterised in that the terminal includes:Memory, processor and it is stored on the memory and can
The computer program run on the processor, following step is realized when the computer program is by the computing device:
When browser starts, the default Ad blocking storehouse of loading, the Ad blocking storehouse includes:Intercept rule;
When the browser loads webpage, the webpage is parsed, node tree is generated;
Node in the node tree is matched with the rule that intercepts;
When the node matching is advertising node, the display properties of the advertising node is changed, to intercept the advertising node.
6. terminal according to claim 5, it is characterised in that the computer program is gone back reality during the computing device
Existing following step:
When the node is not belonging to advertising node, the display properties of the node is kept.
7. terminal according to claim 5, it is characterised in that the computer program is gone back reality during the computing device
Existing following step:
Under assets catalogues in the browser, the Ad blocking storehouse is deposited.
8. terminal according to claim 5, it is characterised in that the computer program is gone back reality during the computing device
Existing following step:
When browser starts, the interception rule in the Ad blocking storehouse is parsed, and deposit the interception rule.
9. a kind of computer-readable recording medium, it is characterised in that the advertisement that is stored with the computer-readable recording medium is blocked
The program of cutting, the Ad blocking program realizes following steps when being executed by processor:
When browser starts, the default Ad blocking storehouse of loading, the Ad blocking storehouse includes:Intercept rule;
When the browser loads webpage, the webpage is parsed, node tree is generated;
Node in the node tree is matched with the rule that intercepts;
When the node matching is advertising node, the display properties of the advertising node is changed, to intercept the advertising node.
10. computer-readable recording medium according to claim 9, it is characterised in that the Ad blocking program is located
Reason device also realizes following steps when performing:
When the node is not belonging to advertising node, the display properties of the node is kept.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710299670.1A CN107193889A (en) | 2017-05-02 | 2017-05-02 | Ad blocking method, terminal and computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710299670.1A CN107193889A (en) | 2017-05-02 | 2017-05-02 | Ad blocking method, terminal and computer-readable recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107193889A true CN107193889A (en) | 2017-09-22 |
Family
ID=59873611
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710299670.1A Pending CN107193889A (en) | 2017-05-02 | 2017-05-02 | Ad blocking method, terminal and computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107193889A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108304558A (en) * | 2018-02-07 | 2018-07-20 | 北京小米移动软件有限公司 | Advertisement shields method, apparatus, equipment and storage medium |
CN108366058A (en) * | 2018-02-07 | 2018-08-03 | 平安普惠企业管理有限公司 | Method, apparatus, equipment and the storage medium for preventing advertisement operators flow from kidnapping |
CN108494728A (en) * | 2018-02-07 | 2018-09-04 | 平安普惠企业管理有限公司 | Blacklist base establishing method, device, equipment and the medium for preventing flow from kidnapping |
CN108647274A (en) * | 2018-04-28 | 2018-10-12 | 北京微播视界科技有限公司 | Web page contents processing method, device, computer readable storage medium and terminal |
CN109033333A (en) * | 2018-07-20 | 2018-12-18 | 重庆宝力优特科技有限公司 | A kind of Ad blocking method and system and computer readable storage medium |
CN109471974A (en) * | 2018-11-02 | 2019-03-15 | 北京字节跳动网络技术有限公司 | Filter method, apparatus, electronic equipment and the storage medium of third party's web advertisement |
CN110955855A (en) * | 2018-09-27 | 2020-04-03 | 华为终端有限公司 | Information interception method, device and terminal |
CN112104632A (en) * | 2020-09-07 | 2020-12-18 | 中国联合网络通信集团有限公司 | Advertisement-free method and device |
CN112667330A (en) * | 2020-12-18 | 2021-04-16 | 中国平安人寿保险股份有限公司 | Page display method and computer equipment |
CN112995149A (en) * | 2021-02-07 | 2021-06-18 | 河南职业技术学院 | Computer network information management system |
CN113239304A (en) * | 2021-04-30 | 2021-08-10 | 西安交通大学 | Advertisement processing method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103838880A (en) * | 2014-03-28 | 2014-06-04 | 北京金山网络科技有限公司 | Webpage advertisement filter method and device |
CN104021172A (en) * | 2014-05-30 | 2014-09-03 | 北京搜狗科技发展有限公司 | Advertisement filtering method and advertisement filtering device |
CN104133865A (en) * | 2014-07-17 | 2014-11-05 | 可牛网络技术(北京)有限公司 | Advertisement filtering method and device |
CN104778405A (en) * | 2015-03-11 | 2015-07-15 | 小米科技有限责任公司 | Method and device for blocking advertisements |
WO2015165245A1 (en) * | 2014-04-30 | 2015-11-05 | 广州市动景计算机科技有限公司 | Webpage data processing method and device |
CN106326316A (en) * | 2015-07-08 | 2017-01-11 | 腾讯科技(深圳)有限公司 | Web page advertisement filtering method and device |
-
2017
- 2017-05-02 CN CN201710299670.1A patent/CN107193889A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103838880A (en) * | 2014-03-28 | 2014-06-04 | 北京金山网络科技有限公司 | Webpage advertisement filter method and device |
WO2015165245A1 (en) * | 2014-04-30 | 2015-11-05 | 广州市动景计算机科技有限公司 | Webpage data processing method and device |
CN104021172A (en) * | 2014-05-30 | 2014-09-03 | 北京搜狗科技发展有限公司 | Advertisement filtering method and advertisement filtering device |
CN104133865A (en) * | 2014-07-17 | 2014-11-05 | 可牛网络技术(北京)有限公司 | Advertisement filtering method and device |
CN104778405A (en) * | 2015-03-11 | 2015-07-15 | 小米科技有限责任公司 | Method and device for blocking advertisements |
CN106326316A (en) * | 2015-07-08 | 2017-01-11 | 腾讯科技(深圳)有限公司 | Web page advertisement filtering method and device |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108366058A (en) * | 2018-02-07 | 2018-08-03 | 平安普惠企业管理有限公司 | Method, apparatus, equipment and the storage medium for preventing advertisement operators flow from kidnapping |
CN108494728A (en) * | 2018-02-07 | 2018-09-04 | 平安普惠企业管理有限公司 | Blacklist base establishing method, device, equipment and the medium for preventing flow from kidnapping |
CN108304558A (en) * | 2018-02-07 | 2018-07-20 | 北京小米移动软件有限公司 | Advertisement shields method, apparatus, equipment and storage medium |
CN108647274B (en) * | 2018-04-28 | 2022-03-08 | 北京微播视界科技有限公司 | Webpage content processing method and device, computer readable storage medium and terminal |
CN108647274A (en) * | 2018-04-28 | 2018-10-12 | 北京微播视界科技有限公司 | Web page contents processing method, device, computer readable storage medium and terminal |
CN109033333A (en) * | 2018-07-20 | 2018-12-18 | 重庆宝力优特科技有限公司 | A kind of Ad blocking method and system and computer readable storage medium |
CN110955855A (en) * | 2018-09-27 | 2020-04-03 | 华为终端有限公司 | Information interception method, device and terminal |
CN109471974A (en) * | 2018-11-02 | 2019-03-15 | 北京字节跳动网络技术有限公司 | Filter method, apparatus, electronic equipment and the storage medium of third party's web advertisement |
CN112104632A (en) * | 2020-09-07 | 2020-12-18 | 中国联合网络通信集团有限公司 | Advertisement-free method and device |
CN112104632B (en) * | 2020-09-07 | 2022-08-02 | 中国联合网络通信集团有限公司 | Advertisement-free method and device |
CN112667330A (en) * | 2020-12-18 | 2021-04-16 | 中国平安人寿保险股份有限公司 | Page display method and computer equipment |
CN112667330B (en) * | 2020-12-18 | 2024-02-09 | 中国平安人寿保险股份有限公司 | Page display method and computer equipment |
CN112995149B (en) * | 2021-02-07 | 2022-04-22 | 河南职业技术学院 | Computer network information management system |
CN112995149A (en) * | 2021-02-07 | 2021-06-18 | 河南职业技术学院 | Computer network information management system |
CN113239304A (en) * | 2021-04-30 | 2021-08-10 | 西安交通大学 | Advertisement processing method |
CN113239304B (en) * | 2021-04-30 | 2023-03-28 | 西安交通大学 | Advertisement processing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107193889A (en) | Ad blocking method, terminal and computer-readable recording medium | |
CN108536481A (en) | A kind of application program launching method, mobile terminal and computer storage media | |
CN107688607A (en) | The method and mobile terminal of a kind of database access, computer-readable recording medium | |
CN107197017A (en) | A kind of consuming method, terminal and computer-readable recording medium based on consumption queue | |
CN107507007A (en) | One kind pays 2 D code verification method, terminal and computer-readable recording medium | |
CN107145385A (en) | A kind of multitask interface display methods, mobile terminal and computer-readable storage medium | |
CN107329682A (en) | Edge exchange method and mobile terminal | |
CN107220050A (en) | Adaptive display method, terminal and computer-readable recording medium | |
CN107678634A (en) | The method to set up and terminal of game mode, computer-readable recording medium | |
CN107566605A (en) | A kind of interactive interface processing method, equipment and computer-readable recording medium | |
CN107426304A (en) | Method, system and the proxy server of interactive media resource | |
CN107124466A (en) | One kind prevents caching penetrating method and device, computer-readable recording medium | |
CN107911536A (en) | A kind of across application program access method, equipment and computer-readable recording medium | |
CN107688429A (en) | Management method, mobile terminal and the computer-readable recording medium of application controls | |
CN107135086A (en) | One kind broadcast method for pushing and equipment, computer-readable recording medium | |
CN107133151A (en) | A kind of daily record data processing method, equipment and computer-readable recording medium | |
CN107817934A (en) | A kind of method for information display, terminal and computer-readable recording medium | |
CN108600325A (en) | A kind of determination method, server and the computer readable storage medium of push content | |
CN107480054A (en) | A kind of call chain data processing method, equipment and computer-readable recording medium | |
CN107368241A (en) | A kind of information processing method, equipment and computer-readable recording medium | |
CN107688639A (en) | Using recommendation method, server and computer-readable recording medium | |
CN107506468A (en) | Application program searching method, terminal, server, computer-readable recording medium | |
CN107608727A (en) | A kind of display methods of application program, mobile terminal and storage medium | |
CN107566608A (en) | A kind of system air navigation aid, equipment and computer-readable recording medium | |
CN107833077A (en) | Advertisement insertion and mobile terminal |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170922 |