CN105530248A - Media advertisement blocking method and device - Google Patents

Media advertisement blocking method and device Download PDF

Info

Publication number
CN105530248A
CN105530248A CN201510897443.XA CN201510897443A CN105530248A CN 105530248 A CN105530248 A CN 105530248A CN 201510897443 A CN201510897443 A CN 201510897443A CN 105530248 A CN105530248 A CN 105530248A
Authority
CN
China
Prior art keywords
network
proxy server
described network
linking
request
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
CN201510897443.XA
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.)
Zhuhai Baoqu Technology Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Zhuhai Juntian Electronic Technology 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 Kingsoft Internet Security Software Co Ltd, Zhuhai Juntian Electronic Technology Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201510897443.XA priority Critical patent/CN105530248A/en
Publication of CN105530248A publication Critical patent/CN105530248A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/454Content or additional data filtering, e.g. blocking advertisements

Abstract

The embodiment of the invention discloses a media advertisement blocking method and a device, wherein the method comprises the following steps: judging whether a network connection request which needs to be sent currently is a media content connection request, wherein the network connection request carries a network link; if the network connection request is the media content connection request, modifying the IP address and the port number of the network connection request into the IP address and the port number of a network proxy server; establishing a connection with the network proxy server using the modified network connection request, and sending the network link to the network proxy server using the connection, wherein the connection is interrupted when the network proxy server determines that the network link is a media advertisement network link. The embodiment of the invention can intercept the media advertisement.

Description

