Abstract:
An audio/video media server for distributed editing over networks receives requests from clients on the networks that include a clip identifier, a delivery destination identifier and the frame numbers from the clip desired. The media server parses the requests and asynchronously accesses a file system to retrieve the requested media frames from a storage medium. The retrieved media frames are asynchronously transferred to a FIFO buffer, and a clock rate for a local clock is adjusted according to the fullness of the buffer. The media frames from the buffer are sent in the form of data packets over the networks in response to interrupts generated by the local clock. In this manner the timing for the media frames is controlled by the clients to assure a continuous stream of video during editing.

Description:
STATEMENT REGARDING FEDERALLY SPONSORED RESEARCH OR DEVELOPMENT 
     This invention was developed under a federally sponsored research project, and the United States Government has certain rights as specified in the United States Department of Commerce Contract Number 70NANB5H1176. 
    
    
     CROSS-REFERENCE TO RELATED APPLICATIONS 
     Not applicable 
     BACKGROUND OF THE INVENTION 
     The present invention relates to the distribution of packetized data over networks, and more particularly to an audio/video media server for distributed editing over networks using a low-resolution format or a high-resolution format, depending upon the available network bandwidth. 
     Existing media servers stream video and audio packets over a network under control of a server. A client consumes video at whatever rate the server sends the packets--the client consumes a contiguous movie. In other words the current media servers &#34;push&#34; media from the server to the client using a &#34;stream&#34; from the server. These servers are often called &#34;video on demand&#34; servers, however they refer to the delivery of contiguous movies, not in-progress material suitable for an edit session. 
     In an editing environment a client is looking to put together a &#34;movie&#34; from a plurality of video clips that may be distributed over a plurality of servers. With the &#34;video on demand&#34; servers the timing of the video to the client is determined by the servers. To provide concatenated clips, especially when a first clip is from one server and a second clip is from another server, the timing issue is &#34;when does the second server start to `push` the second clip?&#34; This presents a very complex timing problem. 
     What is desired is an audio/video media server for distributed editing over a network that allows clients to access media from many distributed servers or even different media files on a server to enable the playing of &#34;edited&#34; movies with the timing controlled by the client. 
     BRIEF SUMMARY OF THE INVENTION 
     Accordingly the present invention provides an audio/video media server for distributed editing over a network by responding in an asynchronous manner to media frame requests from one or more clients. Each request contains a clip identifier, a delivery destination and the frames desired from the clip. The media server asynchronously accesses a file system to retrieve the media frames from a storage medium. The media frames are then asynchronously input to a FIFO buffer and a clock rate is adjusted based upon the &#34;fullness&#34; of the FIFO buffer. For each interrupt generated by the clock a media frame is transferred from the buffer, packetized and sent over the network to the requesting client. In this way the client controls the timing of the media frames it receives to assure a continuous stream of media frames during editing. 
     The objects, advantages and other novel features of the present invention are apparent from the following detailed description when read in conjunction with the appended claims and attached drawing. 
    
    
     BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWING 
     FIG. 1 is a general block diagram view of a distributed network for media editing according to the present invention. 
     FIG. 2 is a block diagram view of a media server for distributed editing over a network according to the present invention. 
     FIG. 3 is a message flow chart for the media server according to the present invention. 
     FIG. 4 is a message sequence chart for the operation of the media server according to the present invention. 
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
     Referring now to FIG. 1 a distributed editing system 10 has a plurality of servers 12, such as Silicon Graphics, Inc. workstation, coupled over a network 14, such as Ethernet, to a plurality of clients 16, such as a personal computer having a Windows NT operating system with a Sigma Designs MPEG decoder. One or more of the clients 16 may access any one of the servers 12 at any time, and even access the same server simultaneously. 
     One of the clients 16 requests media frames from one of the servers 12 via the network 14. The client requests are in the form of command packets. As shown in FIG. 2 a network interface 18 in the server 12 receives the command packets and routes them to a command dispatcher 20. The command dispatcher 20 routes the command packets to an appropriate processing module depending upon what command is included within the packet. Commands may include &#34;Lookup&#34; commands, &#34;Register&#34; commands or &#34;Request&#34; commands. 
     A &#34;Lookup&#34; command from the client 16 is a search for a particular file or video clip by the client. The command dispatch module 20 in the server 12 forwards the command to a Lookup command module 22. The Lookup command module 22 returns an &#34;id&#34; to the client 16 for later use in accessing the clip via a file descriptor table 24. If the clip is already &#34;open&#34; as a result of a prior Lookup command, the &#34;id&#34; is simply returned to the client 16. This provides information to the client 16 about where clips are that it might want to access in performing an edit. 
     A &#34;Register&#34; command from the client 16 is forwarded by the Command Dispatch module 20 to a Register Client command module 26. The Register Client command module 26 accesses a Client Delivery Handle table 28 and returns a destination identifier &#34;did&#34; to the client 16. In this manner the server 12 may keep track of what clients 16 have accessed it and the clients may use the &#34;did&#34; in subsequent requests to notify the server where to deliver media frames. 
     Once the client 16 has located the desired clips via the Lookup command and registered with the server 12 with the Register command, the client now makes requests for media frames using the Request command. The Request command includes the clip &#34;id&#34;, the &#34;did&#34; and a &#34;framelist&#34; that includes the frames desired in response to the request. The Command Dispatch module 20 routes the Request command to a Frame Request module 30. The Frame Request module 30 converts the &#34;id&#34; and &#34;framelist&#34; together with the file descriptor information from the File Descriptor table 24 into a file address, an offset from the start of the file, a count corresponding to the number of frames requested and the delivery identification. Each media frame in the framelist is treated individually at this point. 
     A Read module 32 receives the information from the Frame Request module 30 and asynchronously accesses a file system 34 that retrieves the requested media frames one at a time from a storage unit 36, such as disk. A Handler module 38 then asynchronously receives the media frames one at a time from the file system 34 and provides the retrieved frame to a FIFO Input module 40. The FIFO Input module 40 stores each frame as received into a media frame first-in/first-out (FIFO) buffer 42 and also, either before or after storing each frame in the FIFO, checks the &#34;fullness&#34; of the FIFO. Based upon the &#34;fullness&#34; the FIFO Input module 40 provides an adjusted clock rate signal to a FIFO output clock 46. In this manner the data flow from the media server 12 is smoothed out. The FIFO output clock provides a periodic interrupt to a FIFO Output module 44 which extracts a media frame from the FIFO 42 for transmission to the requesting client 16. A Send module 48 receives the media frame from the FIFO Output module 44 and a destination address from the Client Delivery Handle table 28 and produces a media packet which is sent via the network interface 18 over the network 14 to the requesting client 16. 
     Referring now to FIGS. 3 and 4 the message flow is in the form of commands (REGISTER, LOOKUP and REQUEST) from the client 16 to a request server 50 within the media server 12. The request server 50 processes the REGISTER, LOOKUP and REQUEST commands, as indicated above, to provide a delivery identification for the client in the Handle table 28 and establish a clip identification and to provide frame read requests for the file system 34. In response to the asynchronous read requests the file system 34 retrieves files from the disk 36, and in response to handler requests the retrieved files on a frame by frame basis are transferred to a FIFO Manager 52. The FIFO Manager 52 provides rate adjustment for the clock 46, stores the frames as retrieved from the file system 34, and outputs the frame packets to the client 16 in response to the clock interrupts. 
     A typical message sequence would start with a REGISTER command from the client 16, which binds a network address and path to the client. The request server 50 returns to the client 16 the destination identifier (&#34;did&#34;). The client 16 then provides a LOOKUP command for a particular clip. The request server 50 asks the file system 34 to open the clip, if not already open, and the file system returns to the request server a file descriptor identifier. The request server 50 then returns the clip identifier (&#34;id&#34;) to the client 16. The client 16 now has the information it needs to make media frame requests in the form of REQUEST commands to the request server 50 that include the clip identifier and delivery identifier as a hybrid identifier (&#34;hid&#34;) and the number of frames from the clip desired--generally from three to ten frames per REQUEST command. The request server 50 sends a read request to the file system 34 and acknowledges the client&#39;s request. Upon receipt of the acknowledgement the client 16 may send another REQUEST command to the request server 50 for the next group of frames from the clip. Again the request server 50 forwards a read request to the file system 34 and acknowledges the request from the client. 
     The Handler module 38 returns the requested frame to the request server 50 which then forwards the frame information to the FIFO Manager 52. The FIFO Manager 52 provides a rate command to the clock 46 which returns interrupts to the FIFO Manager. The FIFO Manager 52 in response to the interrupts outputs to the client 16 frame packets for each requested frame. 
     For multiple clients 16 simultaneously accessing a single media server 12 the media frames from the FIFO 42 may be read out by separate FIFO output modules 44 for each client. To avoid &#34;starving&#34; any one client 16 the FIFO output modules 44 are accessed in a rotational manner so that packets for each client are sent to the network 14 in an intermingled fashion, thus preventing the server 12 from being &#34;captured&#34; by a single client when multiple clients are accessing it. 
     Thus the present invention provides a media server that leaves timing to requesting clients by processing request commands from clients on a demand basis, and asynchronously accessing the requested media files and returning them to the client at a sufficient rate so that the client has a steady stream of video images to process, regardless of where the clips are coming from.