Apparatus and method for peripheral device control with integrated data compression
First Claim
1. A computer system having a host computer and a peripheral device, comprising:
- a CPU in the host computer;
a memory in the host computer;
a data compression engine in the host computer;
a data port at the host computer connecting the host computer to the peripheral device over a data link;
a bus system in the host computer connecting the CPU, the memory, the data compression engine, and the data port;
control routines stored in the host computer and executable by the CPU for processing and sending a stream of data to the data port;
a data-receiving interface in the peripheral device for receiving the stream of data from the connected computer in a compressed form;
a state machine in the peripheral device having inputs for monitoring status from sensors of the peripheral device and outputs for providing such as start and ready signals;
receiving circuitry in the peripheral device connected to the data-receiving interface and to the state machine;
a data handling and decompression pipeline circuit in the peripheral device connected to the receiving circuitry; and
a data serializer in the peripheral device connected to the data handling and decompression pipeline circuit and to an output port to data-using elements of the peripheral device;
wherein the CPU in the host computer, executing the control routines stored in the host computer, selects data to go to the peripheral device, compresses the data using the data compression engine, temporarily stores the compressed data in the memory, and retrieves and sends the compressed data slice by slice to the data interface on demand by an interrupt signal from the data interface; and
wherein the receiving circuitry latches data words from the data receiving interface, and provides the data words to the data handling and decompression pipeline circuit on receipt of ready signals from the state machine; and
wherein the data handling and decompression circuitry decompresses the incoming data stream and provides a resulting decompressed data stream to the data serializer, and wherein the data serializer provides the serialized data stream to the output port.
1 Assignment
0 Petitions
Accused Products
Abstract
An apparatus and methods are provided for pre-compressing data to be sent to a peripheral device in a computer system, sending the data to the peripheral device as a compressed data stream, and decompressing the data for use in the peripheral device in a real-time format. In a preferred embodiment, a unique peripheral device controller is provided having a data handling and decompression pipeline for receiving and decompressing an incoming compressed data stream in concert with a state machine for sensing the states of elements of the peripheral device, and for providing the decompressed data stream to data-using elements of the peripheral device. The peripheral device can be any device for which large amounts of data are typically needed, including, but not limited to printers, video displays, robotic driving devices, and data recording and media writing devices. Alternative methods are disclosed for compressing and decompressing data in systems according to the invention.
-
Citations
4 Claims
-
1. A computer system having a host computer and a peripheral device, comprising:
-
a CPU in the host computer; a memory in the host computer; a data compression engine in the host computer; a data port at the host computer connecting the host computer to the peripheral device over a data link; a bus system in the host computer connecting the CPU, the memory, the data compression engine, and the data port; control routines stored in the host computer and executable by the CPU for processing and sending a stream of data to the data port; a data-receiving interface in the peripheral device for receiving the stream of data from the connected computer in a compressed form; a state machine in the peripheral device having inputs for monitoring status from sensors of the peripheral device and outputs for providing such as start and ready signals; receiving circuitry in the peripheral device connected to the data-receiving interface and to the state machine; a data handling and decompression pipeline circuit in the peripheral device connected to the receiving circuitry; and a data serializer in the peripheral device connected to the data handling and decompression pipeline circuit and to an output port to data-using elements of the peripheral device; wherein the CPU in the host computer, executing the control routines stored in the host computer, selects data to go to the peripheral device, compresses the data using the data compression engine, temporarily stores the compressed data in the memory, and retrieves and sends the compressed data slice by slice to the data interface on demand by an interrupt signal from the data interface; and wherein the receiving circuitry latches data words from the data receiving interface, and provides the data words to the data handling and decompression pipeline circuit on receipt of ready signals from the state machine; and wherein the data handling and decompression circuitry decompresses the incoming data stream and provides a resulting decompressed data stream to the data serializer, and wherein the data serializer provides the serialized data stream to the output port. - View Dependent Claims (2)
-
-
3. A computer system having a host computer and a peripheral device, comprising:
-
a CPU in the host computer; a memory in the host computer; a data compression engine in the host computer; a direct memory access (DMA) controller in the host computer; a data port at the host computer connecting the host computer to the peripheral device over a data link; a bus system in the host computer connecting the CPU, the memory, the data compression engine, the DMA controller, and the data port; control routines stored in the host computer and executable by the CPU for processing and sending a stream of data to the data port; a data-receiving interface in the peripheral device for receiving the stream of data from the connected computer over the data link in a compressed form; a state machine in the peripheral device having inputs for monitoring status from sensors of the peripheral device and outputs for providing such as start and ready signals; receiving circuitry in the peripheral device connected to the data-receiving interface and to the state machine; a data handling and decompression pipeline circuit in the peripheral device connected to the receiving circuitry; and a data serializer in the peripheral device connected to the data handling and decompression pipeline circuit and to an output port to data-using elements of the peripheral device; wherein the CPU in the host computer, executing the control routines stored in the host computer, selects data to go to the peripheral device, compresses the data using the data compression engine, temporarily stores the compressed data in the memory, and activates the DMA controller to retrieve the compressed data and to spool and send the compressed data to the data port; and wherein the receiving circuitry latches data words from the data receiving interface, and provides the data words to the data handling and decompression pipeline circuit on receipt of ready signals from the state machine; and wherein the data handling and decompression circuitry decompresses the incoming data stream and provides a resulting decompressed data stream to the data serializer, and wherein the data serializer provides the serialized data stream to the output port. - View Dependent Claims (4)
-
Specification