A kind of media advertisement hold-up interception method and device
Technical field
The present invention relates to Internet technical field, particularly relate to a kind of media advertisement hold-up interception method and device.
Background technology
The function current communication terminal representing media content is one of function of often using of people, and people can watch the media content such as video, document at communication terminal by this function.But in actual applications, communication terminal is before representing media content or represent in process and often insert media advertisement, and the duration of media advertisement is also more and more longer at present, has a strong impact on the experience that user watches media content like this.Visible, interception media advertisement is urgent problem at present.
Summary of the invention
Embodiments provide a kind of media advertisement hold-up interception method and device, can media advertisement be tackled.
First aspect, the embodiment of the present invention provides a kind of media advertisement hold-up interception method, comprising:
Judge whether the current network connecting request needing transmission is media content connection request, and wherein, described network connecting request carries network linking;
If when described network connecting request is described media content connection request, the IP address of described network connecting request and port numbers are revised as IP address and the port numbers of network proxy server;
Amended network connecting request and described network proxy server is used to connect, and use described connection to send described network linking to described network proxy server, wherein, when described network proxy server judges that described network linking is media advertisement network linking, described connection is interrupted.
Optionally, described method can also comprise:
Create described network proxy server in this locality, and IP address and the port numbers of described network proxy server are set.
Optionally, described method also comprises:
Control described network proxy server in media advertisement database, search whether there is described network linking, if so, then determine that described network linking is media advertisement network linking, and interrupt described connection.
Optionally, described method also comprises:
When described network proxy server judges that described network linking is media advertisement network linking, receive the interrupt message of the described disconnecting that described network proxy server sends.
Optionally, whether the described network connecting request judging that current needs send is media content connection request, can comprise:
Network contiguous function being monitored, when monitoring the network connecting request needing to call described network contiguous function, judging whether described network connecting request is media content connection request;
The described amended network connecting request of described use and described network proxy server connect, and can comprise:
Described amended network connecting request is used to call described network contiguous function and described network proxy server connects.
Optionally, described method can also comprise:
When described network proxy server judges described network linking not as media advertisement network linking, connected to request server by described network proxy server, wherein, described request server is server corresponding to the IP address entrained before not carrying out described amendment of described network connecting request; Or
After the described connection of interruption, represent media content.
Second aspect, the embodiment of the present invention provides a kind of media advertisement blocking apparatus, comprising: judging unit, revise unit and set up unit, wherein:
Described judging unit, for judging whether the current network connecting request needing transmission is media content connection request, and wherein, described network connecting request carries network linking;
Described amendment unit, if when judging that described network connecting request is described media content connection request for described judging unit, is revised as IP address and the port numbers of network proxy server by the IP address of described network connecting request and port numbers;
Describedly set up unit, connect for using the amended network connecting request of described amendment unit and described network proxy server, and use described connection to send described network linking to described network proxy server, wherein, when described network proxy server judges that described network linking is media advertisement network linking, described connection is interrupted.
Optionally, described device can also comprise:
Creating unit, for creating described network proxy server in this locality, and arranges IP address and the port numbers of described network proxy server.
Optionally, described device can also comprise:
Control unit, searching whether there is described network linking for controlling described network proxy server, if so, then determining that described network linking is media advertisement network linking, and interrupting described connection in media advertisement database.
Optionally, described device also comprises:
Receiving element, for when described network proxy server judges that described network linking is media advertisement network linking, receives the interrupt message of the described disconnecting that described network proxy server sends.
Optionally, described judging unit may be used for monitoring network contiguous function, when monitoring the network connecting request needing to call described network contiguous function, judges whether described network connecting request is media content connection request;
Described unit of setting up may be used for using described amended network connecting request to call described network contiguous function and described network proxy server connects.
Optionally, described unit of setting up can also be used for when described network proxy server judges described network linking not as media advertisement network linking, connected to request server by described network proxy server, wherein, described request server is server corresponding to the IP address entrained before not carrying out described amendment of described network connecting request;
Or described device can also comprise:
Represent unit, for after the described connection of interruption, represent media content.
In technique scheme, judge whether the current network connecting request needing transmission is media content connection request, and wherein, described network connecting request carries network linking; If when described network connecting request is described media content connection request, the IP address of described network connecting request and port numbers are revised as IP address and the port numbers of network proxy server; Amended network connecting request and described network proxy server is used to connect, and use described connection to send described network linking to described network proxy server, wherein, when described network proxy server judges that described network linking is media advertisement network linking, described connection is interrupted.Like this when interrupting this connection, thus media advertisement can not be represented, to realize tackling media advertisement.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of media advertisement hold-up interception method that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the another kind of media advertisement hold-up interception method that the embodiment of the present invention provides;
Fig. 3 is the structural representation of a kind of media advertisement blocking apparatus that the embodiment of the present invention provides;
Fig. 4 is the structural representation of the another kind of media advertisement blocking apparatus that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the another kind of media advertisement blocking apparatus that the embodiment of the present invention provides;
Fig. 6 is the structural representation of the another kind of media advertisement blocking apparatus that the embodiment of the present invention provides;
Fig. 7 is the structural representation of the another kind of media advertisement blocking apparatus that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of media advertisement hold-up interception method that the embodiment of the present invention provides, and as shown in Figure 1, comprises the following steps:
S101, judge current need send network connecting request whether be media content connection request, wherein, described network connecting request carries network linking.
In the present embodiment, above-mentioned network connecting request can be the current network connecting request needing to send that communication terminal runs application, such as: the network connecting request of the application program transmission of the displaying video that communication terminal runs, to ask displaying video; Or the network connecting request that the browser that communication terminal runs sends, to ask to represent text message etc.
Above-mentioned media content connection request can be understood as the connection request for asking to represent media content.In addition, in the present embodiment, media content can be the media contents such as video, text, picture or audio frequency.
In addition, above-mentioned network linking can be understood as URL(uniform resource locator) (UniformResourceLocation, URL), or network linking can be understood as website information.
If when the described network connecting request of S102 is described media content connection request, the IP address of described network connecting request and port numbers are revised as IP address and the port numbers of network proxy server.
In the present embodiment, IP address can refer to Internet protocol address (InternetProtocolAddress is translated into internet protocol address again), is the abbreviation of IPAddress.IP address is a kind of unified address format that IP agreement provides, and it is each network on the Internet and each host assignment logical address, shields the difference of physical address with this.
In the present embodiment, port (Port) number refers to the port for Differentiated Services on logical meaning, as transmission control protocol/Internet Protocol (TransmissionControlProtocol/InternetProtocol, TCP/IP) serve port in, the scope of port numbers is from 0 to 65535, such as 80 ports of browsing page service, for 21 ports etc. that file transfer protocol (FTP) (FileTransferProtocol, FTP) is served.
Such as: when above-mentioned network connecting request is for asking the network connecting request of netcast video, so, this network connecting request will comprise IP address and the port numbers 80 of video server.
In the present embodiment, above-mentioned network proxy server can be virtual network proxy server or can be external network proxy server, and this network proxy server has fixing IP address and port numbers.In addition, network proxy server can be another station server between communication terminal (or client) and server, after having had network proxy server, communication terminal (or client) is not directly go to fetch webpage to server but send request to network proxy server, signal first can deliver to network proxy server, if when the connection between network proxy server and communication terminal (or client) is not interrupted, so fetch the information required for communication terminal (or client) by network proxy server and send communication terminal (or client) to.
In the present embodiment, because IP address and the port numbers of network proxy server to be revised as in the IP address of network connecting request and port numbers by step S102, so, this network connecting request will connect with network proxy server.Certainly, amendment is here appreciated that the IP address of network proxy server is revised as in the object IP address by network connecting request, and same port numbers also can be modify to destination slogan.
S103, amended network connecting request and described network proxy server is used to connect, and use described connection to send described network linking to described network proxy server, wherein, when described network proxy server judges that described network linking is media advertisement network linking, described connection is interrupted.
Because the IP address of above-mentioned network proxy server and port have been modified, so communication terminal is when sending this network connecting request, this network connecting request just will inevitably be sent to network proxy server, thus connect with network proxy server, and this network connecting request comprises above-mentioned network linking, thus this connection can be used to send this network linking to network proxy server when connecting.In addition, this step can be understood as and sends amended network connecting request to network proxy server.
Whether when network proxy server receives above-mentioned amended network connecting request, just can obtain the network linking of carrying in this network connecting request, thus can judge it, be media advertisement network linking to identify.In addition, in the present embodiment, above-mentioned network proxy server can be the virtual network proxy server that communication terminal this locality is pre-created, thus when this virtual network proxy server judges that described network linking is media advertisement network linking, communication terminal can control this virtual network proxy server and interrupt this connection.In addition, above-mentioned network proxy server can be external network proxy server, thus when this external network proxy server judges that described network linking is media advertisement network linking, this external network proxy server will interrupt this connection.
In the present embodiment, media advertisement can video ads, text advertisements, display advertising or audio advertisement etc.Above-mentioned media advertisement link can be understood as the link that media content comprises media advertisement.
In the present embodiment, if just can realize the current network connecting request needing transmission by above-mentioned steps is media content connection request, and the network linking that this network connecting request is carried is when being media advertisement network linking, interrupt this network to connect, thus communication terminal would not represent media advertisement, to represent the media content of non-advertisement.Such as: communication terminal, when movie, at this moment often initiate video ads and play, and by the present embodiment, the network connecting request of video ads can not be set up, thus communication terminal just can movie; Or communication terminal is when starting a certain application program, and this application program is often initiated media advertisement and represented, thus by the present embodiment, the network connecting request of media advertisement can not be set up, thus this application program directly can represent media content.
In addition, in the present embodiment, when above-mentioned network connecting request is not media content connection request, can process ends, or use this network connecting request to set up corresponding network to connect.
In the present embodiment, said method can be applied to anyly possesses the network equipment representing media content, such as: personal computer (PersonalComputer, PC), panel computer, mobile phone, electronic reader, notebook computer, Web TV etc. possess the network equipment representing media content.
In the present embodiment, judge whether the current network connecting request needing transmission is media content connection request, and wherein, described network connecting request carries network linking; If when described network connecting request is described media content connection request, the IP address of described network connecting request and port numbers are revised as IP address and the port numbers of network proxy server; Amended network connecting request and described network proxy server is used to connect, and use described connection to send described network linking to described network proxy server, wherein, when described network proxy server judges that described network linking is media advertisement network linking, described connection is interrupted.Like this when interrupting this connection, thus media advertisement can not be represented, to realize tackling media advertisement.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of the another kind of media advertisement hold-up interception method that the embodiment of the present invention provides, and as shown in Figure 2, comprises the following steps:
S201, judge current need send network connecting request whether be media content connection request, wherein, described network connecting request carries network linking.
In the present embodiment, judge whether network connecting request is that media content connection request can be judged by port numbers, such as: when the port numbers of browsing page service in ICP/IP protocol is 80, so, just can judge whether the port numbers in above-mentioned network connecting request is 80, if so, then judge that above-mentioned network connecting request is media content connection request.Certainly, in the present embodiment, by judging the keyword in network connecting request, as comprised the keyword that media content matches, then media content connection request can also be defined as.
If when the described network connecting request of S202 is described media content connection request, the IP address of described network connecting request and port numbers are revised as IP address and the port numbers of network proxy server.
S203, amended network connecting request and described network proxy server is used to connect, and use described connection to send described network linking to described network proxy server, wherein, when described network proxy server judges that described network linking is media advertisement network linking, described connection is interrupted.
In the present embodiment, step S201 can comprise:
Network contiguous function being monitored, when monitoring the network connecting request needing to call described network contiguous function, judging whether described network connecting request is media content connection request.
In communication terminal when application program needs to carry out network connection, it is all often the network contiguous function (such as: connect or ConnectEx function) of calling communication terminal, such step S201 just can monitor it, when there being application program to need the network connecting request sent, the network contiguous function of calling communication terminal will be removed, thus this network connecting request can be monitored.
In this execution mode, the step that the amended network connecting request of above-mentioned use and described network proxy server connect, can comprise:
Amended network connecting request is used to call described network contiguous function and described network proxy server connects.
In this execution mode, Hook (hook) can be passed through to the supervision realized network contiguous function.Wherein, Hook (hook) is a platform of windows messaging treatment mechanism, and application program can arrange subprogram to monitor certain message of specified window above, and the window monitored can be that other processes create.When message arrive after, target window process function pre-treatment it.Hook Mechanism allows application program to intercept and capture process Window message or particular event.Hook is actually the program segment of a processing messages, by system call, it is linked into system.Whenever specific message sends, before not arriving object window, hook program just first catches this message, that is Hook Function first obtains control.At this moment namely Hook Function can process process (change) this message, also can not deal with and continue to transmit this message, can also force the transmission of end.
Such as: by dynamic link library (DynamicLinkLibrary such as Hook (hook), DLL) injection technique is injected into media advertisement blocking module in program process, then Hook is carried out to network contiguous function, in Hook function, just can judge whether network connecting request is media content connection request like this, if, then the IP address of network connecting request and port numbers are changed into IP address and the port numbers of network proxy server, then calling system primitive network contiguous function, thus connect with network proxy server.
Wherein, above-mentioned DLL injects and can be understood as an address space DLL being put into certain process, allows it become a part for that process.
In the present embodiment, above-mentioned network proxy server can be the local server created, such as: said method can also comprise the steps:
Create described network proxy server in this locality, and IP address and the port numbers of described network proxy server are set.
Here this locality can be understood as sets up above-mentioned network proxy server in communication terminal, and this network proxy server can be virtual network proxy server.
Such as: create a network proxy server at user's local computer, IP address and the port numbers of proxy server are set, wherein IP address is 127.0.0.1, port numbers is 8118, the port numbers being generally greater than 5000 can be used as interim port numbers, so 8118 be an example here.
In this execution mode, said method can also comprise the steps:
Control described network proxy server in media advertisement database, search whether there is described network linking, if so, then determine that described network linking is media advertisement network linking, and interrupt described connection.
Wherein, the network linking of multiple media content advertisement in above-mentioned media advertisement database, can be comprised, thus can judge whether above-mentioned network linking is media advertisement network linking by this database.In addition, media advertisement database here can obtain in advance, or passes through the media advertisement database of access to netwoks.In addition, can be that net control proxy server interrupts above-mentioned connection in this step.
In the present embodiment, above-mentioned network proxy server can also be external network proxy server, and this external network proxy server can be non-virtual server, and such said method can also comprise the steps:
When described network proxy server judges that described network linking is media advertisement network linking, receive the interrupt message of the described disconnecting that described network proxy server sends.
In execution mode, network proxy server, when judging that above-mentioned network linking is media advertisement link, interrupts above-mentioned connection, and can send above-mentioned interrupt message to communication terminal.Because the judgement for network linking is perform at server, thus the expense of communication terminal can be saved.
In the present embodiment, said method can comprise the steps:
S204, interruption described connection after, represent media content.
In this execution mode, after realizing can be implemented in the above-mentioned connection of relaying, just can represent media content, thus can realize communication terminal represents media content fast.Because, in this execution mode, be only establish with network proxy server to be connected, when network proxy server judges that network linking is media advertisement network linking, interrupt being connected with the network between network proxy server, so just can represent media content fast.In addition, above-mentioned media content can be the media content represented for communication terminal needs after having represented the media advertisement in above-mentioned network linking, due to by the present embodiment, can tackle media advertisement, thus directly can represent media content, to improve Consumer's Experience.
Such as: for video playback, when network proxy server judges that network linking is video ads link, at this moment network proxy server interrupts this network connecting request, and such video software process obtains video ads data failure, this video ads would not be play, play the video of user's viewing.
In the present embodiment, said method can also comprise the steps:
When described network proxy server judges described network linking not as media advertisement network linking, connected to request server by described network proxy server, wherein, described request server is server corresponding to the IP address entrained before not carrying out described amendment of described network connecting request.
In this execution mode, can realize when described network linking is not for media advertisement network linking, network proxy server transfer network connects.
Illustrate to carry out one for video ads below:
User has installed A video software on communication terminals, when using A video software viewing video, video ads can be intercutted, (such as open if communication terminal applied after in the embodiment of the present invention and can realize secure software module in the embodiment of the present invention), proxy server can be created in this locality, and video ads blocking module is injected into video software process, Hook is carried out to connect and ConnectEx network contiguous function, when video software process transfer connect and ConnectEx network contiguous function, to video advertisement server, port numbers is 80, during request video ads data, video ads blocking module changes server ip address and port numbers as IP address and the port numbers of proxy server into, the connection steering proxy server of at this moment asking, proxy server receives network and connects, get network connecting request link data, and link information and video ads rule base are done mate, if hit, then interrupt this network connecting request, just can tackle before video ads network connecting request.
In the present embodiment, the basis of the embodiment shown in Fig. 1 adds in the execution mode of plurality of optional, and can realize tackling media advertisement.
Be apparatus of the present invention embodiment below, the method that apparatus of the present invention embodiment realizes for performing the inventive method embodiment one to two, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to the embodiment of the present invention one and embodiment two.
Refer to Fig. 3, Fig. 3 is the structural representation of a kind of media advertisement blocking apparatus that the embodiment of the present invention provides, and as shown in Figure 3, comprising: judging unit 31, amendment unit 32 and set up unit 33, wherein:
Judging unit 31, for judging whether the current network connecting request needing transmission is media content connection request, and wherein, described network connecting request carries network linking.
In the present embodiment, above-mentioned network connecting request can be the current network connecting request needing to send that communication terminal runs application, such as: the network connecting request of the application program transmission of the displaying video that communication terminal runs, to ask displaying video; Or the network connecting request that the browser that communication terminal runs sends, to ask to represent text message etc.
Above-mentioned media content connection request can be understood as the connection request for asking to represent media content.In addition, in the present embodiment, media content can be the media contents such as video, text, picture or audio frequency.
In addition, above-mentioned network linking can be understood as URL, or network linking can be understood as website information.
Amendment unit 32, if when judging that described network connecting request is described media content connection request for described judging unit 31, is revised as IP address and the port numbers of network proxy server by the IP address of described network connecting request and port numbers.
In the present embodiment, above-mentioned network proxy server can be virtual network proxy server or can be external network proxy server, and this network proxy server has fixing IP address and port numbers.
In the present embodiment, because IP address and the port numbers of network proxy server to be revised as in the IP address of network connecting request and port numbers by amendment unit 32, so, this network connecting request will connect with network proxy server.Certainly, amendment is here appreciated that the IP address of network proxy server is revised as in the object IP address by network connecting request, and same port numbers also can be modify to destination slogan.
Set up unit 33, connect for using the amended network connecting request of described amendment unit 32 and described network proxy server, and use described connection to send described network linking to described network proxy server, wherein, when described network proxy server judges that described network linking is media advertisement network linking, described connection is interrupted.
In the present embodiment, if just can realize the current network connecting request needing transmission by said units is media content connection request, and the network linking that this network connecting request is carried is when being media advertisement network linking, interrupt this network to connect, thus communication terminal would not represent media advertisement, to represent the media content of non-advertisement.Such as: communication terminal, when movie, at this moment often initiate video ads and play, and by the present embodiment, the network connecting request of video ads can not be set up, thus communication terminal just can movie; Or communication terminal is when starting a certain application program, and this application program is often initiated media advertisement and represented, thus by the present embodiment, the network connecting request of media advertisement can not be set up, thus this application program directly can represent media content.
In the present embodiment, said apparatus can be applied to anyly possesses the network equipment representing media content, such as: PC, panel computer, mobile phone, electronic reader, notebook computer, Web TV etc. possess the network equipment representing media content.
In the present embodiment, judge whether the current network connecting request needing transmission is media content connection request, and wherein, described network connecting request carries network linking; If when described network connecting request is described media content connection request, the IP address of described network connecting request and port numbers are revised as IP address and the port numbers of network proxy server; Described amended network connecting request and described network proxy server is used to connect; When described network proxy server judges that described network linking is media advertisement network linking, interrupt described connection.Like this when interrupting this connection, thus media advertisement can not be represented, to realize tackling media advertisement.
Refer to Fig. 4, Fig. 4 is the structural representation of the another kind of media advertisement blocking apparatus that the embodiment of the present invention provides, and as shown in Figure 4, comprising: judging unit 41, amendment unit 42 and set up unit 43, wherein:
Judging unit 41, for judging whether the current network connecting request needing transmission is media content connection request, and wherein, described network connecting request carries network linking.
Amendment unit 42, if when judging that described network connecting request is described media content connection request for described judging unit 41, is revised as IP address and the port numbers of network proxy server by the IP address of described network connecting request and port numbers.
Set up unit 43, connect for using the amended network connecting request of described amendment unit 42 and described network proxy server, and use described connection to send described network linking to described network proxy server, wherein, when described network proxy server judges that described network linking is media advertisement network linking, described connection is interrupted.
In the present embodiment, above-mentioned network proxy server can be the local server created, such as: described device can also comprise:
Creating unit 44, for creating described network proxy server in this locality, and arranges IP address and the port numbers of described network proxy server.
Create described network proxy server in this locality, and IP address and the port numbers of described network proxy server are set.
Here this locality can be understood as sets up above-mentioned network proxy server in communication terminal, and this network proxy server can be virtual network proxy server.
In addition, in this execution mode, said apparatus can also comprise:
Control unit 45, searching whether there is described network linking for controlling described network proxy server, if so, then determining that described network linking is media advertisement network linking, and interrupting described connection in media advertisement database.
Wherein, the network linking of multiple media content advertisement in above-mentioned media advertisement database, can be comprised, thus can judge whether above-mentioned network linking is media advertisement network linking by this database.In addition, media advertisement database here can obtain in advance, or passes through the media advertisement database of access to netwoks.
In the present embodiment, above-mentioned network proxy server can also be external network proxy server, and this external network proxy server can be non-virtual server, and as shown in Figure 5, said apparatus can also comprise:
Receiving element 46, for when described network proxy server judges that described network linking is media advertisement network linking, receives the interrupt message of the described disconnecting that described network proxy server sends.
In execution mode, network proxy server, when judging that above-mentioned network linking is media advertisement link, interrupts above-mentioned connection, and can send above-mentioned interrupt message to communication terminal.Because the judgement for network linking is perform at server, thus the expense of communication terminal can be saved.
In the present embodiment, judging unit 41 may be used for monitoring network contiguous function, when monitoring the network connecting request needing to call described network contiguous function, judges whether described network connecting request is media content connection request;
Set up unit 43 to may be used for using described amended network connecting request to call described network contiguous function and described network proxy server connects.
In this execution mode, Hook (hook) can be passed through to the supervision realized network contiguous function.
Such as: by DLL injection techniques such as Hook (hook), media advertisement blocking module is injected in program process, then Hook is carried out to network contiguous function, in Hook function, just can judge whether network connecting request is media content connection request like this, if, then the IP address of network connecting request and port numbers are changed into IP address and the port numbers of network proxy server, then calling system primitive network contiguous function, thus connect with network proxy server.
In the present embodiment, setting up unit 43 can also be used for when described network proxy server judges described network linking not as media advertisement network linking, connected to request server by described network proxy server, wherein, described request server is server corresponding to the IP address entrained before not carrying out described amendment of described network connecting request.
In this execution mode, can realize when described network linking is not for media advertisement network linking, network proxy server transfer network connects.
In the present embodiment, as shown in Figure 6, said apparatus can also comprise:
Represent unit 47, for after the described connection of interruption, represent media content.
In this execution mode, after realizing can be implemented in the above-mentioned connection of relaying, just can represent media content, thus can realize communication terminal represents media content fast.Because, in this execution mode, be only establish with network proxy server to be connected, when network proxy server judges that network linking is media advertisement network linking, interrupt being connected with the network between network proxy server, so just can represent media content fast.In addition, above-mentioned media content can be the media content represented for communication terminal needs after having represented the media advertisement in above-mentioned network linking, due to by the present embodiment, can tackle media advertisement, thus directly can represent media content, to improve Consumer's Experience.
In the present embodiment, the basis of the embodiment shown in Fig. 3 adds in the execution mode of plurality of optional, and can realize tackling media advertisement.
Refer to Fig. 7, Fig. 7 is the structural representation of the another kind of media advertisement blocking apparatus that the embodiment of the present invention provides, as shown in Figure 7, comprise: processor 71, network interface 72, memory 73 and communication bus 74, wherein, described communication bus 74 connects communication for realizing described processor 71, between network interface 72 and memory 73, and described processor 71 performs the program stored in described memory 73 and is used for realizing following methods:
Judge whether the current network connecting request needing transmission is media content connection request, and wherein, described network connecting request carries network linking;
If when described network connecting request is described media content connection request, the IP address of described network connecting request and port numbers are revised as IP address and the port numbers of network proxy server;
Amended network connecting request and described network proxy server is used to connect, and use described connection to send described network linking to described network proxy server, wherein, when described network proxy server judges that described network linking is media advertisement network linking, described connection is interrupted.
In the present embodiment, the program that processor 71 performs can also comprise:
Create described network proxy server in this locality, and IP address and the port numbers of described network proxy server are set.
In the present embodiment, the program that processor 71 performs can also comprise:
Control described network proxy server in media advertisement database, search whether there is described network linking, if so, then determine that described network linking is media advertisement network linking, and interrupt described connection.
In the present embodiment, the program that processor 71 performs can also comprise:
When described network proxy server judges that described network linking is media advertisement network linking, receive the interrupt message of the described disconnecting that described network proxy server sends.
In the present embodiment, what processor 71 performed judges that whether the current network connecting request needing to send is the program of media content connection request, can comprise:
Network contiguous function being monitored, when monitoring the network connecting request needing to call described network contiguous function, judging whether described network connecting request is media content connection request;
The amended network connecting request of use that processor 71 performs and the program that described network proxy server connects, can comprise:
Amended network connecting request is used to call described network contiguous function and described network proxy server connects.
In the present embodiment, the program that processor 71 performs can also comprise:
When described network proxy server judges described network linking not as media advertisement network linking, connected to request server by described network proxy server, wherein, described request server is server corresponding to the IP address entrained before not carrying out described amendment of described network connecting request; Or
After the described connection of interruption, represent media content.
In the present embodiment, said apparatus can be applied to anyly possesses the network equipment representing media content, such as: PC, panel computer, mobile phone, electronic reader, notebook computer, Web TV etc. possess the network equipment representing media content.
In the present embodiment, judge whether the current network connecting request needing transmission is media content connection request, and wherein, described network connecting request carries network linking; If when described network connecting request is described media content connection request, the IP address of described network connecting request and port numbers are revised as IP address and the port numbers of network proxy server; Amended network connecting request and described network proxy server is used to connect, and use described connection to send described network linking to described network proxy server, wherein, when described network proxy server judges that described network linking is media advertisement network linking, described connection is interrupted.Like this when interrupting this connection, thus media advertisement can not be represented, to realize tackling media advertisement.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random access memory (RandomAccessMemory is called for short RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (10)

1. a media advertisement hold-up interception method, is characterized in that, comprising:
Judge whether the current network connecting request needing transmission is media content connection request, and wherein, described network connecting request carries network linking;
If when described network connecting request is described media content connection request, the IP address of described network connecting request and port numbers are revised as IP address and the port numbers of network proxy server;
Amended network connecting request and described network proxy server is used to connect, and use described connection to send described network linking to described network proxy server, wherein, when described network proxy server judges that described network linking is media advertisement network linking, described connection is interrupted.
2. the method for claim 1, is characterized in that, described network proxy server is revised as in the IP address of described network connecting request and port numbers IP address and port numbers before, described method also comprises:
Create described network proxy server in this locality, and IP address and the port numbers of described network proxy server are set.
3. method as claimed in claim 2, it is characterized in that, described method also comprises:
Control described network proxy server in media advertisement database, search whether there is described network linking, if so, then determine that described network linking is media advertisement network linking, and interrupt described connection.
4. the method for claim 1, is characterized in that, described method also comprises:
When described network proxy server judges that described network linking is media advertisement network linking, receive the interrupt message of the described disconnecting that described network proxy server sends.
5. the method according to any one of claim 1-4, is characterized in that, whether the described network connecting request judging that current needs send is media content connection request, comprising:
Network contiguous function being monitored, when monitoring the network connecting request needing to call described network contiguous function, judging whether described network connecting request is media content connection request;
The described amended network connecting request of described use and described network proxy server connect, and comprising:
Described amended network connecting request is used to call described network contiguous function and described network proxy server connects.
6. the method according to any one of claim 1-4, is characterized in that, described method also comprises:
When described network proxy server judges described network linking not as media advertisement network linking, connected to request server by described network proxy server, wherein, described request server is server corresponding to the IP address entrained before not carrying out described amendment of described network connecting request; Or
After the described connection of interruption, represent media content.
7. a media advertisement blocking apparatus, is characterized in that, comprising: judging unit, revise unit and set up unit, wherein:
Described judging unit, for judging whether the current network connecting request needing transmission is media content connection request, and wherein, described network connecting request carries network linking;
Described amendment unit, if when judging that described network connecting request is described media content connection request for described judging unit, is revised as IP address and the port numbers of network proxy server by the IP address of described network connecting request and port numbers;
Describedly set up unit, connect for using the amended network connecting request of described amendment unit and described network proxy server, and use described connection to send described network linking to described network proxy server, wherein, when described network proxy server judges that described network linking is media advertisement network linking, described connection is interrupted.
8. device as claimed in claim 7, it is characterized in that, described device also comprises:
Creating unit, for creating described network proxy server in this locality, and arranges IP address and the port numbers of described network proxy server.
9. device as claimed in claim 8, it is characterized in that, described device also comprises:
Control unit, searching whether there is described network linking for controlling described network proxy server, if so, then determining that described network linking is media advertisement network linking, and interrupting described connection in media advertisement database.
10. device as claimed in claim 7, it is characterized in that, described device also comprises:
Receiving element, for when described network proxy server judges that described network linking is media advertisement network linking, receives the interrupt message of the described disconnecting that described network proxy server sends.
CN201510897443.XA 2015-12-07 2015-12-07 Media advertisement blocking method and device Pending CN105530248A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510897443.XA CN105530248A (en) 2015-12-07 2015-12-07 Media advertisement blocking method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510897443.XA CN105530248A (en) 2015-12-07 2015-12-07 Media advertisement blocking method and device

Publications (1)

Publication Number Publication Date
CN105530248A true CN105530248A (en) 2016-04-27

Family

ID=55772230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510897443.XA Pending CN105530248A (en) 2015-12-07 2015-12-07 Media advertisement blocking method and device

Country Status (1)

Country Link
CN (1) CN105530248A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113726872A (en) * 2021-08-27 2021-11-30 北京百度网讯科技有限公司 Method, device, equipment and medium for filtering promotion information

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102027472A (en) * 2008-05-21 2011-04-20 国际商业机器公司 Method and system to selectively secure the display of advertisements on web browsers
CN102624691A (en) * 2011-11-28 2012-08-01 苏州奇可思信息科技有限公司 Multi-proxy internet access method adopting shareable advertisement blocking configuration information
CN103093148A (en) * 2012-12-28 2013-05-08 广东欧珀移动通信有限公司 Detection method, system and device of malicious advertisements
CN103530560A (en) * 2013-09-29 2014-01-22 北京金山网络科技有限公司 Method, device and client side for advertisement blocking
CN105100904A (en) * 2014-05-09 2015-11-25 深圳市快播科技有限公司 Video advertisement blocking method, device and browser

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102027472A (en) * 2008-05-21 2011-04-20 国际商业机器公司 Method and system to selectively secure the display of advertisements on web browsers
CN102624691A (en) * 2011-11-28 2012-08-01 苏州奇可思信息科技有限公司 Multi-proxy internet access method adopting shareable advertisement blocking configuration information
CN103093148A (en) * 2012-12-28 2013-05-08 广东欧珀移动通信有限公司 Detection method, system and device of malicious advertisements
CN103530560A (en) * 2013-09-29 2014-01-22 北京金山网络科技有限公司 Method, device and client side for advertisement blocking
CN105100904A (en) * 2014-05-09 2015-11-25 深圳市快播科技有限公司 Video advertisement blocking method, device and browser

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113726872A (en) * 2021-08-27 2021-11-30 北京百度网讯科技有限公司 Method, device, equipment and medium for filtering promotion information
CN113726872B (en) * 2021-08-27 2022-12-06 北京百度网讯科技有限公司 Method, device, equipment and medium for filtering promotion information

Similar Documents

Publication Publication Date Title
US8526405B2 (en) Routing network requests based on requesting device characteristics
EP2129148B1 (en) Content distribution system
US9697353B2 (en) Method and device for intercepting call for service by application
US9021468B1 (en) Bundling extension installation with web browser installation
US10862888B1 (en) Linking a forwarded contact on a resource to a user interaction on a requesting source item
CN107656768B (en) Method and system for controlling page jump
EP3197122B1 (en) Method of forwarding in-application traffic on smart mobile terminal
US8606955B1 (en) Pause-button content rendering
CN104618816A (en) Cross-screen interaction method, device and system
CN102904959A (en) Network accelerating method and gateway
WO2021068634A1 (en) Page jump method and apparatus, electronic device and computer-readable storage medium
CN107918619B (en) Advertisement display method and device
CN104142966A (en) Web page displaying method and client
CN105516246A (en) Method for preventing application program downloading hijacking and server
CN104811485A (en) Resource sharing method
CN108122124B (en) Information pushing method, platform and system
US11477158B2 (en) Method and apparatus for advertisement anti-blocking
CN113259494B (en) File storage method and device, electronic equipment and storage medium
CN109218272B (en) Media content pushing method, device, server, system and storage medium
CN110324432B (en) Data processing method, device and medium applied to terminal and computing equipment
CN110569097B (en) Information display method and device
CN112187887A (en) Webpage real-time communication method and device for multiple pages and electronic equipment
CN103729440A (en) Method and device for having access to website
CN105530248A (en) Media advertisement blocking method and device
CN102137081A (en) Method, device and system for inserting advertisements

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20181203

Address after: Room 105-53811, No. 6 Baohua Road, Hengqin New District, Zhuhai City, Guangdong Province

Applicant after: Zhuhai Leopard Technology Co.,Ltd.

Address before: 519070, six level 601F, 10 main building, science and technology road, Tangjia Bay Town, Zhuhai, Guangdong.

Applicant before: Zhuhai Juntian Electronic Technology Co.,Ltd.

Applicant before: BEIJING KINGSOFT INTERNET SECURITY SOFTWARE Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160427