WO2000016204A1 - System for capturing and processing data streams upon availability of a process buffer - Google Patents

System for capturing and processing data streams upon availability of a process buffer Download PDF

Info

Publication number
WO2000016204A1
WO2000016204A1 PCT/US1999/020931 US9920931W WO0016204A1 WO 2000016204 A1 WO2000016204 A1 WO 2000016204A1 US 9920931 W US9920931 W US 9920931W WO 0016204 A1 WO0016204 A1 WO 0016204A1
Authority
WO
WIPO (PCT)
Prior art keywords
buffers
receive
buffer
filled
data
Prior art date
Application number
PCT/US1999/020931
Other languages
French (fr)
Inventor
Kevin K. Lym
Hisato Shima
Larry White
Quan Vu
Original Assignee
Sony Electronics Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Electronics Inc. filed Critical Sony Electronics Inc.
Priority to AU59194/99A priority Critical patent/AU5919499A/en
Publication of WO2000016204A1 publication Critical patent/WO2000016204A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43632Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wired protocol, e.g. IEEE 1394
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/23406Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving management of server-side video buffer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44004Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving video buffer management, e.g. video decoder buffer or video display buffer

Definitions

  • the present invention relates to the field of transmitting information between devices. More particularly, the present invention relates to the field of capturing and processing data received by a device.
  • the IEEE 1394-1995 standard "1394-1995 Standard For A High Performance Serial Bus,” is an international standard for implementing an inexpensive high-speed serial bus architecture which supports both asynchronous and isochronous format data transfers. Isochronous data transfers are real-time transfers which take place such that the time intervals between significant instances have the same duration at both the transmitting and receiving applications. Each packet of data transferred isochronously is transferred in its own time period. An example of an ideal application for the transfer of data isochronously would be from a video recorder to a television set. The video recorder records images and sounds and saves the data in discrete chunks or packets. The video recorder then transfers each packet, representing the image and sound recorded over a limited time period, during that time period, for display by the television set.
  • the IEEE 1394-1995 standard bus architecture provides multiple channels for isochronous data transfer between applications.
  • a six bit channel number is broadcast with the data to ensure reception by the appropriate application. This allows multiple applications to concurrently transmit isochronous data across the bus structure.
  • Asynchronous transfers are traditional data transfer operations which take place as soon as possible and transfer an amount of data from a source to a destination.
  • the IEEE 1394-1995 standard provides a high-speed serial bus for interconnecting digital devices thereby providing a universal I/O connection.
  • the IEEE 1394-1995 standard defines a digital interface for the applications thereby eliminating the need for an application to convert digital data to analog data before it is transmitted across the bus.
  • a receiving application will receive digital data from the bus, not analog data, and will therefore not be required to convert analog data to digital data.
  • the cable required by the IEEE 1394-1995 standard is very thin in size compared to other bulkier cables used to connect such devices. Devices can be added and removed from an IEEE 1394-1995 bus while the bus is active. If a device is so added or removed the bus will then automatically reconfigure itself for transmitting data between the then existing nodes.
  • a node is considered a logical entity with a unique address on the bus structure. Each node provides an identification ROM, a standardized set of control registers and its own address space.
  • the IEEE 1394-1995 cable environment is a network of nodes connected by point- to-point links, including a port on each node's physical connection and the cable between them.
  • the physical topology for the cable environment of an IEEE 1394-1995 serial bus is a non-cyclic network of multiple ports, with finite branches. The primary restriction on the cable environment is that nodes must be connected together without forming any closed loops.
  • the IEEE 1394-1995 cables connect ports together on different nodes.
  • Each port includes terminators, transceivers and simple logic.
  • a node can have multiple ports at its physical connection.
  • the cable and ports act as bus repeaters between the nodes to simulate a single logical bus.
  • the cable physical connection at each node includes one or more ports, arbitration logic, a resynchronizer and an encoder.
  • Each of the ports provide the cable media interface into which the cable connector is connected.
  • the arbitration logic provides access to the bus for the node.
  • the resynchronizer takes received data- strobe encoded data bits and generates data bits synchronized to a local clock for use by the applications within the node.
  • the encoder takes either data being transmitted by the node or data received by the resynchronizer, which is addressed to another node, and encodes it in data-strobe format for transmission across the IEEE 1394-1995 serial bus.
  • the cable physical connection translates the physical point-to-point topology of the cable environment into a virtual broadcast bus, which is expected by higher layers of the system. This is accomplished by taking all data received on one port of the physical connection, resynchronizing the data to a local clock and repeating the data out of all of the other ports from the physical connection.
  • a stream of continuous data such as a digital video stream from a video camera
  • the data is typically captured by the device and stored within a series of receive buffers.
  • the data within the receive buffer is then processed and transferred to a process data buffer within a supply of process buffers.
  • the emptied receive buffer is then added back into the series of receive buffers to be used to receive more data within the stream of ' continuous data.
  • the process data buffer is provided to an application, such as a video renderer or a digital video CODEC, to be utilized or further processed by the application. Once utilized or processed by the application, the processed data buffer is added back into the supply of process buffers in order to receive additional processed data within the stream of continuous data.
  • the process buffers are provided by the application in a non-continuous fashion and from a limited supply. Typically, at some point during the reception of a continuous stream of data, the supply of process buffers will not keep up with the number of receive buffers being filled with captured data.
  • the captured data within the receive buffer cannot be processed and transferred to a process buffer.
  • the stream of continuous data must still be captured and stored within the receive buffers. Accordingly, when no process buffer is available to receive captured and processed data, the data within the filled receive buffer is typically discarded and the receive buffer is added back into the series of receive buffers in order to store currently captured data within the incoming stream of continuous data. This discarded data is then lost and cannot be retrieved, utilized or processed by the receiving application. In some applications this loss of data will cause discontinuity in the use and display of the processed data.
  • a method of and apparatus for capturing and processing continuous media-based data streams transmitted over an IEEE 1394 serial bus manages the use of both receive buffers and process buffers in order to minimize the amount of captured data that is discarded due to unavailable process buffers.
  • the data is captured and stored within a current receive buffer.
  • the captured data within the receive buffer is then read out, processed and stored within a process buffer, if a process buffer is available on a cached list of process buffers.
  • the process buffer is then transferred to an application for utilization or further processing of the processed data. If the process buffer is not completely filled, then the process buffer is added back to the cached list of process buffers.
  • a receive buffer is filled and no process buffer is available or if there are already filled receive buffers on a cached list of receive buffers, the filled receive buffer is then added to the cached list of receive buffers.
  • the data within the earliest filled receive buffer on the cached list of receive buffers is processed and transferred to the available process buffer.
  • the receive buffer is not emptied, the receive buffer is then put back on the cached list of receive buffers.
  • the cached list of receive buffers includes a predetermined number of buffers, the data within the earliest filled receive buffer on the cached list of receive buffers is discarded, thereby emptying the receive buffer. The emptied receive buffer is then added to the series of available receive buffers to receive the current captured data.
  • a method of processing captured data includes the steps of receiving a receive buffer filled with captured data, adding the receive buffer to a cached list of receive buffers if there are previously filled buffers on the cached list of receive buffers, adding the receive buffer to the cached list of receive buffers if no process buffer is available and processing the captured data within the receive buffer if the process buffer is available and there are no previously filled buffers on the cached list of receive buffers.
  • the method further includes the step of processing data within an earliest filled receive buffer on the cached list of receive buffers if the process buffer is available and there are previously filled buffers on the cached list of receive buffers.
  • the method further includes the step of storing processed data within the process buffer.
  • the method further includes the step of providing a filled process buffer to an application.
  • the method further includes the step of emptying the earliest filled receive buffer on the cached list of receive buffers if the cached list of receive buffers includes a predetermined number of buffers.
  • the predetermined number of buffers is equal to one half a number of available receive buffers.
  • the captured data is preferably captured from an IEEE 1394-
  • the method further includes the step of adding an available process buffer to a cached list of process buffers if no receive buffers are filled when the available process buffer becomes available.
  • a method of receiving and processing captured data includes the steps of storing captured data within a receive buffer, thereby forming a filled receive buffer, adding the filled receive buffer to a cached list of receive buffers if there are previously filled buffers on the cached list of receive buffers, adding the filled receive buffer to the cached list of receive buffers if no process buffer is available and processing the captured data within the filled receive buffer if the process buffer is available and there are no previously filled buffers on the cached list of receive buffers.
  • the method further includes the step of processing data within an earliest filled receive buffer on the cached list of receive buffers if the process buffer is available and there are previously filled buffers on the cached list of receive buffers.
  • the method further includes the step of storing processed data within the process buffer.
  • the method further includes the step of providing a filled process buffer to an application.
  • the method further includes the step of emptying the earliest filled receive buffer on the cached list of receive buffers if the cached list of receive buffers includes a predetermined number of buffers.
  • the captured data is captured from an IEEE 1394 serial bus.
  • the predetermined number of buffers is preferably equal to one half a number of available receive buffers.
  • the method further includes the step of adding an available process buffer to a cached list of process buffers if no receive buffers are filled when the available process buffer becomes available.
  • an apparatus for receiving and processing captured data includes a receiving circuit for receiving captured data, a plurality of receive buffers for storing captured data, a plurality of process buffers for storing processed data and providing the processed data to an application, a processing apparatus for processing captured data thereby forming the processed data and storing the processed data within the process buffers and a cached list of receive buffers, wherein a filled receive buffer is added to the cached list of receive buffers if no process buffers are available when the filled receive buffer is filled and further wherein a filled received buffer is added to the cached list of receive buffers if there are previously filled receive buffers on the cached list of receive buffers when the filled receive buffer is filled.
  • data within an earliest filled receive buffer on the cached list of receive buffers is processed first and stored within an available process buffer, if there are previously filled buffers on the cached list of receive buffers.
  • An earliest filled receive buffer on the cached list of receive buffers is emptied, if the cached list of receive buffers includes a predetermined number of buffers.
  • the receiving circuit includes an interface circuit configured for coupling to an IEEE 1394 serial bus structure to receive the captured data.
  • the apparatus further includes a cached list of process buffers, wherein an available process buffer is added to the cached list of process buffers if no receive buffers are filled when the available process buffer becomes available.
  • a method of transmitting a continuous stream of data, including a plurality of packets of data, from a transmitting node to a receiving node over an IEEE 1394 serial bus structure includes the steps of receiving the packets of data at the receiving node, thereby forming captured data, storing the captured data within a receive buffer, thereby forming a filled receive buffer, adding the filled receive buffer to a cached list of receive buffers if there are previously filled buffers on the cached list of receive buffers, adding the filled receive buffer to the cached list of receive buffers if no process buffer is available, processing the captured data within the filled receive buffer if the process buffer is available and there are no previously filled buffers on the cached list of receive buffers and emptying an earliest filled buffer on the cached list of receive buffers if the cached list of receive buffers includes a predetermined number of buffers.
  • the method further includes the step of processing data within the earliest filled receive buffer on the cached list of receive buffers if the process buffer is available and there are previously filled buffers on the cached list of receive buffers.
  • the method further includes the step of storing processed data within the process buffer.
  • the method further includes the step of providing a filled process buffer to an application.
  • the predetermined number of buffers is equal to one half a number of available receive buffers.
  • a network of devices includes a transmitting device for transmitting packets of data, a bus structure coupled to the transmitting device, wherein the packets of data are transmitted over the bus structure and a receiving device coupled to the bus structure to receive the packets of data, the receiving device including a receiving circuit for receiving the packets of data, a plurality of receive buffers for storing captured data, a plurality of process buffers for storing processed data and providing the processed data to an application, a processing apparatus for processing captured data thereby forming the processed data and storing the processed data within the processed buffers and a cached list of receive buffers, wherein a filled receive buffer is added to the cached list of receive buffers if no process buffers are available when the filled receive buffer is filled and further wherein a filled receive buffer is added
  • the network of devices further includes a cached list of process buffers, wherein an available process buffer is added to the cached list of process buffers if no receive buffers are filled when the available process buffer becomes available.
  • Figure 1 illustrates a block diagram of an IEEE 1394-1995 serial bus network including a computer system and a video camera.
  • Figure 2 illustrates a block diagram of the internal components of the computer system 10.
  • Figures 3 A and 3B illustrate flow diagrams of the steps involved in managing the reception and processing of a continuous stream of data.
  • Figure 4 illustrates an example of the capturing and processing of data within a continuous stream of data.
  • Figure 5 illustrates an example of the capturing and processing of data using a cached list of filled receive buffers, according to the present invention.
  • FIG. 1 A block diagram of an exemplary IEEE 1394-1995 serial bus network including a computer system and a video camera is illustrated in Figure 1.
  • the computer system 10 includes an associated display 12 and is coupled to the video camera 14 by the IEEE 1394- 1995 serial bus cable 16. Video data and associated data are sent between the video camera 14 and the computer 10 over the IEEE 1394-1995 serial bus cable 16.
  • the computer system 10 includes a central processor unit (CPU) 20, a main memory 30, a video memory 22, a mass storage device 32 and an IEEE 1394-1995 interface circuit 28, all coupled together by a conventional bidirectional system bus 34.
  • CPU central processor unit
  • main memory main memory
  • video memory main memory
  • mass storage device main memory
  • IEEE 1394-1995 interface circuit 28 IEEE 1394-1995 interface circuit
  • the interface circuit 28 includes the physical interface circuit 42 for sending and receiving communications on the IEEE 1394-1995 serial bus.
  • the physical interface circuit 42 is coupled to the camera 14 over the IEEE 1394-1995 serial bus cable 16.
  • the interface circuit 28 is implemented on an IEEE 1394-1995 interface card within the computer system 10.
  • the mass storage device 32 may include both fixed and removable media using any one or more of magnetic, optical or magneto-optical storage technology or any other available mass storage technology.
  • the system bus 34 contains an address bus for addressing any portion of the memory 22 and 30.
  • the system bus 34 also includes a data bus for transferring data between and among the CPU 20, the main memory 30, the video memory 22, the mass storage device 32 and the interface circuit 28.
  • the computer system 10 is also coupled to a number of peripheral input and output devices including the keyboard 38, the mouse 40 and the associated display 12.
  • the keyboard 38 is coupled to the CPU 20 for allowing a user to input data and control commands into the computer system 10.
  • a conventional mouse 40 is coupled to the keyboard 38 for manipulating graphic images on the display 12 as a cursor control device.
  • a port of the video memory 22 is coupled to a video multiplex and shifter circuit
  • the video amplifier 26 drives the display 12.
  • the video multiplex and shifter circuitry 24 and the video amplifier 26 convert pixel data stored in the video memory 22 to raster signals suitable for use by the display 12.
  • an apparatus When receiving a stream of continuous data, an apparatus according to the present invention manages the use of both receive buffers within the series of receive buffers and process buffers within the supply of process buffers to maximize the amount of captured data that is processed and transferred to the application and minimize the amount of captured data that is discarded due to unavailable process buffers.
  • the data is captured and stored within a current receive buffer, as described above.
  • the captured data within the receive buffer is then read out, processed and stored within a process buffer, if one is available on a cached list of process buffers and there are no filled receive buffers on the cached list of receive buffers.
  • the process buffer is then transferred to an application for utilization or further processing.
  • the process buffer is added back to the cached list of process buffers. If a receive buffer is filled and there is no available process buffer to transfer the processed data to or if there are already receive buffers on the cached list of receive buffers, the filled receive buffer is then added to the cached list of receive buffers. When a process buffer is then available, the data within the earliest filled receive buffer on the cached list of receive buffers is processed and transferred to the available process buffer. If the receive buffer is not emptied, the receive buffer is then added back onto the cached list of receive buffers until the next process buffer is available.
  • this predetermined number of buffers is equal to one half of the number of available receive buffers within the system.
  • the receive and process buffers preferably are formed within a continuous memory space within the main memory 30.
  • the receive and process buffers can be formed within any appropriate memory space including the mass storage device 32, the video memory 22 or a dedicated memory device.
  • FIG. 3A Flow diagrams of the steps involved in managing the reception and processing of a continuous stream of data are illustrated in Figures 3A and 3B.
  • the flowchart of Figure 3 A is entered at the step 50 when an application within the computer 10 begins receiving a stream of continuous data from a source, such as the video camera 14 over the IEEE 1394- 1995 serial bus 16.
  • the computer 10 receives the current packet of data from the IEEE 1394-1995 serial bus 16.
  • the computer 10 stores the current captured packet of data in the current receive buffer.
  • the system determines if the current receive buffer is full. If it is determined at the step 56 that the current receive buffer is not full, then the system jumps back to the step 52 to receive the next packet of data and store that packet in the current receive buffer.
  • the system determines, at the step 60, if there are a predetermined number of receive buffers on the cached list of receive buffers.
  • the predetermined number of receive buffers is equal to one half of the total number of available receive buffers.
  • the predetermined number is equal to any appropriate number which allows the system to appropriately receive and process the incoming stream of data. If there are not a number of receive buffers on the cached list of receive buffers equal to the predetermined number, then the system jumps back to the step 52 to receive the next packet of captured data within the continuous stream of data and store it within the next receive buffer.
  • the captured data within the earliest receive buffer is discarded at the step 62, thereby emptying the earliest filled receive buffer on the cached list of receive buffers.
  • the emptied receive buffer is then added to the list of available receive buffers at the step 64. The system then jumps back to the step 52 to receive the next packet of captured data within the continuous stream and store it in the next receive buffer.
  • the steps involved in processing the filled receive buffers are illustrated in the flowchart of Figure 3B.
  • the flowchart of Figure 3B is entered at the step 68.
  • the data within the retrieved receive buffer is then processed.
  • the data within the current receive buffer is processed at the step 74.
  • the data from the receive buffers is processed and put into a form that is readable by the application. This processing also preferably includes stripping the headers from the data packets.
  • the processed data is then stored in the available process buffer at the step 76.
  • the current or retrieved receive buffer is added back to the cached list of receive buffers at the step 80. Otherwise, if it is determined at the step 78 that the current or retrieved receive buffer has been emptied, then the current or retrieved receive buffer is not added to the cached list of receive buffers. The emptied receive buffer is added to the list of available receive buffers at the step 90 for storing additional captured data within the continuous stream of data. It is then determined at the step 92 if the current process buffer has been filled.
  • the current process buffer is added to the cached list of process buffers at the step 94 and the system jumps back to the step 70 to continue filling the current process buffer with data from another receive buffer. Otherwise, if it is determined at the step 92 that the current process buffer has been filled then the current process buffer is provided to the application at the step 96. The computer system 10 then returns to the step 70 until another process buffer is available.
  • FIG. 4 An example of the capturing and processing of data within a continuous stream of data is illustrated in Figure 4.
  • the continuous stream of data is stored within the receive buffers 100, 200, 300, 400 and 500.
  • the data within the filled receive buffer is then processed and stored within an available one of the process buffers A, B, C and D.
  • Captured packets from the continuous stream of data are stored within the current receive buffer 100 until the buffer is full.
  • the captured packets from the continuous stream of data are stored within the next receive buffer 200 within the series of receive buffers.
  • the current receive buffer 100 When the current receive buffer 100 is full, if a process buffer A is available and there are no receive buffers on the cached list of receive buffers, the data within the current receive buffer 100 is processed and transferred to the process buffer A. When the data within the current receive buffer 100 has all been processed and transferred to the process buffer A, then the receive buffer 100 is added back into the series of receive buffers to receive more captured packets of data within the continuous stream of data. When the process buffer A is full, it is then transferred to the application for utilization, such as display or storage, or further processing. If available, the next process buffer B is then retrieved and processed data from filled receive buffers is transferred to the process buffer B.
  • FIG. 5 An example of the capturing of data according to the present invention when process buffers are not available, is illustrated in Figure 5.
  • the continuous stream of data is stored within the receive buffers 300, 400 and 500.
  • the receive buffers 100 and 200 were filled there were no process buffers available. Because there were no process buffers available, the filled receive buffers 100 and 200 were added to the cached list of receive buffers. Because the receive buffers 100 and 200 are on the cached list of receive buffers, when the current receive buffer 300 is filled, it will also be added to the cached list of receive buffers.
  • the process buffer B is available, the data within the earliest receive buffer on the cached list of receive buffers will be processed and transferred to the process buffer B.
  • the earliest buffer on the cached list of receive buffers is the receive buffer 100.
  • the receive buffer 100 is added back into the series of receive buffers to receive more captured packets of data within the continuous stream of data.
  • the process buffer B is full, it is then transferred to the application for use.
  • the data within the next receive buffer 200 on the cached list of receive buffers is then processed and transferred into the available process buffer. If the cached list of receive buffers includes a predetermined number of buffers, then the earliest receive buffer on the cached list of receive buffers is emptied and added back into the series of receive buffers.
  • the predetermined number is equal to one half the number of available receive buffers.
  • the earliest receive buffer on the cached list of receive buffers can be emptied and added back into the series of receive buffers when there are any appropriate number of receive buffers on the cached list of receive buffers. This number of receive buffers on the cached list of receive buffers will depend on the configuration and the number of available receive buffers within the receiving device.
  • the apparatus for and method of capturing and processing continuous media-based data streams transmitted over the IEEE 1394-1995 serial bus manages the use of both the series of the receive buffers and the supply of the process buffers in order to minimize the amount of captured data that is discarded due to unavailable process buffers. Rather than discard captured data from a filled receive buffer when no process buffer is available, the filled receive buffers are cached until process buffers are available or until the receive buffers are needed for additional captured data. Captured data is therefore only discarded when the receive buffer in which the captured data is stored is needed within the series of receive buffers in order to receive additional captured data.
  • the data is captured and stored within a current receive buffer, as described above.
  • the captured data within the receive buffer is then read out, processed and stored within a process buffer, if a process buffer is available and no filled receive buffers are on the cached list of receive buffers.
  • the process buffer is then transferred to an application for utilization or further processing of the processed data. If a receive buffer is filled and there is no process buffer available or if there are already filled receive buffers on the cached list of receive buffers, the filled receive buffer is then added to the cached list of receive buffers for processing after the earlier filled receive buffers on the cached list of received buffers are processed or emptied and a process buffer is available.
  • the data within the earliest filled receive buffer on the cached list of receive buffers is processed and transferred to the available process buffer.
  • the cached list of receive buffers includes a predetermined number of receive buffers, then the data within the earliest filled receive buffer on the cached list of buffers is discarded and the emptied receive buffer is added to the series of available receive buffers to receive the current captured data.

Abstract

A method of and apparatus for capturing and processing continuous media-based data streams transmitted over an IEEE 1394 serial bus (16) manages the use of both receive buffers (100-500) and process buffers (A-D) in order to minimize the amount of captured data that is discarded due to unavailable process buffers. If a receive buffer (300) is filled and no process buffer is available or if there are already filled receive buffers (100, 200) on a cached list of receive buffers, the filled receive buffer (300) is then added to the cached list of receive buffers. When the cached list of receive buffers includes a predetermined number of buffers, the data within the earliest filled receive buffer on the cached list of receive buffers is discarded, thereby emptying the receive buffer. The emptied receive buffer is then added to the series of available receive buffers to receive the current captured data.

Description

SYSTEM FOR CAPTURING AND PROCESSING DATA STREAMS UPON AVAILABILITY OF A PROCESS BUFFER
FIELD OF THE INVENTION:
The present invention relates to the field of transmitting information between devices. More particularly, the present invention relates to the field of capturing and processing data received by a device.
BACKGROUND OF THE INVENTION:
The IEEE 1394-1995 standard, "1394-1995 Standard For A High Performance Serial Bus," is an international standard for implementing an inexpensive high-speed serial bus architecture which supports both asynchronous and isochronous format data transfers. Isochronous data transfers are real-time transfers which take place such that the time intervals between significant instances have the same duration at both the transmitting and receiving applications. Each packet of data transferred isochronously is transferred in its own time period. An example of an ideal application for the transfer of data isochronously would be from a video recorder to a television set. The video recorder records images and sounds and saves the data in discrete chunks or packets. The video recorder then transfers each packet, representing the image and sound recorded over a limited time period, during that time period, for display by the television set. The IEEE 1394-1995 standard bus architecture provides multiple channels for isochronous data transfer between applications. A six bit channel number is broadcast with the data to ensure reception by the appropriate application. This allows multiple applications to concurrently transmit isochronous data across the bus structure. Asynchronous transfers are traditional data transfer operations which take place as soon as possible and transfer an amount of data from a source to a destination.
The IEEE 1394-1995 standard provides a high-speed serial bus for interconnecting digital devices thereby providing a universal I/O connection. The IEEE 1394-1995 standard defines a digital interface for the applications thereby eliminating the need for an application to convert digital data to analog data before it is transmitted across the bus. Correspondingly, a receiving application will receive digital data from the bus, not analog data, and will therefore not be required to convert analog data to digital data. The cable required by the IEEE 1394-1995 standard is very thin in size compared to other bulkier cables used to connect such devices. Devices can be added and removed from an IEEE 1394-1995 bus while the bus is active. If a device is so added or removed the bus will then automatically reconfigure itself for transmitting data between the then existing nodes. A node is considered a logical entity with a unique address on the bus structure. Each node provides an identification ROM, a standardized set of control registers and its own address space. The IEEE 1394-1995 cable environment is a network of nodes connected by point- to-point links, including a port on each node's physical connection and the cable between them. The physical topology for the cable environment of an IEEE 1394-1995 serial bus is a non-cyclic network of multiple ports, with finite branches. The primary restriction on the cable environment is that nodes must be connected together without forming any closed loops.
The IEEE 1394-1995 cables connect ports together on different nodes. Each port includes terminators, transceivers and simple logic. A node can have multiple ports at its physical connection. The cable and ports act as bus repeaters between the nodes to simulate a single logical bus. The cable physical connection at each node includes one or more ports, arbitration logic, a resynchronizer and an encoder. Each of the ports provide the cable media interface into which the cable connector is connected. The arbitration logic provides access to the bus for the node. The resynchronizer takes received data- strobe encoded data bits and generates data bits synchronized to a local clock for use by the applications within the node. The encoder takes either data being transmitted by the node or data received by the resynchronizer, which is addressed to another node, and encodes it in data-strobe format for transmission across the IEEE 1394-1995 serial bus. Using these components, the cable physical connection translates the physical point-to-point topology of the cable environment into a virtual broadcast bus, which is expected by higher layers of the system. This is accomplished by taking all data received on one port of the physical connection, resynchronizing the data to a local clock and repeating the data out of all of the other ports from the physical connection. When a stream of continuous data, such as a digital video stream from a video camera, is received by a device over the IEEE 1394-1995 serial bus, the data is typically captured by the device and stored within a series of receive buffers. As each receive buffer is filled, the data within the receive buffer is then processed and transferred to a process data buffer within a supply of process buffers. The emptied receive buffer is then added back into the series of receive buffers to be used to receive more data within the stream of ' continuous data. After being filled with processed data, the process data buffer is provided to an application, such as a video renderer or a digital video CODEC, to be utilized or further processed by the application. Once utilized or processed by the application, the processed data buffer is added back into the supply of process buffers in order to receive additional processed data within the stream of continuous data.
The process buffers are provided by the application in a non-continuous fashion and from a limited supply. Typically, at some point during the reception of a continuous stream of data, the supply of process buffers will not keep up with the number of receive buffers being filled with captured data. When a receive buffer is filled and no process buffer is available, the captured data within the receive buffer cannot be processed and transferred to a process buffer. The stream of continuous data must still be captured and stored within the receive buffers. Accordingly, when no process buffer is available to receive captured and processed data, the data within the filled receive buffer is typically discarded and the receive buffer is added back into the series of receive buffers in order to store currently captured data within the incoming stream of continuous data. This discarded data is then lost and cannot be retrieved, utilized or processed by the receiving application. In some applications this loss of data will cause discontinuity in the use and display of the processed data.
SUMMARY OF THE INVENTION:
A method of and apparatus for capturing and processing continuous media-based data streams transmitted over an IEEE 1394 serial bus manages the use of both receive buffers and process buffers in order to minimize the amount of captured data that is discarded due to unavailable process buffers. When receiving a stream of continuous data, the data is captured and stored within a current receive buffer. When the current receive buffer is full, the captured data within the receive buffer is then read out, processed and stored within a process buffer, if a process buffer is available on a cached list of process buffers. When full of processed data, the process buffer is then transferred to an application for utilization or further processing of the processed data. If the process buffer is not completely filled, then the process buffer is added back to the cached list of process buffers. If a receive buffer is filled and no process buffer is available or if there are already filled receive buffers on a cached list of receive buffers, the filled receive buffer is then added to the cached list of receive buffers. When a process buffer is then available, the data within the earliest filled receive buffer on the cached list of receive buffers is processed and transferred to the available process buffer. If the receive buffer is not emptied, the receive buffer is then put back on the cached list of receive buffers. When the cached list of receive buffers includes a predetermined number of buffers, the data within the earliest filled receive buffer on the cached list of receive buffers is discarded, thereby emptying the receive buffer. The emptied receive buffer is then added to the series of available receive buffers to receive the current captured data.
In one aspect of the present invention, a method of processing captured data includes the steps of receiving a receive buffer filled with captured data, adding the receive buffer to a cached list of receive buffers if there are previously filled buffers on the cached list of receive buffers, adding the receive buffer to the cached list of receive buffers if no process buffer is available and processing the captured data within the receive buffer if the process buffer is available and there are no previously filled buffers on the cached list of receive buffers. The method further includes the step of processing data within an earliest filled receive buffer on the cached list of receive buffers if the process buffer is available and there are previously filled buffers on the cached list of receive buffers. The method further includes the step of storing processed data within the process buffer. The method further includes the step of providing a filled process buffer to an application. The method further includes the step of emptying the earliest filled receive buffer on the cached list of receive buffers if the cached list of receive buffers includes a predetermined number of buffers. Preferably, the predetermined number of buffers is equal to one half a number of available receive buffers. The captured data is preferably captured from an IEEE 1394-
1995 serial bus. The method further includes the step of adding an available process buffer to a cached list of process buffers if no receive buffers are filled when the available process buffer becomes available.
In another aspect of the present invention, a method of receiving and processing captured data includes the steps of storing captured data within a receive buffer, thereby forming a filled receive buffer, adding the filled receive buffer to a cached list of receive buffers if there are previously filled buffers on the cached list of receive buffers, adding the filled receive buffer to the cached list of receive buffers if no process buffer is available and processing the captured data within the filled receive buffer if the process buffer is available and there are no previously filled buffers on the cached list of receive buffers. The method further includes the step of processing data within an earliest filled receive buffer on the cached list of receive buffers if the process buffer is available and there are previously filled buffers on the cached list of receive buffers. The method further includes the step of storing processed data within the process buffer. The method further includes the step of providing a filled process buffer to an application. The method further includes the step of emptying the earliest filled receive buffer on the cached list of receive buffers if the cached list of receive buffers includes a predetermined number of buffers. Preferably, the captured data is captured from an IEEE 1394 serial bus. The predetermined number of buffers is preferably equal to one half a number of available receive buffers. The method further includes the step of adding an available process buffer to a cached list of process buffers if no receive buffers are filled when the available process buffer becomes available.
In still another aspect of the present invention, an apparatus for receiving and processing captured data includes a receiving circuit for receiving captured data, a plurality of receive buffers for storing captured data, a plurality of process buffers for storing processed data and providing the processed data to an application, a processing apparatus for processing captured data thereby forming the processed data and storing the processed data within the process buffers and a cached list of receive buffers, wherein a filled receive buffer is added to the cached list of receive buffers if no process buffers are available when the filled receive buffer is filled and further wherein a filled received buffer is added to the cached list of receive buffers if there are previously filled receive buffers on the cached list of receive buffers when the filled receive buffer is filled. Within the apparatus, data within an earliest filled receive buffer on the cached list of receive buffers is processed first and stored within an available process buffer, if there are previously filled buffers on the cached list of receive buffers. An earliest filled receive buffer on the cached list of receive buffers is emptied, if the cached list of receive buffers includes a predetermined number of buffers. The receiving circuit includes an interface circuit configured for coupling to an IEEE 1394 serial bus structure to receive the captured data. The apparatus further includes a cached list of process buffers, wherein an available process buffer is added to the cached list of process buffers if no receive buffers are filled when the available process buffer becomes available.
In another aspect of the present invention, a method of transmitting a continuous stream of data, including a plurality of packets of data, from a transmitting node to a receiving node over an IEEE 1394 serial bus structure, includes the steps of receiving the packets of data at the receiving node, thereby forming captured data, storing the captured data within a receive buffer, thereby forming a filled receive buffer, adding the filled receive buffer to a cached list of receive buffers if there are previously filled buffers on the cached list of receive buffers, adding the filled receive buffer to the cached list of receive buffers if no process buffer is available, processing the captured data within the filled receive buffer if the process buffer is available and there are no previously filled buffers on the cached list of receive buffers and emptying an earliest filled buffer on the cached list of receive buffers if the cached list of receive buffers includes a predetermined number of buffers. The method further includes the step of processing data within the earliest filled receive buffer on the cached list of receive buffers if the process buffer is available and there are previously filled buffers on the cached list of receive buffers. The method further includes the step of storing processed data within the process buffer. The method further includes the step of providing a filled process buffer to an application. Preferably, the predetermined number of buffers is equal to one half a number of available receive buffers.
The captured data is preferably captured from an IEEE 1394 serial bus. The method further includes the step of adding an available process buffer to a cached list of process buffers if no receive buffers are filled when the available process buffer becomes available. In another aspect of the present invention, a network of devices includes a transmitting device for transmitting packets of data, a bus structure coupled to the transmitting device, wherein the packets of data are transmitted over the bus structure and a receiving device coupled to the bus structure to receive the packets of data, the receiving device including a receiving circuit for receiving the packets of data, a plurality of receive buffers for storing captured data, a plurality of process buffers for storing processed data and providing the processed data to an application, a processing apparatus for processing captured data thereby forming the processed data and storing the processed data within the processed buffers and a cached list of receive buffers, wherein a filled receive buffer is added to the cached list of receive buffers if no process buffers are available when the filled receive buffer is filled and further wherein a filled receive buffer is added to the cached list of receive buffers if there are previously filled receive buffers on the cached list of receive buffers when the filled receive buffer is filled. Within the network of devices data within an earliest filled receive buffer on the cached list of receive buffers is processed first and stored within an available process buffer, if there are previously filled buffers on the cached list of receive buffers. An earliest filled receive buffer on the cached list of receive buffers is emptied, if the cached list of receive buffers includes a predetermined number of buffers. Preferably, the bus structure is an IEEE 1394 serial bus structure. The network of devices further includes a cached list of process buffers, wherein an available process buffer is added to the cached list of process buffers if no receive buffers are filled when the available process buffer becomes available.
BRIEF DESCRIPTION OF THE DRAWINGS:
Figure 1 illustrates a block diagram of an IEEE 1394-1995 serial bus network including a computer system and a video camera.
Figure 2 illustrates a block diagram of the internal components of the computer system 10. Figures 3 A and 3B illustrate flow diagrams of the steps involved in managing the reception and processing of a continuous stream of data.
Figure 4 illustrates an example of the capturing and processing of data within a continuous stream of data.
Figure 5 illustrates an example of the capturing and processing of data using a cached list of filled receive buffers, according to the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT:
A block diagram of an exemplary IEEE 1394-1995 serial bus network including a computer system and a video camera is illustrated in Figure 1. The computer system 10 includes an associated display 12 and is coupled to the video camera 14 by the IEEE 1394- 1995 serial bus cable 16. Video data and associated data are sent between the video camera 14 and the computer 10 over the IEEE 1394-1995 serial bus cable 16.
A block diagram of the internal components of the computer system 10 is illustrated in Figure 2. The computer system 10 includes a central processor unit (CPU) 20, a main memory 30, a video memory 22, a mass storage device 32 and an IEEE 1394-1995 interface circuit 28, all coupled together by a conventional bidirectional system bus 34.
The interface circuit 28 includes the physical interface circuit 42 for sending and receiving communications on the IEEE 1394-1995 serial bus. The physical interface circuit 42 is coupled to the camera 14 over the IEEE 1394-1995 serial bus cable 16. In the preferred embodiment of the present invention, the interface circuit 28 is implemented on an IEEE 1394-1995 interface card within the computer system 10. However, it should be apparent to those skilled in the art that the interface circuit 28 can be implemented within the computer system 10 in any other appropriate manner, including building the interface circuit onto the motherboard itself. The mass storage device 32 may include both fixed and removable media using any one or more of magnetic, optical or magneto-optical storage technology or any other available mass storage technology. The system bus 34 contains an address bus for addressing any portion of the memory 22 and 30. The system bus 34 also includes a data bus for transferring data between and among the CPU 20, the main memory 30, the video memory 22, the mass storage device 32 and the interface circuit 28. The computer system 10 is also coupled to a number of peripheral input and output devices including the keyboard 38, the mouse 40 and the associated display 12. The keyboard 38 is coupled to the CPU 20 for allowing a user to input data and control commands into the computer system 10. A conventional mouse 40 is coupled to the keyboard 38 for manipulating graphic images on the display 12 as a cursor control device. A port of the video memory 22 is coupled to a video multiplex and shifter circuit
24, which in turn is coupled to a video amplifier 26. The video amplifier 26 drives the display 12. The video multiplex and shifter circuitry 24 and the video amplifier 26 convert pixel data stored in the video memory 22 to raster signals suitable for use by the display 12.
When receiving a stream of continuous data, an apparatus according to the present invention manages the use of both receive buffers within the series of receive buffers and process buffers within the supply of process buffers to maximize the amount of captured data that is processed and transferred to the application and minimize the amount of captured data that is discarded due to unavailable process buffers. When receiving a stream of continuous data, the data is captured and stored within a current receive buffer, as described above. When the current receive buffer is full, the captured data within the receive buffer is then read out, processed and stored within a process buffer, if one is available on a cached list of process buffers and there are no filled receive buffers on the cached list of receive buffers. When full, the process buffer is then transferred to an application for utilization or further processing. If the process buffer is not completely filled, then the process buffer is added back to the cached list of process buffers. If a receive buffer is filled and there is no available process buffer to transfer the processed data to or if there are already receive buffers on the cached list of receive buffers, the filled receive buffer is then added to the cached list of receive buffers. When a process buffer is then available, the data within the earliest filled receive buffer on the cached list of receive buffers is processed and transferred to the available process buffer. If the receive buffer is not emptied, the receive buffer is then added back onto the cached list of receive buffers until the next process buffer is available. When the cached list of receive buffers includes a predetermined number of buffers, then the data within the earliest filled receive buffer on the cached list of receive buffers is discarded and the emptied receive buffer is made available to receive the current captured data. Preferably, this predetermined number of buffers is equal to one half of the number of available receive buffers within the system.
The receive and process buffers preferably are formed within a continuous memory space within the main memory 30. Alternatively, the receive and process buffers can be formed within any appropriate memory space including the mass storage device 32, the video memory 22 or a dedicated memory device.
Flow diagrams of the steps involved in managing the reception and processing of a continuous stream of data are illustrated in Figures 3A and 3B. The flowchart of Figure 3 A is entered at the step 50 when an application within the computer 10 begins receiving a stream of continuous data from a source, such as the video camera 14 over the IEEE 1394- 1995 serial bus 16. At the step 52, the computer 10 receives the current packet of data from the IEEE 1394-1995 serial bus 16. At the step 54, the computer 10 stores the current captured packet of data in the current receive buffer. At the step 56, the system determines if the current receive buffer is full. If it is determined at the step 56 that the current receive buffer is not full, then the system jumps back to the step 52 to receive the next packet of data and store that packet in the current receive buffer. When it is determined at the step 56 that the current receive buffer is full, then the next receive buffer is retrieved at the step 58. The system then determines, at the step 60, if there are a predetermined number of receive buffers on the cached list of receive buffers. Preferably, the predetermined number of receive buffers is equal to one half of the total number of available receive buffers. Alternatively, the predetermined number is equal to any appropriate number which allows the system to appropriately receive and process the incoming stream of data. If there are not a number of receive buffers on the cached list of receive buffers equal to the predetermined number, then the system jumps back to the step 52 to receive the next packet of captured data within the continuous stream of data and store it within the next receive buffer. If there are a number of receive buffers on the cached list of receive buffers equal to the predetermined number, then the captured data within the earliest receive buffer is discarded at the step 62, thereby emptying the earliest filled receive buffer on the cached list of receive buffers. The emptied receive buffer is then added to the list of available receive buffers at the step 64. The system then jumps back to the step 52 to receive the next packet of captured data within the continuous stream and store it in the next receive buffer.
The steps involved in processing the filled receive buffers are illustrated in the flowchart of Figure 3B. The flowchart of Figure 3B is entered at the step 68. At the step 70, it is determined if there is a process buffer available in which to store data processed from a receive buffer. When a process buffer is available, it is determined at the step 72 if there are any buffers on the cached list of receive buffers. If there are buffers on the cached list of receive buffers, then the current receive buffer is added to the bottom of the cached list at the step 84. The earliest or top receive buffer on the cached list of receive buffers is then retrieved for processing at the step 86. At the step 88, the data within the retrieved receive buffer is then processed. If it is determined at the step 72 that there are not any buffers on the cached list of receive buffers, then the data within the current receive buffer is processed at the step 74. As will be apparent to those skilled in the art, there are many well known methods of processing the captured data for the application. Preferably, during the processing steps the data from the receive buffers is processed and put into a form that is readable by the application. This processing also preferably includes stripping the headers from the data packets. After the current receive buffer is processed at the step 74 or the retrieved receive buffer is processed at the step 88, depending on whether or not there are buffers on the cached list of receive buffers, the processed data is then stored in the available process buffer at the step 76. If the current or retrieved receive buffer has not been emptied, then the current or retrieved receive buffer is added back to the cached list of receive buffers at the step 80. Otherwise, if it is determined at the step 78 that the current or retrieved receive buffer has been emptied, then the current or retrieved receive buffer is not added to the cached list of receive buffers. The emptied receive buffer is added to the list of available receive buffers at the step 90 for storing additional captured data within the continuous stream of data. It is then determined at the step 92 if the current process buffer has been filled. If the current process buffer has not been filled, then the current process buffer is added to the cached list of process buffers at the step 94 and the system jumps back to the step 70 to continue filling the current process buffer with data from another receive buffer. Otherwise, if it is determined at the step 92 that the current process buffer has been filled then the current process buffer is provided to the application at the step 96. The computer system 10 then returns to the step 70 until another process buffer is available.
An example of the capturing and processing of data within a continuous stream of data is illustrated in Figure 4. The continuous stream of data is stored within the receive buffers 100, 200, 300, 400 and 500. When a receive buffer is full, the data within the filled receive buffer is then processed and stored within an available one of the process buffers A, B, C and D. Captured packets from the continuous stream of data are stored within the current receive buffer 100 until the buffer is full. When the current receive buffer 100 is full, the captured packets from the continuous stream of data are stored within the next receive buffer 200 within the series of receive buffers. When the current receive buffer 100 is full, if a process buffer A is available and there are no receive buffers on the cached list of receive buffers, the data within the current receive buffer 100 is processed and transferred to the process buffer A. When the data within the current receive buffer 100 has all been processed and transferred to the process buffer A, then the receive buffer 100 is added back into the series of receive buffers to receive more captured packets of data within the continuous stream of data. When the process buffer A is full, it is then transferred to the application for utilization, such as display or storage, or further processing. If available, the next process buffer B is then retrieved and processed data from filled receive buffers is transferred to the process buffer B.
An example of the capturing of data according to the present invention when process buffers are not available, is illustrated in Figure 5. The continuous stream of data is stored within the receive buffers 300, 400 and 500. In this example, when the receive buffers 100 and 200 were filled there were no process buffers available. Because there were no process buffers available, the filled receive buffers 100 and 200 were added to the cached list of receive buffers. Because the receive buffers 100 and 200 are on the cached list of receive buffers, when the current receive buffer 300 is filled, it will also be added to the cached list of receive buffers. When the process buffer B is available, the data within the earliest receive buffer on the cached list of receive buffers will be processed and transferred to the process buffer B. In this example, the earliest buffer on the cached list of receive buffers is the receive buffer 100. When the data within the receive buffer 100 has all been processed and transferred to the process buffer B, then the receive buffer 100 is added back into the series of receive buffers to receive more captured packets of data within the continuous stream of data. When the process buffer B is full, it is then transferred to the application for use. When another process buffer is available, the data within the next receive buffer 200 on the cached list of receive buffers is then processed and transferred into the available process buffer. If the cached list of receive buffers includes a predetermined number of buffers, then the earliest receive buffer on the cached list of receive buffers is emptied and added back into the series of receive buffers. Preferably, the predetermined number is equal to one half the number of available receive buffers. As should be apparent to those skilled in the art, alternatively the earliest receive buffer on the cached list of receive buffers can be emptied and added back into the series of receive buffers when there are any appropriate number of receive buffers on the cached list of receive buffers. This number of receive buffers on the cached list of receive buffers will depend on the configuration and the number of available receive buffers within the receiving device.
The apparatus for and method of capturing and processing continuous media-based data streams transmitted over the IEEE 1394-1995 serial bus manages the use of both the series of the receive buffers and the supply of the process buffers in order to minimize the amount of captured data that is discarded due to unavailable process buffers. Rather than discard captured data from a filled receive buffer when no process buffer is available, the filled receive buffers are cached until process buffers are available or until the receive buffers are needed for additional captured data. Captured data is therefore only discarded when the receive buffer in which the captured data is stored is needed within the series of receive buffers in order to receive additional captured data.
When receiving a stream of continuous data, the data is captured and stored within a current receive buffer, as described above. When the current receive buffer is full, the captured data within the receive buffer is then read out, processed and stored within a process buffer, if a process buffer is available and no filled receive buffers are on the cached list of receive buffers. When full of processed data, the process buffer is then transferred to an application for utilization or further processing of the processed data. If a receive buffer is filled and there is no process buffer available or if there are already filled receive buffers on the cached list of receive buffers, the filled receive buffer is then added to the cached list of receive buffers for processing after the earlier filled receive buffers on the cached list of received buffers are processed or emptied and a process buffer is available. When a process buffer is then available, the data within the earliest filled receive buffer on the cached list of receive buffers is processed and transferred to the available process buffer. When the cached list of receive buffers includes a predetermined number of receive buffers, then the data within the earliest filled receive buffer on the cached list of buffers is discarded and the emptied receive buffer is added to the series of available receive buffers to receive the current captured data.
The present invention has been described in terms of specific embodiments incorporating details to facilitate the understanding of the principles of construction and operation of the invention. Such reference herein to specific embodiments and details thereof is not intended to limit the scope of the claims appended hereto. It will be apparent to those skilled in the art that modifications may be made in the embodiment chosen for illustration without departing from the spirit and scope of the invention. Specifically, it will be apparent to those skilled in the art that while the preferred embodiment of the present invention is used to capture and process data received over an IEEE 1394-1995 serial bus structure, the present invention could also be used to capture and process data received over any other appropriate bus structures. It will also be apparent to those skilled in the art that while the preferred embodiment of the present invention has been described as being implemented within a computer system, the present invention can be utilized within any device receiving a stream of data.

Claims

C L A I M S We Claim:
1. A method of processing captured data comprising the steps of: a. receiving a receive buffer filled with captured data; b. adding the receive buffer to a cached list of receive buffers if there are previously filled buffers on the cached list of receive buffers; c. adding the receive buffer to the cached list of receive buffers if no process buffer is available; and d. processing the captured data within the receive buffer if the process buffer is available and there are no previously filled buffers on the cached list of receive buffers.
2. The method as claimed in claim 1 further comprising the step of processing data within an earliest filled receive buffer on the cached list of receive buffers if the process buffer is available and there are previously filled buffers on the cached list of receive buffers.
3. The method as claimed in claim 2 further comprising the step of storing processed data within the process buffer.
4. The method as claimed in claim 3 further comprising the step of providing a filled process buffer to an application.
5. The method as claimed in claim 4 further comprising the step of emptying the earliest filled receive buffer on the cached list of receive buffers if the cached list of receive buffers includes a predetermined number of buffers.
6. The method as claimed in claim 5 wherein the predetermined number of buffers is equal to one half a number of available receive buffers.
7. The method as claimed in claim 6 wherein the captured data is captured from an IEEE 1394-1995 serial bus.
8. The method as claimed in claim 5 further comprising the step of adding an available process buffer to a cached list of process buffers if no receive buffers are filled when the available process buffer becomes available.
9. A method of receiving and processing captured data comprising the steps of: a. storing captured data within a receive buffer, thereby forming a filled receive buffer; b. adding the filled receive buffer to a cached list of receive buffers if there are previously filled buffers on the cached list of receive buffers; c. adding the filled receive buffer to the cached list of receive buffers if no process buffer is available; and d. processing the captured data within the filled receive buffer if the process buffer is available and there are no previously filled buffers on the cached list of receive buffers.
10. The method as claimed in claim 9 further comprising the step of processing data within an earliest filled receive buffer on the cached list of receive buffers if the process buffer is available and there are previously filled buffers on the cached list of receive buffers.
11. The method as claimed in claim 10 further comprising the step of storing processed data within the process buffer.
12. The method as claimed in claim 11 further comprising the step of providing a filled process buffer to an application.
13. The method as claimed in claim 12 further comprising the step of emptying the earliest filled receive buffer on the cached list of receive buffers if the cached list of receive buffers includes a predetermined number of buffers.
14. The method as claimed in claim 13 wherein the captured data is captured from an IEEE 1394 serial bus.
15. The method as claimed in claim 14 wherein the predetermined number of buffers is equal to one half a number of available receive buffers.
16. The method as claimed in claim 13 further comprising the step of adding an available process buffer to a cached list of process buffers if no receive buffers are filled when the available process buffer becomes available.
1 .7. An apparatus for receiving and processing captured data comprising: a. a receiving circuit for receiving captured data; b. a plurality of receive buffers for storing captured data; c. a plurality of process buffers for storing processed data and providing the processed data to an application; d. a processing apparatus for processing captured data thereby forming the processed data and storing the processed data within the process buffers; and e. a cached list of receive buffers, wherein a filled receive buffer is added to the cached list of receive buffers if no process buffers are available when the filled receive buffer is filled and further wherein a filled received buffer is added to the cached list of receive buffers if there are previously filled receive buffers on the cached list of receive buffers when the filled receive buffer is filled.
18. The apparatus as claimed in claim 17 wherein data within an earliest filled receive buffer on the cached list of receive buffers is processed first and stored within an available process buffer, if there are previously filled buffers on the cached list of receive buffers.
19. The apparatus as claimed in claim 18 wherein an earliest filled receive buffer on the cached list of receive buffers is emptied, if the cached list of receive buffers includes a predetermined number of buffers.
20. The apparatus as claimed in claim 19 wherein the receiving circuit includes an interface circuit configured for coupling to an IEEE 1394 serial bus structure to receive the captured data.
21. The apparatus as claimed in claim 20 further comprising a cached list of process buffers, wherein an available process buffer is added to the cached list of process buffers if no receive buffers are filled when the available process buffer becomes available.
22. A method of transmitting a continuous stream of data, including a plurality of packets of data, from a transmitting node to a receiving node over an IEEE 1394 serial bus structure, comprising the steps of: a. receiving the packets of data at the receiving node, thereby forming captured data; b. storing the captured data within a receive buffer, thereby forming a filled receive buffer; c. adding the filled receive buffer to a cached list of receive buffers if there are previously filled buffers on the cached list of receive buffers; d. adding the filled receive buffer to the cached list of receive buffers if no process buffer is available; e. processing the captured data within the filled receive buffer if the process buffer is available and there are no previously filled buffers on the cached list of receive buffers; and f. emptying an earliest filled buffer on the cached list of receive buffers if the cached list of receive buffers includes a predetermined number of buffers.
23. The method as claimed in claim 22 further comprising the step of processing data within the earliest filled receive buffer on the cached list of receive buffers if the process buffer is available and there are previously filled buffers on the cached list of receive buffers.
24. The method as claimed in claim 23 further comprising the step of storing processed data within the process buffer.
25. The method as claimed in claim 24 further comprising the step of providing a filled process buffer to an application.
26. The method as claimed in claim 25 wherein the predetermined number of buffers is equal to one half a number of available receive buffers.
27. The method as claimed in claim 25 wherein the captured data is captured from an IEEE 1394 serial bus.
28. The method as claimed in claim 25 further comprising the step of adding an available process buffer to a cached list of process buffers if no receive buffers are filled when the available process buffer becomes available.
29. A network of devices comprising: a. a transmitting device for transmitting packets of data; b. a bus structure coupled to the transmitting device, wherein the packets of data are transmitted over the bus structure; and c. a receiving device coupled to the bus structure to receive the packets of data, the receiving device including: i. a receiving circuit for receiving the packets of data; ii. a plurality of receive buffers for storing captured data; iii. a plurality of process buffers for storing processed data and providing the processed data to an application; iv. a processing apparatus for processing captured data thereby forming the processed data and storing the processed data within the processed buffers; and v. a cached list of receive buffers, wherein a filled receive buffer is added to the cached list of receive buffers if no process buffers are available when the filled receive buffer is filled and further wherein a filled receive buffer is added to the cached list of receive buffers if there are previously filled receive buffers on the cached list of receive buffers when the filled receive buffer is filled.
30. The network of devices as claimed in claim 29 wherein data within an earliest filled receive buffer on the cached list of receive buffers is processed first and stored within an available process buffer, if there are previously filled buffers on the cached list of receive buffers.
31. The network of devices as claimed in claim 29 wherein an earliest filled receive buffer on the cached list of receive buffers is emptied, if the cached list of receive buffers includes a predetermined number of buffers.
32. The network of devices as claimed in claim 29 wherein the bus structure is an IEEE 1394 serial bus structure.
33. The network of devices as claimed in claim 29 further comprising a cached list of process buffers, wherein an available process buffer is added to the cached list of process buffers if no receive buffers are filled when the available process buffer becomes available.
PCT/US1999/020931 1998-09-17 1999-09-13 System for capturing and processing data streams upon availability of a process buffer WO2000016204A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU59194/99A AU5919499A (en) 1998-09-17 1999-09-13 System for capturing and processing data streams upon availability of a process buffer

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US09/156,533 1998-09-17
US09/156,533 US6516361B2 (en) 1998-09-17 1998-09-17 Method of and apparatus for capturing and processing continuous media-based data streams transmitted over an IEEE 1394 serial bus

