CN104731868A - Method and device for intercepting advertisements - Google Patents
Method and device for intercepting advertisements Download PDFInfo
- Publication number
- CN104731868A CN104731868A CN201510091684.5A CN201510091684A CN104731868A CN 104731868 A CN104731868 A CN 104731868A CN 201510091684 A CN201510091684 A CN 201510091684A CN 104731868 A CN104731868 A CN 104731868A
- Authority
- CN
- China
- Prior art keywords
- web page
- advertising message
- network operator
- virtual network
- page code
- 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.)
- Granted
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/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
Abstract
The invention discloses a method and device for intercepting advertisements, and belongs to the technical field of terminals. The method includes the steps that when it is detected that a network connected with a terminal is switched, a webpage access request is sent to a specific URL address; a webpage code of the webpage corresponding to the URL address is received, and whether the advertising information implanted by a network operator exists in the webpage code is detected; if yes, advertisement interception is carried out according to the advertising information implanted by the network operator. When it is detected that the network connected with the terminal is switched, a webpage obtaining request is sent to the specific URL address, whether the advertising information is implanted in the webpage code of the obtained webpage by the network operator is determined, and advertisement interception is carried out when the implanted advertising information is detected. Interception of the advertising information implanted by the network operator is realized, the interception efficiency for the advertising information is improved, and the reading efficiency that users have access to the network is improved.
Description
Technical field
The disclosure relates to field of terminal technology, particularly a kind of method and device tackling advertisement.
Background technology
Along with the development of internet, increasing user uses various terminal access network in work and life.
When customer access network, there is the situation of kidnapping user network and then adding advertisement and occur in the network operation chamber of commerce providing network insertion to serve.Wherein, the process of kidnapping user network is: the web access requests that the network operation chamber of commerce sends according to terminal, is added into code corresponding to advertising message in the web page code that web page server returns.These advertising messages can showing after the web page code after change is by terminal parses together with information original in webpage.
Summary of the invention
In order to solve the problem of correlation technique, disclosure embodiment provides a kind of method and the device of tackling advertisement.Described technical scheme is as follows:
According to the first aspect of disclosure embodiment, a kind of method of tackling advertisement is provided, comprises:
When the network detecting that terminal accesses switches, send web access requests to the uniform resource position mark URL address of specifying;
Receive the web page code of webpage corresponding to described URL address, and in described web page code, detect the advertising message that whether there is Virtual network operator and implant;
If the advertising message that Virtual network operator is implanted detected in described web page code, then the advertising message implanted according to described Virtual network operator carries out Ad blocking.
Optionally, described detect in described web page code whether exist Virtual network operator implant advertising message, comprising:
Obtain the default code of webpage corresponding to described URL address of specifying;
Described default code and described web page code are compared;
If detect that described default code is not identical with described web page code, then determine to detect in described web page code the advertising message that Virtual network operator is implanted;
The label substance increased in the described web page code detected is defined as the advertising message that Virtual network operator is implanted.
Optionally, the described advertising message implanted according to described Virtual network operator carries out Ad blocking, comprising:
According to the generate rule agreement preset, generate the filtering rule that the advertising message of described Virtual network operator implantation is corresponding;
Described filtering rule is added into the filtering module in browser.
Optionally, after the described advertising message implanted according to described Virtual network operator carries out Ad blocking, described method also comprises:
Obtain the network identity of the current access of described terminal;
The corresponding relation of described network identity and described filtering rule is sent to cloud server.
Optionally, described method also comprises:
When detecting that described terminal calls the call back function of specifying, determine that the network that described terminal accesses switches.
According to the second aspect of disclosure embodiment, a kind of device tackling advertisement is provided, comprises:
First sending module, during for switching when the network detecting that terminal accesses, sends web access requests to the uniform resource position mark URL address of specifying;
Receiver module, for receiving the web page code of webpage corresponding to described URL address;
Detection module, for detecting the advertising message that whether there is Virtual network operator and implant in described web page code;
Blocking module, during for advertising message that Virtual network operator implants being detected in described web page code, carries out Ad blocking according to the advertising message that described Virtual network operator is implanted.
Optionally, described detection module, comprising:
Acquiring unit, for obtaining the default code of webpage corresponding to described URL address of specifying;
Comparing unit, for comparing described default code and described web page code;
First determining unit, for when detecting that described default code and described web page code are not identical, determines to detect in described web page code the advertising message that Virtual network operator is implanted;
Second determining unit, for being defined as the advertising message that Virtual network operator is implanted by the label substance increased in the described web page code detected.
Optionally, described blocking module, comprising:
Generation unit, for according to the generate rule agreement preset, generates the filtering rule that the advertising message of described Virtual network operator implantation is corresponding;
Adding device, for being added into the filtering module in browser by described filtering rule.
Optionally, described device also comprises:
Acquisition module, for obtaining the network identity of the current access of described terminal;
Second sending module, for sending to cloud server by the corresponding relation of described network identity and described filtering rule.
Optionally, described device also comprises:
Determination module, for when detecting that described terminal calls the call back function of specifying, determines that the network that described terminal accesses switches.
According to the third aspect of disclosure embodiment, a kind of device tackling advertisement is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
When the network detecting that terminal accesses switches, send web access requests to the uniform resource position mark URL address of specifying;
Receive the web page code of webpage corresponding to described URL address, and in described web page code, detect the advertising message that whether there is Virtual network operator and implant;
If the advertising message that Virtual network operator is implanted detected in described web page code, then the advertising message implanted according to described Virtual network operator carries out Ad blocking.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
During by switching at the network detecting that terminal accesses, sending webpage to the URL address of specifying and obtaining request; Determine whether by Virtual network operator product placement information according to the web page code in the webpage got; Ad blocking is carried out after having detected advertising message implanted.Achieve the interception to the advertising message that Virtual network operator is implanted, improve the intercepting efficiency to advertising message, and improve the reading efficiency of customer access network.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows and meets embodiment of the present disclosure, and is used from instructions one and explains principle of the present disclosure.
Fig. 1 is a kind of process flow diagram tackling the method for advertisement according to an exemplary embodiment;
Fig. 2 is a kind of process flow diagram tackling the method for advertisement according to an exemplary embodiment;
Fig. 3 is a kind of process flow diagram tackling the method for advertisement according to an exemplary embodiment;
Fig. 4 is a kind of block diagram tackling the device of advertisement according to an exemplary embodiment;
Fig. 5 is a kind of block diagram tackling detection module in the device of advertisement according to an exemplary embodiment;
Fig. 6 is a kind of block diagram tackling blocking module in the device of advertisement according to an exemplary embodiment;
Fig. 7 is a kind of block diagram (general structure of mobile terminal) tackling the device of advertisement according to an exemplary embodiment.
Embodiment
For making object of the present disclosure, technical scheme and advantage clearly, below in conjunction with accompanying drawing, disclosure embodiment is described in further detail.
The disclosure one exemplary embodiment provides a kind of method of tackling advertisement, and this method embodiment is applied in terminal, and see Fig. 1, method flow comprises:
In a step 101, when the network detecting that terminal accesses switches, send web access requests to the uniform resource position mark URL address of specifying;
In a step 102, receive the web page code of webpage corresponding to URL address, and in web page code, detect the advertising message that whether there is Virtual network operator and implant;
In step 103, if the advertising message that Virtual network operator is implanted detected in web page code, then the advertising message implanted according to Virtual network operator carries out Ad blocking.
The disclosure, by when the network detecting that terminal accesses switches, sends webpage to the URL address of specifying and obtains request; Determine whether by Virtual network operator product placement information according to the web page code in the webpage got; Ad blocking is carried out after having detected advertising message implanted.Achieve the interception to the advertising message that Virtual network operator is implanted, improve the intercepting efficiency to advertising message, and improve the reading efficiency of customer access network.
Another exemplary embodiment of the disclosure provides a kind of method of tackling advertisement, and this method embodiment is applied in terminal, and see Fig. 2, method flow comprises:
In step 201, when detecting that terminal calls the call back function of specifying, determine that the network that terminal accesses switches.
When system is normally run, can operate accordingly according to the various situations detected.In the disclosed embodiments, the network that systems axiol-ogy accesses to terminal is by WIFI (WIreless-Fidelity, Wireless Fidelity) when changing to 2G or 3G or 4G network, then can call the call back function of specifying, Ke Yiwei: onConnectionChange function.When the call back function detecting that this is specified is called, then determine to detect that the network that terminal accesses there occurs switching, now perform the flow process of the interception advertisement in disclosure embodiment.
Optionally, network switches can also for switch to WIFI network by 2G, 3G, 4G network, and the mode that network switches does not limit at this.
In step 202., when the network detecting that terminal accesses switches, send web access requests to the uniform resource position mark URL address of specifying.
A URL (Uniform Resoure Locator is set in advance in the terminal, URL(uniform resource locator)) address, the webpage that this URL address is pointed to is a content is empty webpage, namely the web page code in this webpage only to comprise in generation webpage the code of most basic structure, can comprise <body> etc. and form the most basic label substance of webpage.
In addition, preserve the default code that this webpage is corresponding in the terminal, for comparing with the web page code by sending this webpage that web access requests gets.
Optionally, the webpage that this URL address is pointed to also can be content is not empty webpage, and the default code that the webpage preserved in corresponding terminal is corresponding keeps identical with the web page code of the webpage that URL address is pointed to.Wherein use this mode of blank webpage, when each network of terminal switches to when whether there is Virtual network operator abduction for Sampling network, the flow carrying out web page access can be reduced on the one hand; On the other hand, operand when carrying out web page code comparison can be also reduced in.
In step 203, the web page code of webpage corresponding to URL address is received.
In step 204, in web page code, detect the advertising message that whether there is Virtual network operator and implant.
Wherein, the process carrying out detecting in web page code can be realized by following steps:
In step 2041, obtain the default code of webpage corresponding to the URL address of specifying.
Wherein, default code is original code in webpage corresponding to the URL address of specifying of preserving in advance.
In step 2042, default code and web page code are compared.
Wherein, the mode of comparison can for carry out comparison line by line by the code in two pages.
In step 2043, if detect that default code and web page code are not identical, then determine the advertising message detecting in web page code that Virtual network operator is implanted.
In step 2044, the label substance increased is defined as the advertising message that Virtual network operator is implanted in the web page code detected.
Such as: in this web page code, detect the extra script label increased, <scriptcharset=" UTF-8 " defer=" " src=" http://www.example.com/ads/ad.js " ></script>; Content in this label is the advertising message that Virtual network operator is implanted.Content in this label can when web analysis, according to the content obtaining advertising pictures in " src " attribute in label, and is loaded in this Webpage and shows.
In step 205, if the advertising message that Virtual network operator is implanted detected in web page code, then the advertising message implanted according to Virtual network operator carries out Ad blocking.
Once confirm that current generation Virtual network operator is kidnapped, then carry out the operation of Ad blocking.Wherein, the operating process of Ad blocking can be realized by following steps:
In step 2051, according to the generate rule agreement preset, the filtering rule that the advertising message that generating network operator implants is corresponding.
In the browser of terminal, generally can be provided with filtering module, this filtering module can belong to the module carried in browser, also can increase filtering module in a browser by extra plug-in unit.This filtering module can filter the advertising message in the webpage of display according to the filtering rule preset.
Wherein, filtering rule can carry out generation and obtains according to the generate rule agreement preset and predetermined advertising message.Therefore, in the disclosed embodiments, after having got the advertising message of current network operator implantation, corresponding filtering rule can be generated according to the advertising message of this implantation.
In step 2052, filtering rule is added into the filtering module in browser.
After the filtering rule of generation is added filtering module, namely can web page access after terminal time, the advertisement of being implanted in web page code by current network operator is filtered.
Optionally, if there is no filtering module in the browser in terminal during Ad blocking, also filtering function is realized without extra plug-in unit, then can web page access after terminal time, the advertising message that whether there is predetermined implantation is inquired about in the web page code got, if inquired, the advertising message of implantation is deleted in web page code, then carry out analyzing web page code and the flow process of display.
The disclosure, by when the network detecting that terminal accesses switches, sends webpage to the URL address of specifying and obtains request; Determine whether by Virtual network operator product placement information according to the web page code in the webpage got; Ad blocking is carried out after having detected advertising message implanted.Achieve the interception to the advertising message that Virtual network operator is implanted, improve the intercepting efficiency to advertising message, and improve the reading efficiency of customer access network.
Another exemplary embodiment of the disclosure provides a kind of method of tackling advertisement, and this method embodiment is applied in terminal, and see Fig. 3, method flow comprises:
In step 301, the network identity of the current access of terminal is obtained.
In the disclosed embodiments, terminal can be synchronized to cloud server by detecting the filtering rule generated, and can back up by server beyond the clouds on the one hand; On the other hand, this filtering rule can be shared to the terminal of other users by cloud server, the filtering rule of each terminal to report is collected by cloud server, can when terminal system be upgraded, or when carrying out the edition upgrading of browser, or filtering rule is synchronized in the terminal of each user by the mode directly pushed.
Wherein, when accessing WIFI network, network identity can be SSID (Service Set Identifier, service set); When accessing 2G, 3G or 4G network, network identity can be the mark of operator.
In step 302, the corresponding relation of network identity and filtering rule is sent to cloud server.
Cloud server can distinguish each filtering rule according to network identity, and can carry out statistic of classification according to the various filtering rules of network identity to each terminal to report.Again according to the network that each terminal often uses, choose the filtering rule set adapting to each terminal and push.
Disclosure embodiment, by filtering rule corresponding for the advertising message of the Virtual network operator detected implantation is synchronized to cloud server, can back up filtering rule on the one hand; Also cloud server can be made to carry out classifying and screening after the filtering rule collecting each terminal to report on the other hand, the filtering rule of the network access being applicable to each terminal is synchronized to each terminal, to improve Ad blocking effect by final realization.
Corresponding to the method for the interception advertisement that above-mentioned exemplary embodiment provides, another exemplary embodiment of the disclosure provides a kind of device tackling advertisement, and see Fig. 4, this device comprises:
First sending module 401, is configured to when the network detecting that terminal accesses switches, and sends web access requests to the uniform resource position mark URL address of specifying;
Receiver module 402, is configured to the web page code receiving webpage corresponding to URL address;
Detection module 403, is configured to detect in web page code the advertising message that whether there is Virtual network operator and implant;
Blocking module 404, when being configured to detect in web page code the advertising message that Virtual network operator implants, carries out Ad blocking according to the advertising message that Virtual network operator is implanted.
Wherein, as shown in Figure 5, detection module 403, comprising:
Acquiring unit 4031, is configured to obtain the default code of webpage corresponding to the URL address of specifying;
Comparing unit 4032, is configured to default code and web page code to compare;
First determining unit 4033, is configured to when detecting that default code and web page code are not identical, determines the advertising message detecting in web page code that Virtual network operator is implanted;
Second determining unit 4034, is configured to the advertising message label substance increased in the web page code detected being defined as Virtual network operator implantation.
Wherein, as shown in Figure 6, blocking module 404, comprising:
Generation unit 4041, is configured to the generate rule agreement according to presetting, the filtering rule that the advertising message that generating network operator implants is corresponding;
Adding device 4042, is configured to the filtering module be added into by filtering rule in browser.
Wherein, device also comprises:
Acquisition module 405, is configured to the network identity obtaining the current access of terminal;
Second sending module 406, is configured to the corresponding relation of network identity and filtering rule to send to cloud server.
Wherein, device also comprises:
Determination module 407, is configured to when detecting that terminal calls the call back function of specifying, and determines that the network that terminal accesses switches.
The disclosure, by when the network detecting that terminal accesses switches, sends webpage to the URL address of specifying and obtains request; Determine whether by Virtual network operator product placement information according to the web page code in the webpage got; Ad blocking is carried out after having detected advertising message implanted.Achieve the interception to the advertising message that Virtual network operator is implanted, improve the intercepting efficiency to advertising message, and improve the reading efficiency of customer access network.
In addition, the filtering rule corresponding by the advertising message implanted by the Virtual network operator detected is synchronized to cloud server, can back up on the one hand to filtering rule; Also cloud server can be made to carry out classifying and screening after the filtering rule collecting each terminal to report on the other hand, the filtering rule of the network access being applicable to each terminal is synchronized to each terminal, to improve Ad blocking effect by final realization.
Corresponding to the method for the interception advertisement that above-mentioned exemplary embodiment provides, another exemplary embodiment of the disclosure provides a kind of device 800 tackling advertisement, see Fig. 7.Such as, device 800 can be mobile phone, computing machine, 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 comprise following one or more assembly: processing components 802, storer 804, electric power assembly 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of I/O (I/O), sensor module 814, and communications component 816.
The integrated operation of the usual control device 800 of processing components 802, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 802 can comprise one or more processor 820 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 802 can comprise one or more module, and what be convenient between processing components 802 and other assemblies is mutual.Such as, processing components 802 can comprise multi-media module, mutual with what facilitate between multimedia groupware 808 and processing components 802.
Storer 804 is configured to store various types of data to be supported in the operation of equipment 800.The example of these data comprises for any application program of operation on device 800 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 804 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that electric power assembly 806 is device 800 provide electric power.Electric power assembly 806 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 800 and be associated.
Multimedia groupware 808 is included in the screen providing an output interface between device 800 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant with touch or slide and pressure.In certain embodiments, multimedia groupware 808 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 800 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 810 is configured to export and/or input audio signal.Such as, audio-frequency assembly 810 comprises a microphone (MIC), and when device 800 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 804 further or be sent via communications component 816.In certain embodiments, audio-frequency assembly 810 also comprises a loudspeaker, for output audio signal.
I/O interface 812 is for providing interface between processing components 802 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 814 comprises one or more sensor, for providing the state estimation of various aspects for device 800.Such as, sensor module 814 can detect the opening/closing state of equipment 800, the relative positioning of assembly, such as assembly is display and the keypad of device 800, the position of all right pick-up unit 800 of sensor module 814 or device 800 1 assemblies changes, the presence or absence that user contacts with device 800, the temperature variation of device 800 orientation or acceleration/deceleration and device 800.Sensor module 814 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 814 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 814 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 816 is configured to the communication being convenient to wired or wireless mode between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 816 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, communications component 816 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 800 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 804 of instruction, above-mentioned instruction can perform said method by the processor 820 of device 800.Such as, non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
The disclosure, by when the network detecting that terminal accesses switches, sends webpage to the URL address of specifying and obtains request; Determine whether by Virtual network operator product placement information according to the web page code in the webpage got; Ad blocking is carried out after having detected advertising message implanted.Achieve the interception to the advertising message that Virtual network operator is implanted, improve the intercepting efficiency to advertising message, and improve the reading efficiency of customer access network.
In addition, the filtering rule corresponding by the advertising message implanted by the Virtual network operator detected is synchronized to cloud server, can back up on the one hand to filtering rule; Also cloud server can be made to carry out classifying and screening after the filtering rule collecting each terminal to report on the other hand, the filtering rule of the network access being applicable to each terminal is synchronized to each terminal, to improve Ad blocking effect by final realization.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.
Claims (11)
1. tackle a method for advertisement, it is characterized in that, described method comprises:
When the network detecting that terminal accesses switches, send web access requests to the uniform resource position mark URL address of specifying;
Receive the web page code of webpage corresponding to described URL address, and in described web page code, detect the advertising message that whether there is Virtual network operator and implant;
If the advertising message that Virtual network operator is implanted detected in described web page code, then the advertising message implanted according to described Virtual network operator carries out Ad blocking.
2. method according to claim 1, is characterized in that, described detect in described web page code whether exist Virtual network operator implant advertising message, comprising:
Obtain the default code of webpage corresponding to described URL address of specifying;
Described default code and described web page code are compared;
If detect that described default code is not identical with described web page code, then determine to detect in described web page code the advertising message that Virtual network operator is implanted;
The label substance increased in the described web page code detected is defined as the advertising message that Virtual network operator is implanted.
3. method according to claim 2, is characterized in that, the described advertising message implanted according to described Virtual network operator carries out Ad blocking, comprising:
According to the generate rule agreement preset, generate the filtering rule that the advertising message of described Virtual network operator implantation is corresponding;
Described filtering rule is added into the filtering module in browser.
4. method according to claim 1, is characterized in that, after the described advertising message implanted according to described Virtual network operator carries out Ad blocking, described method also comprises:
Obtain the network identity of the current access of described terminal;
The corresponding relation of described network identity and described filtering rule is sent to cloud server.
5. method according to claim 1, is characterized in that, described method also comprises:
When detecting that described terminal calls the call back function of specifying, determine that the network that described terminal accesses switches.
6. tackle a device for advertisement, it is characterized in that, described device comprises:
First sending module, during for switching when the network detecting that terminal accesses, sends web access requests to the uniform resource position mark URL address of specifying;
Receiver module, for receiving the web page code of webpage corresponding to described URL address;
Detection module, for detecting the advertising message that whether there is Virtual network operator and implant in described web page code;
Blocking module, during for advertising message that Virtual network operator implants being detected in described web page code, carries out Ad blocking according to the advertising message that described Virtual network operator is implanted.
7. device according to claim 6, is characterized in that, described detection module, comprising:
Acquiring unit, for obtaining the default code of webpage corresponding to described URL address of specifying;
Comparing unit, for comparing described default code and described web page code;
First determining unit, for when detecting that described default code and described web page code are not identical, determines to detect in described web page code the advertising message that Virtual network operator is implanted;
Second determining unit, for being defined as the advertising message that Virtual network operator is implanted by the label substance increased in the described web page code detected.
8. device according to claim 7, is characterized in that, described blocking module, comprising:
Generation unit, for according to the generate rule agreement preset, generates the filtering rule that the advertising message of described Virtual network operator implantation is corresponding;
Adding device, for being added into the filtering module in browser by described filtering rule.
9. device according to claim 6, is characterized in that, described device also comprises:
Acquisition module, for obtaining the network identity of the current access of described terminal;
Second sending module, for sending to cloud server by the corresponding relation of described network identity and described filtering rule.
10. device according to claim 6, is characterized in that, described device also comprises:
Determination module, for when detecting that described terminal calls the call back function of specifying, determines that the network that described terminal accesses switches.
11. 1 kinds of devices tackling advertisement, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
When the network detecting that terminal accesses switches, send web access requests to the uniform resource position mark URL address of specifying;
Receive the web page code of webpage corresponding to described URL address, and in described web page code, detect the advertising message that whether there is Virtual network operator and implant;
If the advertising message that Virtual network operator is implanted detected in described web page code, then the advertising message implanted according to described Virtual network operator carries out Ad blocking.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510091684.5A CN104731868B (en) | 2015-02-28 | 2015-02-28 | Intercept the method and device of advertisement |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510091684.5A CN104731868B (en) | 2015-02-28 | 2015-02-28 | Intercept the method and device of advertisement |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104731868A true CN104731868A (en) | 2015-06-24 |
CN104731868B CN104731868B (en) | 2019-02-12 |
Family
ID=53455755
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510091684.5A Active CN104731868B (en) | 2015-02-28 | 2015-02-28 | Intercept the method and device of advertisement |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104731868B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016141689A1 (en) * | 2015-03-11 | 2016-09-15 | 小米科技有限责任公司 | Information filtering method and device |
CN107562864A (en) * | 2017-08-30 | 2018-01-09 | 努比亚技术有限公司 | A kind of advertisement screen method, mobile terminal and computer-readable recording medium |
CN108023867A (en) * | 2016-10-28 | 2018-05-11 | 中国移动通信集团广东有限公司 | Method, gateway server and the filtering server of mobile terminal web advertisement filtering |
CN108228680A (en) * | 2016-12-22 | 2018-06-29 | 广州市动景计算机科技有限公司 | The page is anti-to kidnap method, apparatus and client terminal |
WO2018161802A1 (en) * | 2017-03-09 | 2018-09-13 | 华为技术有限公司 | Traffic flow control method and device |
CN109618230A (en) * | 2018-12-21 | 2019-04-12 | 深圳Tcl数字技术有限公司 | Advertisement filter method, intelligent terminal and computer readable storage medium |
CN110365665A (en) * | 2019-07-01 | 2019-10-22 | 珠海天燕科技有限公司 | A kind of hold-up interception method of advertising resource, device and its equipment |
CN111242398A (en) * | 2018-11-29 | 2020-06-05 | 北京搜狗科技发展有限公司 | Data processing method and device for data processing |
CN112084503A (en) * | 2020-09-18 | 2020-12-15 | 珠海豹趣科技有限公司 | Interception rule base generation method and device and electronic equipment |
CN112395521A (en) * | 2019-08-19 | 2021-02-23 | 腾讯科技(武汉)有限公司 | Page processing method and device, electronic equipment and computer readable storage medium |
CN112702212A (en) * | 2021-01-13 | 2021-04-23 | 深圳市云天智能通讯有限公司 | Multi-network hybrid communication system and terminal equipment |
CN113269587A (en) * | 2021-05-24 | 2021-08-17 | 上海妙契科技有限公司 | Method, device, storage medium and server for monitoring illegal advertisements |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070180147A1 (en) * | 2006-02-01 | 2007-08-02 | Connect It, Llc | System for insertion of advertising content in user-requested internet web pages |
US7386512B1 (en) * | 2000-05-11 | 2008-06-10 | Thomson Licensing | Method and system for controlling and auditing content/service systems |
WO2010141008A1 (en) * | 2009-06-01 | 2010-12-09 | Alcatel-Lucent Usa Inc | Management of advertisements inserted in text/multimedia messages |
CN102768664A (en) * | 2011-05-06 | 2012-11-07 | 李超 | Distributed webpage advertisement blocking method and system |
US20130103502A1 (en) * | 2011-09-06 | 2013-04-25 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and Apparatus for Ad Insertion in Cellular Networks |
CN103279710A (en) * | 2013-04-12 | 2013-09-04 | 深圳市易聆科信息技术有限公司 | Method and system for detecting malicious codes of Internet information system |
CN103886088A (en) * | 2014-03-28 | 2014-06-25 | 北京金山网络科技有限公司 | Method and device for intercepting advertisements in webpage |
CN103945266A (en) * | 2014-04-17 | 2014-07-23 | 深圳创维数字技术股份有限公司 | Method, device and system for processing advertisements |
CN104021172A (en) * | 2014-05-30 | 2014-09-03 | 北京搜狗科技发展有限公司 | Advertisement filtering method and advertisement filtering device |
-
2015
- 2015-02-28 CN CN201510091684.5A patent/CN104731868B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7386512B1 (en) * | 2000-05-11 | 2008-06-10 | Thomson Licensing | Method and system for controlling and auditing content/service systems |
US20070180147A1 (en) * | 2006-02-01 | 2007-08-02 | Connect It, Llc | System for insertion of advertising content in user-requested internet web pages |
WO2010141008A1 (en) * | 2009-06-01 | 2010-12-09 | Alcatel-Lucent Usa Inc | Management of advertisements inserted in text/multimedia messages |
CN102768664A (en) * | 2011-05-06 | 2012-11-07 | 李超 | Distributed webpage advertisement blocking method and system |
US20130103502A1 (en) * | 2011-09-06 | 2013-04-25 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and Apparatus for Ad Insertion in Cellular Networks |
CN103279710A (en) * | 2013-04-12 | 2013-09-04 | 深圳市易聆科信息技术有限公司 | Method and system for detecting malicious codes of Internet information system |
CN103886088A (en) * | 2014-03-28 | 2014-06-25 | 北京金山网络科技有限公司 | Method and device for intercepting advertisements in webpage |
CN103945266A (en) * | 2014-04-17 | 2014-07-23 | 深圳创维数字技术股份有限公司 | Method, device and system for processing advertisements |
CN104021172A (en) * | 2014-05-30 | 2014-09-03 | 北京搜狗科技发展有限公司 | Advertisement filtering method and advertisement filtering device |
Non-Patent Citations (1)
Title |
---|
才怪(1989052999): "屏蔽宽带运营商的弹窗广告 - 破博客", 《HTTP://WWW.POBOKE.COM/STUDY/BLOCK-BROADBAND-CARRIERS-POP-UP-ADS.HTML》 * |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016141689A1 (en) * | 2015-03-11 | 2016-09-15 | 小米科技有限责任公司 | Information filtering method and device |
CN108023867A (en) * | 2016-10-28 | 2018-05-11 | 中国移动通信集团广东有限公司 | Method, gateway server and the filtering server of mobile terminal web advertisement filtering |
CN108228680A (en) * | 2016-12-22 | 2018-06-29 | 广州市动景计算机科技有限公司 | The page is anti-to kidnap method, apparatus and client terminal |
WO2018161802A1 (en) * | 2017-03-09 | 2018-09-13 | 华为技术有限公司 | Traffic flow control method and device |
US11356416B2 (en) | 2017-03-09 | 2022-06-07 | Huawei Technologies Co., Ltd. | Service flow control method and apparatus |
CN107562864A (en) * | 2017-08-30 | 2018-01-09 | 努比亚技术有限公司 | A kind of advertisement screen method, mobile terminal and computer-readable recording medium |
CN111242398A (en) * | 2018-11-29 | 2020-06-05 | 北京搜狗科技发展有限公司 | Data processing method and device for data processing |
CN109618230B (en) * | 2018-12-21 | 2022-03-11 | 深圳Tcl数字技术有限公司 | Advertisement filtering method, intelligent terminal and computer readable storage medium |
CN109618230A (en) * | 2018-12-21 | 2019-04-12 | 深圳Tcl数字技术有限公司 | Advertisement filter method, intelligent terminal and computer readable storage medium |
CN110365665A (en) * | 2019-07-01 | 2019-10-22 | 珠海天燕科技有限公司 | A kind of hold-up interception method of advertising resource, device and its equipment |
CN112395521A (en) * | 2019-08-19 | 2021-02-23 | 腾讯科技(武汉)有限公司 | Page processing method and device, electronic equipment and computer readable storage medium |
CN112084503A (en) * | 2020-09-18 | 2020-12-15 | 珠海豹趣科技有限公司 | Interception rule base generation method and device and electronic equipment |
CN112702212A (en) * | 2021-01-13 | 2021-04-23 | 深圳市云天智能通讯有限公司 | Multi-network hybrid communication system and terminal equipment |
CN113269587A (en) * | 2021-05-24 | 2021-08-17 | 上海妙契科技有限公司 | Method, device, storage medium and server for monitoring illegal advertisements |
Also Published As
Publication number | Publication date |
---|---|
CN104731868B (en) | 2019-02-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104731868A (en) | Method and device for intercepting advertisements | |
CN104615655B (en) | Information recommendation method and device | |
CN104753766A (en) | Expression sending method and device | |
CN104933170A (en) | Information exhibition method and device | |
CN104731688A (en) | Method and device for prompting reading schedule | |
CN105183513A (en) | Application recommendation method and apparatus | |
CN105101213A (en) | Information processing method and device | |
CN105511949A (en) | Verification code filling method and device and mobile terminal | |
CN104766005A (en) | Management method and device for application software access authority | |
CN105491048A (en) | Account management method and apparatus | |
CN104836924A (en) | Number marking method and device | |
CN104717293A (en) | Method and device for showing information resources on conversation interface | |
CN105183835A (en) | Method and apparatus for information marking in social software | |
CN104778405A (en) | Method and device for blocking advertisements | |
CN105354017A (en) | Information processing method and apparatus | |
CN105653165A (en) | Method and device for regulating character display | |
CN104809158A (en) | Network content filter method and device | |
CN105303371A (en) | Bill processing method and device and terminal device | |
CN105554064A (en) | Method and device for setting head portrait | |
CN105491518A (en) | Method and device for social reminding based on wearable devices | |
CN105487758A (en) | Method and device for popup control of application software, and terminal equipment | |
CN107943370A (en) | Advertisement display method, device and storage medium | |
CN105205153A (en) | File storage method and device | |
CN105242837A (en) | Application page acquisition method and terminal | |
CN105224644A (en) | Information classification approach and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |