×

Data transfer system between a computer and a host adapter using multiple arrays

  • US 5,319,754 A
  • Filed: 10/03/1991
  • Issued: 06/07/1994
  • Est. Priority Date: 10/03/1991
  • Status: Expired due to Term
First Claim
Patent Images

1. A data transferring system for transferring data between a host computer and a plurality of TTY devices, comprising:

  • the host computer comprising;

    a system bus,memory coupled to said system bus for storing data, wherein said memory includes;

    a data buffer comprising an array of data groups, wherein each said data group comprises a list of data bytes sent from said one of said plurality of TTY devices, or to be sent to said TTY device,a contents array comprising a list of pointers followed by a null value, said null value for terminating said contents array, wherein each said pointer compresses a device identification handle identifying one of the plurality of TTY devices, and a count, wherein each consecutive pointer corresponds to each consecutive data group in said data buffer, and wherein said count determines the number of consecutive data bytes contained in said data group,a receive array comprising a list of input data buffer sizes, each said input data buffer size comprising a device identification handle identifying one of said plurality of TTY devices, and a count representing the maximum number of data bytes said host computer can receive from said TTY device, anda transmit array comprising a list of output data buffer sizes, each said output data buffer size comprising a device identification handle identifying one of said plurality of TTY devices, and a count representing the maximum number of data bytes said TTY device can receive from said host computer; and

    a host adapter coupled to the plurality of TTY devices, said host adapter comprising;

    a system bus coupled to said host computer system bus,memory coupled to said host adapter system bus and said plurality of TTY devices, for storing data, including;

    a contents array corresponding to said host computer contents array, a transmit array corresponding to said host adapter and a receive array corresponding to said host computer receive array, anda plurality of device input buffers, each said device input buffer for accumulating data from a corresponding one of said plurality of TTY devices, anda plurality of device output buffers, each said device output buffer for accumulating data from said host computer to be sent to a corresponding one of said plurality of TYY devices; and

    means coupled to said host computer and said host adapter for transferring data between said host adapter memory and said host computer memory,wherein said host adapter updates the corresponding pointer in said contents array, determines the remaining amount of memory left in each said device output buffer and updates the corresponding host adapter transmit array output data buffer size, and for each one of said plurality of device input buffers, said data transfer means transfers a number of data bytes from said device input buffers into a corresponding host computer data buffer data group wherein said number of data bytes is less than or equal to said count in the corresponding receive array output data buffer size, and wherein said data transfer means transfers said host adapter contents array into said host computer contents array, andtransfers said host adapter transmit array into said host computer transmit array, andwherein said host computer transfers a number of output data bytes intended for one of said plurality of TTY devices into a corresponding data group in said data buffer wherein said number of output data bytes is less than or equal to said count in the corresponding output data buffer size in said transmit array, updates a corresponding pointer in said contents array, and updates a corresponding host computer receive array input data buffer size, and wherein said data transfer means transfers said host computer receive array into said host adapter receive array, transfers said host computer contents array into said host adapter contents array, and transfers each data group in said host computer data buffer into a corresponding host adapter device output buffer.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×