Publications (1)

Publication Number Publication Date
WO2000016204A1 true WO2000016204A1 (en) 2000-03-23

Family

ID=22559959

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US1999/020931 WO2000016204A1 (en) 1998-09-17 1999-09-13 System for capturing and processing data streams upon availability of a process buffer

Country Status (2)

Country Link
US (1) US6516361B2 (en)
WO (1) WO2000016204A1 (en)

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030072365A1 (en) * 2001-03-01 2003-04-17 Nagase & Co., Ltd MPEG conversion system for converting digital video signals, MPEG conversion apparatus and recording medium memorizing a software of the MPEG conversion system
US6813690B1 (en) * 2001-06-12 2004-11-02 Network Appliance, Inc. Caching media data using content-sensitive identifiers
US7945688B1 (en) 2001-06-12 2011-05-17 Netapp, Inc. Methods and apparatus for reducing streaming media data traffic bursts
US7076560B1 (en) 2001-06-12 2006-07-11 Network Appliance, Inc. Methods and apparatus for storing and serving streaming media data
US7155531B1 (en) * 2001-06-12 2006-12-26 Network Appliance Inc. Storage methods and apparatus for streaming media data
US7054911B1 (en) 2001-06-12 2006-05-30 Network Appliance, Inc. Streaming media bitrate switching methods and apparatus
US6742082B1 (en) * 2001-06-12 2004-05-25 Network Appliance Pre-computing streaming media payload method and apparatus
US7412531B1 (en) 2002-01-29 2008-08-12 Blue Coat Systems, Inc. Live stream archiving method and apparatus
US7386627B1 (en) 2002-01-29 2008-06-10 Network Appliance, Inc. Methods and apparatus for precomputing checksums for streaming media
US7657644B1 (en) 2002-05-10 2010-02-02 Netapp, Inc. Methods and apparatus for streaming media multicast
US7120751B1 (en) 2002-08-09 2006-10-10 Networks Appliance, Inc. Dynamic streaming buffer cache algorithm selection
US7991905B1 (en) 2003-02-12 2011-08-02 Netapp, Inc. Adaptively selecting timeouts for streaming media
US20050050135A1 (en) * 2003-08-25 2005-03-03 Josef Hallermeier Handheld digital multimedia workstation and method
US7610495B2 (en) * 2003-11-25 2009-10-27 Agere Systems Inc. Method and apparatus for power management using transmission mode with reduced power
US7000048B2 (en) * 2003-12-18 2006-02-14 Intel Corporation Apparatus and method for parallel processing of network data on a single processing thread
US7752325B1 (en) 2004-10-26 2010-07-06 Netapp, Inc. Method and apparatus to efficiently transmit streaming media
KR100617831B1 (en) * 2005-02-18 2006-08-28 삼성전자주식회사 Channel Selection Method for Receiving Stream in IEEE 1394 Network
US7496678B2 (en) * 2005-05-11 2009-02-24 Netapp, Inc. Method and system for unified caching of media content
CN1916866A (en) * 2005-08-18 2007-02-21 鸿富锦精密工业(深圳)有限公司 Bus monitoring system and method for audio video systems
CN100517279C (en) * 2005-12-01 2009-07-22 鸿富锦精密工业(深圳)有限公司 Data fatching apparatus and method
US20070214457A1 (en) * 2006-03-10 2007-09-13 Prabhakar Goyal System and method for automated recovery of data in a batch processing system
US7904435B2 (en) * 2006-03-10 2011-03-08 Yahoo! Inc. System and method for resource lock acquisition and reclamation in a network file system environment
US20070214142A1 (en) * 2006-03-10 2007-09-13 Prabhakar Goyal System and method for providing transaction support across a plurality of data structures

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5161215A (en) * 1986-06-02 1992-11-03 Hitachi, Ltd. Method for controlling data transfer buffer
US5426639A (en) * 1991-11-29 1995-06-20 At&T Corp. Multiple virtual FIFO arrangement
US5629936A (en) * 1994-08-01 1997-05-13 University Of Iowa Research Foundation Inc. Control of consecutive packet loss in a packet buffer
US5682553A (en) * 1995-04-14 1997-10-28 Mitsubishi Electric Information Technology Center America, Inc. Host computer and network interface using a two-dimensional per-application list of application level free buffers

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4998245A (en) 1987-12-17 1991-03-05 Matsushita Electric Industrial Co., Ltd. Information transmission system having collective data transmission and collection devices
JP3158370B2 (en) 1991-07-12 2001-04-23 ソニー株式会社 Disc data playback device
US5509126A (en) 1993-03-16 1996-04-16 Apple Computer, Inc. Method and apparatus for a dynamic, multi-speed bus architecture having a scalable interface
US5481543A (en) 1993-03-16 1996-01-02 Sony Corporation Rational input buffer arrangements for auxiliary information in video and audio signal processing systems
DE4323405A1 (en) 1993-07-13 1995-01-19 Sel Alcatel Ag Access control method for a buffer memory and device for buffering data packets and switching center with such a device
US5444709A (en) 1993-09-30 1995-08-22 Apple Computer, Inc. Protocol for transporting real time data
US5508940A (en) 1994-02-14 1996-04-16 Sony Corporation Of Japan And Sony Electronics, Inc. Random access audio/video processor with multiple outputs
US5535137A (en) 1994-02-14 1996-07-09 Sony Corporation Of Japan Random access audio/video processor with compressed video resampling to allow higher bandwidth throughput
JP3203978B2 (en) 1994-07-25 2001-09-04 ソニー株式会社 Data transmitting / receiving device, data receiving device, and data transmitting device
US5687316A (en) 1994-07-29 1997-11-11 International Business Machines Corporation Communication apparatus and methods having P-MAC, I-MAC engines and buffer bypass for simultaneously transmitting multimedia and packet data
US5661848A (en) 1994-09-08 1997-08-26 Western Digital Corp Multi-drive controller with encoder circuitry that generates ECC check bytes using the finite field for optical data for appending to data flowing to HDA
JP3371174B2 (en) 1994-09-22 2003-01-27 ソニー株式会社 Packet receiver
US5519701A (en) 1995-03-29 1996-05-21 International Business Machines Corporation Architecture for high performance management of multiple circular FIFO storage means
US5815678A (en) 1995-07-14 1998-09-29 Adaptec, Inc. Method and apparatus for implementing an application programming interface for a communications bus
US5933430A (en) 1995-08-12 1999-08-03 Sony Corporation Data communication method
JP3687188B2 (en) 1996-04-05 2005-08-24 ソニー株式会社 Packet transmission method
US5859835A (en) 1996-04-15 1999-01-12 The Regents Of The University Of California Traffic scheduling system and method for packet-switched networks
US5832245A (en) 1996-10-21 1998-11-03 Advanced Micro Devices, Inc. Method for isochronous flow control across an inter-chip bus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5161215A (en) * 1986-06-02 1992-11-03 Hitachi, Ltd. Method for controlling data transfer buffer
US5426639A (en) * 1991-11-29 1995-06-20 At&T Corp. Multiple virtual FIFO arrangement
US5629936A (en) * 1994-08-01 1997-05-13 University Of Iowa Research Foundation Inc. Control of consecutive packet loss in a packet buffer
US5682553A (en) * 1995-04-14 1997-10-28 Mitsubishi Electric Information Technology Center America, Inc. Host computer and network interface using a two-dimensional per-application list of application level free buffers

