The invention discloses a method for realizing
video on demand seamless disaster tolerance based on HLS (
HTTP Live Streaming), belongs to the technical field of
video on demand, and solves the problem of
delay or incapability of watching due to failure of a streaming
server when a user requests
video on demand. According to the technical scheme, the method comprises the following steps: constructing a streaming scheduling
server group on a
server side by using a plurality of servers in a load balancing way, and monitoring
health information and load information about all managed streaming servers in real time through a
heartbeat mechanism by using the streaming scheduling server group; intercepting all user video
on demand requests on a
client by using the streaming scheduling server group, recording the user video
on demand requests, allocating healthy streaming servers to the
client by using the streaming scheduling server group, and providing
video streaming services; and when a certain streaming server fails, switching to other streaming servers according to a
current user video
on demand request by using the streaming scheduling server group, and providing
video streaming services for the
client by using other streaming servers in order to realize seamless disaster tolerance.