CN108009232A - Advertisement shields method and device - Google Patents

Advertisement shields method and device Download PDF

Info

Publication number
CN108009232A
CN108009232A CN201711226303.5A CN201711226303A CN108009232A CN 108009232 A CN108009232 A CN 108009232A CN 201711226303 A CN201711226303 A CN 201711226303A CN 108009232 A CN108009232 A CN 108009232A
Authority
CN
China
Prior art keywords
advertisement
url
displaying interface
web displaying
module
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
Application number
CN201711226303.5A
Other languages
Chinese (zh)
Inventor
陈志军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201711226303.5A priority Critical patent/CN108009232A/en
Publication of CN108009232A publication Critical patent/CN108009232A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links

Abstract

The disclosure is directed to a kind of advertisement to shield method and device.Including:Monitor whether current page is web displaying interface.When it is web displaying interface to listen to current page, the picture material at the web displaying interface is obtained.According to the picture material at the web displaying interface, judge whether the web displaying interface includes advertisement.In the case of including advertisement at the web displaying interface, each first URL corresponding to each advertisement is determined.Shield the linking request of each first URL.Display content analysis shielding advertisement of the disclosure based on webpage, can the more flexible change for adapting to advertisement in webpage, the thus advertisement in accurate detection and shielding web page, and be not easy to be cracked.

Description