Also Published As

Publication number Publication date
US6516361B2 (en) 2003-02-04
US20010011310A1 (en) 2001-08-02

Similar Documents

Publication Publication Date Title
US6516361B2 (en) Method of and apparatus for capturing and processing continuous media-based data streams transmitted over an IEEE 1394 serial bus
US8094678B2 (en) Method of and apparatus for providing reserved bandwidth to ethernet devices over switched ethernet including a home network wall plate having a combined IEEE 1394 and ethernet modified HUB
US7561576B2 (en) Apparatus for and method of predictive time stamping of isochronous data packets transmitted over an IEEE 1394-1995 serial bus network
US8379654B2 (en) Method of and apparatus for providing isochronous services over switched ethernet including a home network wall plate having a combined IEEE 1394 and ethernet modified hub
CA2247341C (en) Asynchronous data pipe for automatically managing asynchronous data transfers between an application and a bus structure
US5905882A (en) Electronic-equipment control apparatus, electronic-equipment control method and electronic-equipment control system
EP1088448B1 (en) A method of and apparatus for partitioning, scaling and displaying video and/or graphics across several display devices
EP0812110B1 (en) A method for the sequential transmission of compressed video information at varying data rates
US6363428B1 (en) Apparatus for and method of separating header information from data in an IEEE 1394-1995 serial bus network
EP0939529B1 (en) Destination node, data communication system, method of controlling a destination node and method of operating a data communication system
US20050146611A1 (en) Method of and apparatus for generating a precise frame rate in digital video transmission from a computer system to a digital video device
US6904475B1 (en) Programmable first-in first-out (FIFO) memory buffer for concurrent data stream handling
US6041286A (en) Apparatus for and method of accurately obtaining the cycle time of completion of transmission of video frames within an isochronous stream of data transmitted over an IEEE 1394 serial bus network
JPH10229410A (en) Data processor, electronic device, and communication system
KR100311707B1 (en) Data communication system, data communication method, data communication apparatus, and digital interface
JP2003501892A (en) Apparatus and method for context switching in an electronic network
KR20010033660A (en) Data transfer controller and electronic device
JPH11355319A (en) Data communication system, method and device and digital interface

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AL AM AT AU AZ BA BB BG BR BY CA CH CN CU CZ DE DK EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT UA UG UZ VN YU ZA ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW SD SL SZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

122 Ep: pct application non-entry in european phase