Patent GB-1328164-A (GB)
Title: Data retrieval apparatus
IPC: G06F17/30
Filed: 1971-04-19
Abstract: 1328164 Associative memories INTERNATIONAL BUSINESS MACHINES CORP 19 April 1971 [21 March 1970] 24294/71 Heading G4C In an apparatus for retrieving a desired digital data record by associative searching of a plurality of data records each checked by an error detecting code, a search argument is compared byte by byte with each record search field, means detect the first mismatching byte position of the data record and the argument, and means determine whether any error occurred after the mis-match, thereby validating the mismatch detection. Apparatus.-The apparatus of Specification 1,179,613 (Fig. 5) is modified by the addition of error encoder circuitry 90, error detection and correction circuitry 91 as described in Specification 1,328,163 and extra instructions in read onl memory 38. A central processor is connected via interface 33 and unit 10, including core buffer 12, to storage discs 11 holding data records so that when the processor requests a data record or a space to store data, unit 10 effects an associative search to find the data record or space. Operation or Data Retrieval.-The CPU sends an instruction to interface 33 designating a selected device 11 and this is transferred, under control of a read only program memory 38, to register 43 via arithmetic unit 36 whence a signal is sent to the CPU indicating whether the device 11 is available or not. If it is, the instruction set and data are sent to register 64 in parallel and thence to appropriate areas in buffer 12. The instruction set includes a search argument or key which is compared with the data records in the device. Each data record is passed to read register 61 and thence to arithmetic unit 36 where it is compared with a special character designating the beginning of a record, agreement with which causes circuit 91 to begin error detection of the record. A second character designating the beginning of a key is then compared with the record, agreement indicating that the data record key is in position. Then the search argument or key and the data record key are compared serially by byte (step 100, Fig. 2, not shown). On detecting an inequality, the byte inequality position is stored, and a second search continued until a second inequality is detected or the entire key is compared and found equal. If the former occurs the record key is read to the end and its redundant error check data supplied to circuitry 91 where an error syndrome is produced which indicates if any error has occurred. If there was no error the first search was correct and the CPU is informed. If an error was detected, circuitry 91 decodes the error syndrome to indicate the error position (s) (108, 109, Figs. 2 and 3, not shown) and if the first search produced inequality, it is determined if the error occurred before this point. If it did not, the first search was correct and the CPU is informed. Similar procedures are followed for the remaining possible error situations (Figs. 3 to 5, not shown) using error correction techniques as described in Specification 51104/70 and repeating part or all of the searches. Some of the errors are incorrectible by this procedure.