Advertisement shields method and device
Technical field
This disclosure relates to area of pattern recognition, more particularly to a kind of advertisement shielding method and device.
Background technology
With the popularization of internet, many websites often carry all kinds of ad plug-ins in its webpage.Ad plug-in influences The processing speed of equipment, has obscured the main contents of webpage, has seriously affected the efficiency that user browses webpage.
In correlation technique, the purposes of commercial detection box screen method for page of blocking is based primarily upon in webpage HTML (HyperText Markup Language, hypertext markup language) source code analyzed, determine which is advertisement in html source code, which is just Normal HTML code.And thus establish the blacklist of advertiser website.Advertisement is shielded by blacklist.But advertisement publishers' meeting The constantly html source code of renewal advertisement, or the html source code of advertisement is encrypted, thus continue around the interception of blacklist It is shown in webpage, user is caused to perplex.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of advertisement shielding method and device.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of advertisement screen method, including:
Monitor whether current page is web displaying interface;
When it is web displaying interface to listen to current page, the picture material at the web displaying interface is obtained;
According to the picture material at the web displaying interface, judge whether the web displaying interface includes advertisement;
In the case of including advertisement at the web displaying interface, each first URL corresponding to each advertisement is determined;
Shield the linking request of each first URL.
For the above method, in a kind of possible implementation, according to the picture material at the web displaying interface, sentence Whether the disconnected web displaying interface includes advertisement, including:
The picture material at the web displaying interface is inputted into commercial block detectors, whether to detect the web displaying interface Include advertisement.
For the above method, in a kind of possible implementation, each first URL corresponding to each advertisement is determined, including:
Display location of the advertisement in webpage is determined according to the commercial block detectors;
Corresponding first URL of the advertisement is determined according to the html source code of the display location and webpage.
For the above method, in a kind of possible implementation, each first URL corresponding to each advertisement is determined, including:
Extract the first characteristics of image of each advertisement;
Compare the similarity of the second characteristics of image of described first image feature and advertisement formwork;
Similarity is more than the corresponding URL of the second characteristics of image of predetermined threshold value as the first URL.
For the above method, in a kind of possible implementation, further include:
Obtain at least one 2nd URL that the corresponding websites of the first URL include;
Shield the linking request of each 2nd URL.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of advertisement screening arrangement, including:
Module is monitored, for monitoring whether current page is web displaying interface;
Acquisition module, for when it is web displaying interface to listen to current page, obtaining the web displaying interface Picture material;
Whether judgment module, for the picture material according to the web displaying interface, judge the web displaying interface Include advertisement;
Determining module, in the case of including advertisement at the web displaying interface, determines each corresponding to each advertisement First URL;
First shroud module, for shielding the linking request of each first URL.
For above device, in a kind of possible implementation, the judgment module includes:
Judging submodule, for the picture material at the web displaying interface to be inputted commercial block detectors, with described in detection Whether web displaying interface includes advertisement.
For above device, in a kind of possible implementation, the determining module includes:
First determination sub-module, for determining display location of the advertisement in webpage according to the commercial block detectors;
Second determination sub-module, for determining that the advertisement is corresponding according to the html source code of the display location and webpage First URL.
For above device, in a kind of possible implementation, the determining module includes:
3rd determination sub-module, for extracting the first characteristics of image of each advertisement;
4th determination sub-module, for compare described first image feature and advertisement formwork the second characteristics of image it is similar Degree;
5th determination sub-module, the corresponding URL of the second characteristics of image for similarity to be more than to predetermined threshold value are used as the One URL.
For above device, in a kind of possible implementation, further include:
Acquisition module, at least one 2nd URL included for obtaining the corresponding websites of the first URL;
Secondary shielding module, for shielding the linking request of each 2nd URL.
According to the third aspect of the disclosure, there is provided a kind of advertisement screening arrangement, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Perform the above method.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of computer-readable recording medium, is stored thereon with calculating Machine program, the computer program realize the above method when being executed by processor.
The technical scheme provided by this disclosed embodiment can include the following benefits:The disclosure is using image recognition The position of advertisement in method identification web displaying interface, and according to the position of the advertisement and the html source code of webpage, obtain and shield Cover the corresponding link of advertisement.Display content analysis shielding advertisement of the disclosure based on webpage, being capable of more flexible adaptation webpage The change of middle advertisement html source code, the thus advertisement in accurate detection and shielding web page, and be not easy to be cracked.Help user high Effect browses webpage.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Attached drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of advertisement screen method according to an exemplary embodiment.
Fig. 2 is the flow chart of step 103 in a kind of advertisement screen method according to an exemplary embodiment.
Fig. 3 is the flow chart of step 103 in a kind of advertisement screen method shown according to another exemplary embodiment.
Fig. 4 is a kind of flow chart of advertisement screen method according to an example of an exemplary embodiment.
Fig. 5 is a kind of block diagram of advertisement screening arrangement according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of advertisement screening arrangement according to an example of an exemplary embodiment.
Fig. 7 is a kind of block diagram of advertisement screening arrangement according to an exemplary embodiment.
Fig. 8 is a kind of block diagram of advertisement screening arrangement according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of advertisement screen method according to an exemplary embodiment.This method can be applied In internet terminals such as smart mobile phone, tablet computer, laptop and desktop computers, do not limit herein.As shown in Figure 1, The method comprising the steps of 100 to step 104.
In step 100, monitor whether current page is web displaying interface.
In a step 101, when it is web displaying interface to listen to current page, the figure at the web displaying interface is obtained As content.
In a step 102, according to the picture material at the web displaying interface, judge whether the web displaying interface wraps Containing advertisement.
In step 103, in the case of including advertisement at the web displaying interface, each the corresponding to each advertisement is determined One URL (Uniform Resource Locator, universal resource locator).
At step 104, the linking request of each first URL is shielded.
In the present embodiment, web displaying interface can include the content that webpage is currently shown.Obtain web displaying interface Picture material can include, the picture material using current web page sectional drawing as web displaying interface.
As an example of the present embodiment, step 102 includes:The picture material input at the web displaying interface is wide Detector is accused, to detect whether the web displaying interface includes advertisement.Wherein it is possible to first by multiple pictures for marking advertisement Monitoring of the advertisement device is trained as training sample, so that the commercial block detectors after training can detect whether web displaying interface includes Advertisement, and quantity and the position of advertisement in web displaying interface are detected in the case of including advertisement at web displaying interface.Need It is noted that those skilled in the art can select appropriate algorithm to train commercial block detectors as needed.For example, above-mentioned algorithm Can include R-FCN (Object Detection via Region-based Fully Convolutional Networks, Full convolutional network target detection based on region) algorithm or YOLO (You only look once unified real-time Object detection, the unified real-time target detection of single vision) algorithm etc., do not limit herein.
The disclosure identifies the position of advertisement in web displaying interface using the method for image recognition, and according to the position of the advertisement The html source code with webpage is put, obtains and shields the corresponding link of advertisement.Display content analysis shielding of the disclosure based on webpage Advertisement, can the more flexible change for adapting to advertisement html source code in webpage, it is thus wide in accurate detection and shielding web page Accuse, and be not easy to be cracked.
Fig. 2 is the flow chart of step 103 in a kind of advertisement screen method according to an exemplary embodiment.Such as Fig. 2 Shown, step 103 includes step 200 and step 201.
In step 200, display location of the advertisement in webpage is determined according to the commercial block detectors.
In step 201, the advertisement corresponding first is determined according to the html source code of the display location and webpage URL。
For example, display location of the advertisement in webpage can be determined according to the commercial block detectors, and pass through developer's work Tool obtains the correspondence between each display location and webpage html source code in webpage.Finally according to the correspondence and the display The first URL corresponding to location determination advertisement.Wherein, those skilled in the art can select suitable instrument to obtain as needed Correspondence in webpage between each display location and webpage html source code, is not limited thereto.
Wherein, the disclosure can take each advertisement pair for determining web displaying interface respectively according to step 200 and step 201 The first URL answered, can also determine corresponding first URL of each advertisement in web displaying interface at the same time.It is not limited thereto.
The disclosure identifies the position of advertisement in web displaying interface using the method for image recognition, and according to the position of the advertisement The html source code with webpage is put, obtains and shields the corresponding link of advertisement.Display content analysis shielding of the disclosure based on webpage Advertisement, can the more flexible change for adapting to advertisement html source code in webpage, it is thus wide in accurate detection and shielding web page Accuse, and be not easy to be cracked.
Fig. 3 is the flow chart of step 103 in a kind of advertisement screen method shown according to another exemplary embodiment.Such as figure Shown in 3, step 103 includes step 300 to step 302.
In step 300, the first characteristics of image of each advertisement is extracted.
In step 301, the similarity of the second characteristics of image of described first image feature and advertisement formwork is compared.
In step 302, similarity is more than the corresponding URL of the second characteristics of image of predetermined threshold value as the first URL.
For example, if the first characteristics of image and the second characteristics of image are gradient map, the second of each advertisement formwork can be prestored Gradient map and the correspondence of the URL of each advertisement formwork.The first gradient figure of each advertisement is extracted, and by each first gradient figure and respectively Second gradient map is compared.If the similarity of first gradient figure and the second gradient map is more than predetermined threshold value (for example, default Threshold value can be 80%), then using the corresponding URL of the second gradient map as the first URL.
It should be noted that those skilled in the art can select suitable parameter type as needed as first, Two characteristics of image, for example, gray-scale map etc., does not limit herein.
The image characteristic analysis shielding advertisement of display content of the disclosure based on webpage, being capable of more flexible adaptation webpage The change of middle advertisement html source code, the thus advertisement in accurate detection and shielding web page, and be not easy to be cracked.
Fig. 4 is a kind of flow chart of advertisement screen method according to an example of an exemplary embodiment.Such as Fig. 4 Shown, the method comprising the steps of 400 and step 401.
In step 400, at least one 2nd URL that the corresponding websites of the first URL include is obtained.
In step 401, the linking request of each 2nd URL is shielded.
Other the 2nd URL that the disclosure can be included according to the website corresponding to the first URL of the first URL acquisitions, further The URL link request for shielding the corresponding whole website of advertisement, start with from advertiser website source, more thoroughly shielding is wide Accuse.
In one kind applies example, comprise the following steps:
Step 1, the commercial block detectors for training a position for detecting advertisement first.Mark the position of advertisement in picture.So The deep learning method based on target detection is used afterwards, trains a commercial block detectors.
Step 2, when user open a new webpage when, get display content (the i.e. net of webpage on the screen first Page display interface), the image of this display content is input in commercial block detectors.Whether judge in current web page containing wide Accuse.If, it is determined that the position of advertisement and number.
After step 3, the number for determining advertisement and corresponding position, it is known that according to the HTML content of webpage each Position is produced by that Codabar code or which URL.Therefore it is known which HTML is showing according to the position of advertisement Link picture and produce.Shield the corresponding URL link request of advertisement.
Further, the interior perhaps URL of advertisement can be identified to determine being advertisement which website produces.Then go directly Mask all URL links request of the website.
In a kind of possible implementation, the URL link in HTML can also be navigated to according to the content of advertisement.First To advertisement carry out extraction feature A (such as gray-scale map, gradient map), then according to default advertisement formwork extract advertisement formwork ( Be properly termed as candidate locations) the corresponding characteristics of image B of URL, compare A and B between similarity, if similarity be more than setting Threshold value, then it is assumed that the corresponding URL of characteristics of image B are the URL of advertisement.Shield the linking request of the URL.
In a kind of possible implementation, screen can be just obtained at regular intervals after user opens new web page Picture material, and it is detected advertisement.When detecting in current screen that number of advertisements is equal to zero, this subsequently can be no longer detected A webpage.
The position of advertisement and characteristics of image analyze shielding advertisement in display content of the disclosure based on webpage, can be more The flexible change for adapting to advertisement html source code in webpage, the thus advertisement in accurate detection and shielding web page, and be not easy by Crack.
Fig. 5 is a kind of block diagram of advertisement screening arrangement according to an exemplary embodiment.With reference to Fig. 5, the device bag Include:
Module 41 is monitored, for monitoring whether current page is web displaying interface.
Acquisition module 42, for when it is web displaying interface to listen to current page, obtaining the web displaying interface Picture material.
Judgment module 43, for the picture material according to the web displaying interface, judges that the web displaying interface is It is no to include advertisement.
Determining module 44, in the case of including advertisement at the web displaying interface, determines corresponding to each advertisement Each first URL.
First shroud module 45, for shielding the linking request of each first URL.
The disclosure identifies the position of advertisement in web displaying interface using the method for image recognition, and according to the position of the advertisement The html source code with webpage is put, obtains and shields the corresponding link of advertisement.Display content analysis shielding of the disclosure based on webpage Advertisement, can the more flexible change for adapting to advertisement html source code in webpage, it is thus wide in accurate detection and shielding web page Accuse, and be not easy to be cracked.
Fig. 6 is a kind of block diagram of advertisement screening arrangement according to an example of an exemplary embodiment.In order to just In explanation, part related to the present embodiment is only illustrated in figure 6.The label component identical with Fig. 5 has identical in Fig. 6 Function, for brevity, omit the detailed description to these components.As shown in fig. 6,
For above device, in a kind of possible implementation, 43 pieces of the mould of judgement includes:
Judging submodule 431, for the picture material at the web displaying interface to be inputted commercial block detectors, to detect State whether web displaying interface includes advertisement.
For above device, in a kind of possible implementation, the determining module 44 includes:
First determination sub-module 441, for determining display location of the advertisement in webpage according to the commercial block detectors.
Second determination sub-module 442, for determining the advertisement pair according to the html source code of the display location and webpage The first URL answered.
For above device, in a kind of possible implementation, the determining module 42 includes:
3rd determination sub-module 443, for extracting the first characteristics of image of each advertisement.
4th determination sub-module 444, for comparing the second characteristics of image of described first image feature and advertisement formwork Similarity.
5th determination sub-module 445, for using similarity be more than predetermined threshold value the corresponding URL of the second characteristics of image as First URL.
For above device, in a kind of possible implementation, further include:
Acquisition module 46, at least one 2nd URL included for obtaining the corresponding websites of the first URL.
Secondary shielding module 47, for shielding the linking request of each 2nd URL.
The position of advertisement and characteristics of image analyze shielding advertisement in display content of the disclosure based on webpage, can be more The flexible change for adapting to advertisement html source code in webpage, the thus advertisement in accurate detection and shielding web page, and be not easy by Crack.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 7 is a kind of block diagram of advertisement screening arrangement according to an exemplary embodiment.For example, device 800 can be with It is mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building Equipment, personal digital assistant etc..
With reference to Fig. 7, device 800 can include following one or more assemblies:Processing component 802, memory 804, power supply Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor component 814, and Communication component 816.
The integrated operation of the usual control device 800 of processing component 802, such as with display, call, data communication, phase The operation that machine operates and record operation is associated.Processing component 802 can refer to including one or more processors 820 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 802 can include one or more modules, just Interaction between processing component 802 and other assemblies.For example, processing component 802 can include multi-media module, it is more to facilitate Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 800.These data are shown Example includes the instruction of any application program or method for being operated on device 800, and contact data, telephone book data, disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 800.
Multimedia component 808 is included in the screen of one output interface of offer between described device 800 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slip and touch panel.The touch sensor can not only sense touch or sliding action Border, but also detect and the duration and pressure associated with the touch or slide operation.In certain embodiments, more matchmakers Body component 808 includes a front camera and/or rear camera.When device 800 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive exterior multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when device 800 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set Part 816 is sent.In certain embodiments, audio component 810 further includes a loudspeaker, for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor component 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor component 814 can detect opening/closed mode of device 800, and the relative positioning of component, for example, it is described Component is the display and keypad of device 800, and sensor component 814 can be with 800 1 components of detection device 800 or device Position change, the existence or non-existence that user contacts with device 800,800 orientation of device or acceleration/deceleration and device 800 Temperature change.Sensor component 814 can include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor component 814 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application application-specific integrated circuit (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 804 of instruction, above-metioned instruction can be performed to complete the above method by the processor 820 of device 800.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
Fig. 8 is a kind of block diagram of advertisement screening arrangement according to an exemplary embodiment.For example, device 1900 can be with It is provided as a server.With reference to Fig. 8, device 1900 includes processing component 1922, it further comprises one or more processing Device, and as the memory resource representated by memory 1932, can be by the instruction of the execution of processing component 1922, example for storing Such as application program.The application program stored in memory 1932 can include it is one or more each correspond to one group The module of instruction.In addition, processing component 1922 is configured as execute instruction, to perform the above method ...
Device 1900 can also include a power supply module 1926 and be configured as the power management of executive device 1900, one Wired or wireless network interface 1950 is configured as device 1900 being connected to network, and input and output (I/O) interface 1958.Device 1900 can be operated based on the operating system for being stored in memory 1932, such as WindowsServerTM, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM or similar.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 1932 of instruction, above-metioned instruction can be performed to complete the above method by the processing component 1922 of device 1900. For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, Floppy disk and optical data storage devices etc..
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be appreciated that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claim.

Claims (12)

  1. A kind of 1. advertisement screen method, it is characterised in that including:
    Monitor whether current page is web displaying interface;
    When it is web displaying interface to listen to current page, the picture material at the web displaying interface is obtained;
    According to the picture material at the web displaying interface, judge whether the web displaying interface includes advertisement;
    In the case of including advertisement at the web displaying interface, each first URL corresponding to each advertisement is determined;
    Shield the linking request of each first URL.
  2. 2. according to the method described in claim 1, it is characterized in that, according to the picture material at the web displaying interface, judge Whether the web displaying interface includes advertisement, including:
    The picture material at the web displaying interface is inputted into commercial block detectors, to detect whether the web displaying interface includes Advertisement.
  3. 3. according to the method described in claim 2, it is characterized in that, determine each advertisement corresponding to each first URL, including:
    Display location of the advertisement in webpage is determined according to the commercial block detectors;
    Corresponding first URL of the advertisement is determined according to the html source code of the display location and webpage.
  4. 4. according to the method described in claim 2, it is characterized in that, determine each advertisement corresponding to each first URL, including:
    Extract the first characteristics of image of each advertisement;
    Compare the similarity of the second characteristics of image of described first image feature and advertisement formwork;
    Similarity is more than the corresponding URL of the second characteristics of image of predetermined threshold value as the first URL.
  5. 5. method according to any one of claim 1 to 4, it is characterised in that further include:
    Obtain at least one 2nd URL that the corresponding websites of the first URL include;
    Shield the linking request of each 2nd URL.
  6. A kind of 6. advertisement screening arrangement, it is characterised in that including:
    Module is monitored, for monitoring whether current page is web displaying interface;
    Acquisition module, for when it is web displaying interface to listen to current page, obtaining the image at the web displaying interface Content;
    Judgment module, for the picture material according to the web displaying interface, judges whether the web displaying interface includes Advertisement;
    Determining module, in the case of including advertisement at the web displaying interface, determines each first corresponding to each advertisement URL;
    First shroud module, for shielding the linking request of each first URL.
  7. 7. device according to claim 6, it is characterised in that the judgment module includes:
    Judging submodule, for the picture material at the web displaying interface to be inputted commercial block detectors, to detect the webpage Whether display interface includes advertisement.
  8. 8. device according to claim 7, it is characterised in that the determining module includes:
    First determination sub-module, for determining display location of the advertisement in webpage according to the commercial block detectors;
    Second determination sub-module, for determining the advertisement corresponding first according to the html source code of the display location and webpage URL。
  9. 9. device according to claim 7, it is characterised in that the determining module includes:
    3rd determination sub-module, for extracting the first characteristics of image of each advertisement;
    4th determination sub-module, the similarity of the second characteristics of image for comparing described first image feature and advertisement formwork;
    5th determination sub-module, for similarity to be more than to the corresponding URL of the second characteristics of image of predetermined threshold value as first URL。
  10. 10. the device according to any one of claim 6 to 9, it is characterised in that further include:
    Acquisition module, at least one 2nd URL included for obtaining the corresponding websites of the first URL;
    Secondary shielding module, for shielding the linking request of each 2nd URL.
  11. A kind of 11. advertisement screening arrangement, it is characterised in that including:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as:In perform claim requirement 1 to 5 the step of any one the method.
  12. 12. a kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is performed by processor, makes Processor is able to carry out according in claim 1 to 5 the step of any one the method.
CN201711226303.5A 2017-11-29 2017-11-29 Advertisement shields method and device Pending CN108009232A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711226303.5A CN108009232A (en) 2017-11-29 2017-11-29 Advertisement shields method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711226303.5A CN108009232A (en) 2017-11-29 2017-11-29 Advertisement shields method and device

Publications (1)

Publication Number Publication Date
CN108009232A true CN108009232A (en) 2018-05-08

Family

ID=62054459

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711226303.5A Pending CN108009232A (en) 2017-11-29 2017-11-29 Advertisement shields method and device

Country Status (1)

Country Link
CN (1) CN108009232A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110457507A (en) * 2019-07-25 2019-11-15 腾讯科技(武汉)有限公司 A kind of picture recognition processing method, device, electronic equipment and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1761205A (en) * 2005-11-18 2006-04-19 郑州金惠计算机系统工程有限公司 System for detecting eroticism and unhealthy images on network based on content
CN103886088A (en) * 2014-03-28 2014-06-25 北京金山网络科技有限公司 Method and device for intercepting advertisements in webpage
CN104462152A (en) * 2013-09-23 2015-03-25 深圳市腾讯计算机系统有限公司 Webpage recognition method and device
CN104778405A (en) * 2015-03-11 2015-07-15 小米科技有限责任公司 Method and device for blocking advertisements
WO2015109831A1 (en) * 2014-01-24 2015-07-30 贝壳网际(北京)安全技术有限公司 Webpage advertisement filtering method and apparatus
CN104980772A (en) * 2014-04-14 2015-10-14 北京酷云互动科技有限公司 Product placement monitoring method and monitoring device
US20160085423A1 (en) * 2014-09-19 2016-03-24 Yahoo Japan Corporation Information display apparatus, distribution apparatus, information display method, and non-transitory computer readable storage medium
CN106055574A (en) * 2016-05-19 2016-10-26 微梦创科网络科技(中国)有限公司 Method and device for recognizing illegal URL
CN106202101A (en) * 2015-05-06 2016-12-07 腾讯科技(深圳)有限公司 Advertisement recognition method and device
CN106844731A (en) * 2017-02-10 2017-06-13 宇龙计算机通信科技(深圳)有限公司 Advertisement shields method and system
US20170269893A1 (en) * 2016-03-16 2017-09-21 Google Inc. Remote rendering of locally displayed content

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1761205A (en) * 2005-11-18 2006-04-19 郑州金惠计算机系统工程有限公司 System for detecting eroticism and unhealthy images on network based on content
CN104462152A (en) * 2013-09-23 2015-03-25 深圳市腾讯计算机系统有限公司 Webpage recognition method and device
WO2015109831A1 (en) * 2014-01-24 2015-07-30 贝壳网际(北京)安全技术有限公司 Webpage advertisement filtering method and apparatus
CN103886088A (en) * 2014-03-28 2014-06-25 北京金山网络科技有限公司 Method and device for intercepting advertisements in webpage
CN104980772A (en) * 2014-04-14 2015-10-14 北京酷云互动科技有限公司 Product placement monitoring method and monitoring device
US20160085423A1 (en) * 2014-09-19 2016-03-24 Yahoo Japan Corporation Information display apparatus, distribution apparatus, information display method, and non-transitory computer readable storage medium
CN104778405A (en) * 2015-03-11 2015-07-15 小米科技有限责任公司 Method and device for blocking advertisements
CN106202101A (en) * 2015-05-06 2016-12-07 腾讯科技(深圳)有限公司 Advertisement recognition method and device
US20170269893A1 (en) * 2016-03-16 2017-09-21 Google Inc. Remote rendering of locally displayed content
CN106055574A (en) * 2016-05-19 2016-10-26 微梦创科网络科技(中国)有限公司 Method and device for recognizing illegal URL
CN106844731A (en) * 2017-02-10 2017-06-13 宇龙计算机通信科技(深圳)有限公司 Advertisement shields method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
NICHOLAS KUSHMERICK: "Learning to remove internet advertisements", 《PROCEEDINGS OF THE 3RD ANNUAL CONFERENCE ON AUTONOMOUS AGENTS. NEW YORK: ACM》 *
张乐: "如何用深度学习识别网络欺诈?", 《HTTPS://WWW.AFENXI.COM/20452.HTML》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110457507A (en) * 2019-07-25 2019-11-15 腾讯科技(武汉)有限公司 A kind of picture recognition processing method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104778405B (en) Ad blocking method and device
CN109446994B (en) Gesture key point detection method and device, electronic equipment and storage medium
CN104980580B (en) Short message inspection method and device
CN107329743A (en) Methods of exhibiting, device and the storage medium of five application page
CN110175223A (en) A kind of method and device that problem of implementation generates
CN103942469A (en) Picture processing method, device and terminal
CN104239422A (en) Advertisement identification method, advertisement identification device and electronic equipment
CN106126632A (en) Recommend method and device
CN114240882A (en) Defect detection method and device, electronic equipment and storage medium
CN107230137A (en) Merchandise news acquisition methods and device
US20170161856A1 (en) Terminal-implemented method, server-implemented method and terminal for acquiring certification document
CN103970841A (en) Label management method and device
CN104965704A (en) Information display method and apparatus
CN106202150A (en) Method for information display and device
CN104536787B (en) Resource preloads method and device
CN104281703A (en) Method and device for calculating similarity among uniform resource locators (URL)
CN104461348A (en) Method and device for selecting information
CN109032491A (en) Data processing method, device and mobile terminal
CN105095366A (en) Method and device for processing character messages
CN104572875A (en) Popularization information putting effectiveness determining method and device
CN104216969B (en) Read flag method and device
CN115909127A (en) Training method of abnormal video recognition model, abnormal video recognition method and device
CN106326260A (en) Webpage access method and device
CN106708967A (en) Page display method and device
CN105976201A (en) Purchase behavior monitoring method for electronic business system and device

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

Application publication date: 20180508

RJ01 Rejection of invention patent application after publication