Autumn style advertisement killer V2.7: Technical Principles sharing Youku anti-advertisement shielding mechanism

Source: Internet
Author: User
Tags ad server vps

The last version of V2.6 and the last month, V2.6 and V2.7, mainly for Youku's latest anti-advertisement shielding upgrade:

 

This timeAutumn style advertisement killerUpgrade functions:

1: Targeted upgrades have been made for Youku and Tudou's latest anti-advertisement shielding.

2: fixed the Bug of https link requests when "one sword goes out of the wall.

3: Recently, I got a vps in Hong Kong and added it to provide the service with a sword.

4: added the Socket link pool mechanism, slightly improving the link speed of some requests.

 

The following is a supplement to the updated functions:

 

1: Upgrade of Youku and Tudou's anti-ad shielding mechanism:

Along with the latest anti-advertisement blocking upgrade of Youku and Tudou, all advertisement blocking plug-ins in China have become ineffective.

The autumn-style ad killer started processing the next day after discovery, and immediately upgraded to V2.6 after processing.

(But at that time, I didn't realize that this problem also exists, so I didn't deal with it together)

 

Youku's advertising time is the same as that in the property market: the more you scold, the more you go up: the past 15 seconds, the more you endure; then suddenly rose to 30 seconds; everyone scolded, cursing, and rose to 45 seconds; everyone began to think about regulation and control. 60 seconds later, there was wood, and advertisements were inserted in the middle. One minute and a half, there was wood! Various browsers have blocked plug-ins.

So Youku made a difficult decision: to stop video services for users who do not watch advertisements...

The final result is the prompt:

 

The following describes the anti-blocking mechanism of Youku's latest upgrade:

Youku's anti-advertisement shielding mechanism is basically used in its player:

The previous policy is: When an advertisement is loaded, if it is intercepted, a 45-second countdown to the black screen will pop up to remind the user to disable the advertisement plug-in, but it does not affect the playback.

The intermediate policy is to insert an advertisement in the middle. If an advertisement is intercepted, the video is forcibly suspended without any prompt.

The policy for this upgrade is: when the video is played, the ad server is requested from time to time, and then the returned data is detected. If it is intercepted, the video is suspended, browser compatibility issues.

 

Tudou and Youku are the same, so the anti-blocking principle of Tudou is also the same.

 

Anti-blocking mechanism:

After learning about Youku's ad shielding principle, we basically tried to solve it in a targeted way. As for how to crack this problem, I believe that every plug-in or browser has its own processing method.

The most invincible is to modify the requested Youku player address, pointing to the old version.

 

2: fixed an https link Bug of "One sword out of the wall:

As a result, facebook and google may not be able to access the website normally when the website goes out of the wall.

Recently, all websites outside China are dumb, so they don't need http. They all Use https. Are they all targeted for China's network services?

 

3: Recently I got a vps in Hong Kong.

It is found that the current vps price in Hong Kong is close to that in the United States. Although the hard drive is 10 Gb less and the bandwidth is a little less, it is enough. The key is that the ping value in Hong Kong is only dozens, in the United States, generally from 200 to 400

In order to avoid the pressure on a single server, the content is changed first. First, one server is randomly selected. If the link cannot be connected, one server is retrieved again.

At the same time, yesterday, it was reported that the xenguestagent.exe process of vpsactually consumed 1 GB of virtual memory.

Today, we found that the VPS has been intruded into and that there are links to unfamiliar users and unfamiliar system service processes.

 

4: The Link pool mechanism has been added, slightly improving the link speed of some requests.

This is when you access the autumn garden. Sometimes, when the network is blocked, a single link may be blocked.

So I came up with the link pool mechanism. By generating multiple links at the same time and linking them at the same time, I took one of the available ones and put the remaining usable ones into the slave database.

Software Upgrade: the system automatically upgrades the software after it is restarted.

Software: http://www.cyqdata.com/download/article-detail-54271 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.