Cisco Headend System Release 2.5 Guia Do Utilizador

Página de 325
4011043 Rev B 
Managing Updates 
7-1 
Chapter 7 
Managing Updates 
Overview 
Introduction 
The TSBroadcaster allows you to update files and directories in application sets 
while they are being played out.  
Types of Updates 
Two types of updates are supported: 
• 
Polled updates. The TSBroadcaster reads data from a specified URL and copies the 
data found at the URL to the specified location in the file system of an application 
set. The TSBroadcaster will continue to poll the URL at the specified rate, and it 
will automatically update the specified location whenever it detects a change in 
the data from the URL. The TSBroadcaster starts monitoring polled updates a 
short time before an application set is due to be broadcast. This type of update 
allows the current data to be in place when the application launches. 
• 
On-demand updates. The TSBroadcaster provides a command interface to create 
and delete files and directories in the file system of an application set, and also to 
update files and directories with new content.  
The type of update you should select for an application depends on the nature of the 
updates, the requirements for response time, the number of elements being updated, 
and the processing infrastructure available for producing updates. 
In both polled and on-demand updates, updated content is handled differently for 
files and directories as follows: 
• 
If the target of the update is a file, the TSBroadcaster reads the content from the 
URL and uses it to replace the existing content of the file. 
• 
If the target of the update is a directory, the URL must contain data in a zip 
archive format. The TSBroadcaster assumes that the content read from the URL is 
a zip archive, and unzips the content to obtain a file system. The TSBroadcaster 
then replaces the entire sub-tree below the target directory with the file system 
from the zip archive in a single operation.