For the local area network movie server, it generally uses a large number of hard disks, and the hard disk reading speed must be considered, especially for many Blu-ray movies, the disk reading speed is higher. It is recommended that the video on the server be updated through P2P transmission. For example, the provider of the entire system will have a central server on the external network, which will be edited or automatically edited to release the latest video resources every day; the local area network server for each movie column will be scheduled (for example, once every hour, or unpopular at night) time). Go to the provider's central server to check the new video, if so, please sync the movie information to the server. The video information can be the title, director, introduction and download address of the video.
At the level of the video download address, there are usually several different level transmission schemes. This is actually the focus, because it will affect the user update experience and overall cost control. There are several common transmission schemes:
A) The traditional Http download is directly downloaded from the server Http. All traffic is obtained from the server. It is the one with the highest cost and the slowest download speed. It is suitable for users and videos.
B) The traditional Http + CDN solution is equivalent to adding CDN to the A solution. It only solves the problem of user download speed, but the cost will be higher, because all traffic will flow to the server and CDN, you need to pay for the bandwidth yourself.
.
C) P2P solution, using BT mode download mode, the faster the staff, the faster the speed, and the least use of server bandwidth. For example, when 1000 movie strips are updated together, they can download data from neighbors. The server only needs a small amount of bandwidth, and everyone's speed can be increased. P2P solutions can be used in conjunction with Http/CDN at the same time, and P2SP is more effective. At this time, the server only occupies 30% or less of the bandwidth (depending on the number of users, etc.), but users can get fast download speeds. The biggest problem with P2P is the high development complexity (if you are developing a p2p transmission engine from scratch), you can actually consider using a commercial P2P transmission engine, which has been widely used since its release in 2008, including Xianxia World 2 games, The legend of sword and chivalry, and the transmission of many audio and video software. It is a mature and stable transmission engine that can be called with only a few lines of code.
D) You can also consider some proprietary P2P sources, some existing Internet resources, just put a video URL, and then the LAN server uses Http, P2P, and a combination of the two to download. The security considerations of the video resources of
vod on-demand system are also the top priority. The vod on-demand system embeds encryption functions, anti-theft chain, transmission layer encryption, video source encryption, player encryption, etc., from storage to transmission to playback. Videos are safer!
program exchange 15562577050