Hardware assisted mask read/write

Electrical computers and digital processing systems: memory – Addressing combined with specific memory configuration or... – Dynamic-type storage device

Utility Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C711S200000, C710S024000, C710S026000, C712S224000

Utility Patent

active

06170034

ABSTRACT:

FIELD OF THE INVENTION
The present invention relates to data transfer and more particularly to data transfer of selected data intermixed with other data.
BACKGROUND OF THE INVENTION
There exist some computer applications that use at least two types of data that are stored intermixedly or non-contiguously. For example, audio and video data may be stored in the same file on a hard drive. The file occupies a certain amount of data units, such as sectors, on the storage media of the hard drive. Thus, those sectors contain either audio or video data. Those applications can desire that only one type of data, e.g., video, is transferred.
There exist commands that provide information so that only the desired data type is transferred. This command provides mask information which selects which type of data is to be transferred. Typically, this masked transfer is performed by firmware. Unfortunately, the firmware not only increases system overhead by utilizing microprocessor resources, it also requires precious storage space.
To illustrate, a data controller of a hard drive is coupled to a SCSI bus, a microcontroller, RAM, ROM and the storage medium. The mask information is received by the data controller. Via firmware processing, the microcontroller processes the mask information thereby using valuable microcontroller resources. The firmware must be stored in the ROM, thus using up memory space at an additional cost. Furthermore, present hardware requirements demand faster data transfer between the storage medium and the SCSI bus. The firmware implementation does not readily lend itself to this demand since microcontroller intervention is required, as well as the access time to the ROM to fetch the firmware.
A need exists, therefore, for an implementation that provides a masked data transfer without adding significantly to system overhead. The present invention meets this need.
SUMMARY OF THE INVENTION
The present invention includes a method of transferring data that are not masked. A request is made to provide a masked data transfer. The requester transmits mask information, which is then stored in word-sized sections as a transfer mask table. The mask information is duplicated and also stored in an interleaved manner with the original mask information. Each bit of the mask information is associated to a specific sector address or other data unit address. Each bit of the mask information is compared to its corresponding duplicate bit. An error signal is generated if those bits do not match. The mask table is parsed to effectuate the transfer.
The transfer mask table can be indexed by initializing a mask index counter and a mask bit counter (both counters are programmable). The counters can be considered as storage devices that store, save or maintain values. The mask index counter sets the address of an entry to be first acquired. The mask bit counter sets which bit of the word to first evaluate, i.e., whether certain data is masked. After the first entry is acquired, the mask bit counter starts the next mask word preferably at bit zero. The mask index counter is appended to a mask base address register to form a complete mask buffer address.
After an entire word of sectors is transferred, i.e., each sector that corresponds to a bit of the word is transferred, the next word (if necessary) is fetched. The present invention has nearly all of the time that the last sector of the word is transferred to fetch and load the next word into the mask bit and mask index counters. Thus, the present invention in effect pipelines the mask word fetches to provide continuous data transfer. Furthermore, the counters maintain their respective values so that if the sectors to be transferred are-not contiguous (on the same track), the counters do not have to be reprogrammed at the completion of a track seek.
The present invention also has the capability not to transfer the last requested sector if that sector is masked. This capability eliminates the need to parse the mask table to determine how a data formatter should be programmed. The present invention evaluates whether a stop count value equals a stop threshold value when a sector is identified as being masked. The stop count value is incremented for each sector that is read from the first storage device, regardless of whether that sector is to be transferred or masked. The stop threshold value is the total number of sectors to be transferred and masked. If the stop count value equals the stop threshold value and the sector is masked, a flag is generated to stop the transfer of that last masked sector.
Numerous other advantages and features of the present invention will become readily apparent from the following detailed description of the invention and the embodiments thereof, from the claims and from the accompanying drawings in which details of the invention are fully and completely disclosed as a part of this specification.


REFERENCES:
patent: 3833887 (1974-09-01), Shevlin
patent: 4217638 (1980-08-01), Namimoto et al.
patent: 4488256 (1984-12-01), Zolnowsky et al.
patent: 4680730 (1987-07-01), Omoda et al.
patent: 5126889 (1992-06-01), Walden
patent: 5229999 (1993-07-01), Cushing et al.
patent: 5369654 (1994-11-01), Millis, Jr.
patent: 5422995 (1995-06-01), Aoki et al.
patent: 5550989 (1996-08-01), Santos et al.
patent: 5553307 (1996-09-01), Fujii et al.
patent: 5596737 (1997-01-01), Strang et al.
patent: 5619715 (1997-04-01), Dinkjian et al.
patent: 5625800 (1997-04-01), Brayton et al.
patent: 5687389 (1997-11-01), Packer
patent: 5903769 (1999-05-01), Arya
patent: 5905854 (1999-05-01), Nielson et al.
patent: 5958029 (1999-09-01), McKinnon
Hyde, R. “The Art of Assembly Language Programming.” 1996. [Online] http://www.comp.it.bton.ac.uk/burks/burks/language/asm/artofasm/artof001.htm.*

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Hardware assisted mask read/write does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Hardware assisted mask read/write, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Hardware assisted mask read/write will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2481488

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.