GB1180226A - Improvements in or relating to Data Sorting Systems - Google Patents

Improvements in or relating to Data Sorting Systems

Info

Publication number
GB1180226A
GB1180226A GB3434466A GB3434466A GB1180226A GB 1180226 A GB1180226 A GB 1180226A GB 3434466 A GB3434466 A GB 3434466A GB 3434466 A GB3434466 A GB 3434466A GB 1180226 A GB1180226 A GB 1180226A
Authority
GB
United Kingdom
Prior art keywords
store
records
sort key
tape
highest
Prior art date
Legal status (The legal status 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 status listed.)
Expired
Application number
GB3434466A
Inventor
Jan Michael Edwin Pau Buhagiar
Alan Jons
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Services Ltd
Original Assignee
Fujitsu Services Ltd
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 Fujitsu Services Ltd filed Critical Fujitsu Services Ltd
Priority to GB3434466A priority Critical patent/GB1180226A/en
Priority to DE19671549472 priority patent/DE1549472A1/en
Priority to SE1096667A priority patent/SE337130B/xx
Priority to FR116215A priority patent/FR1532986A/en
Publication of GB1180226A publication Critical patent/GB1180226A/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/22Arrangements for sorting or merging computer data on continuous record carriers, e.g. tape, drum, disc
    • G06F7/24Sorting, i.e. extracting data from one or more carriers, rearranging the data in numerical or other ordered sequence, and rerecording the sorted data on the original carrier or on a different carrier or set of carriers sorting methods in general
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2207/00Indexing scheme relating to methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F2207/22Indexing scheme relating to groups G06F7/22 - G06F7/36
    • G06F2207/222Binary data tree
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2207/00Indexing scheme relating to methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F2207/22Indexing scheme relating to groups G06F7/22 - G06F7/36
    • G06F2207/226Priority queue, i.e. 1 word in, 1 word out sorter; Output word, i.e. min or max of words in memory

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

1,180,226. Sorting digital data. INTERNATIONAL COMPUTERS Ltd. 18 July, 1967 [30 July, 1966], No. 34344/66. Heading G4M. Data records on a first magnetic tape are sorted into sequence by a process which involves repetitive passes of the tape, in the first of which, a store of limited capacity is filled with the records having the lowest sort keys, and in subsequent passes the store is filled with records having the next lowest sort keys, the records in the store being sorted into sequence and recorded on a second tape between passes of the first tape. Alternatively the sorted records may be recorded on a different area of the first tape. The procedure is illustrated in Fig. 2. A register A is first set to zero and successive records are entered in the store, e.g. a core matrix, until it is full, whereupon a switch S is set. Subsequent records are only entered in the store if they have a sort key which is lower than the highest sort key in the store, and replace the latter. When the end of the file is reached, the first tape is rewound while the records in the store are sorted into sequence by a procedure detailed below. The highest sort key in the store is entered in register A ready for the next pass of the first tape. When the last records have been sorted, the store will almost certainly not have been filled and switch S will not have been set, and this condition is detected to initiate rewinding of tape 2. Two counters C1 and C2 are provided when there may be more than one record with the same sort key. After the first pass, C2 is set to the number K of records in the store having the highest sort key, and this number is transferred to C1 for the next pass. During this pass, C1 is decremented by 1 each time a sort key is detected which is the same as the highest on the first pass, so that the records having this sort key which were entered in the store during the first pass are not entered in the second pass. Should the store be filled subsequently with records having this same sort key, C1 is set to C2 + K for the third pass, thus excluding previously entered records, as before. Organization of store.-(1) Records are stored in locations such that a record at the mth location has a sort key which is greater than those of the records at the 2mth and (2m + 1)th locations. A subroutine, Fig. 3b (not shown), ensures this arrangement of records entered while the store is being filled, and the record with the highest sort key in the store is always at location 1. Another subroutine, Fig. 3c (not shown), is used when entering records after the store has been filled, shifting of a newlyentered record taking place until it occupies the appropriate position and the record with the new highest sort key being shifted to location 1. (2) An alternative store organization is described in which records are entered in successive locations, and a register B holds the highest sort key and its location in the store. When the store is filled, a new record replaces that identified by register B when it has a lower sort key, and a series of comparisons are then made to determine and locate the new highest sort key. Sorting of stored groups.-The number P = the number of records in the group stored and equals the capacity of the store except after the final pass of tape 1. The records in locations 1 (highest) and P are inter-changed and P is reduced by 1. The subroutine, Fig. 4 (not shown), is branched out to end the operation when P is or has been reduced to 1. The interval shifting subroutine, Fig. 3c, is then utilized to shift the record now in location 1 to the appropriate location in the store organization (1) but excluding the location occupied by the highest sort key(s).
GB3434466A 1966-07-30 1966-07-30 Improvements in or relating to Data Sorting Systems Expired GB1180226A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
GB3434466A GB1180226A (en) 1966-07-30 1966-07-30 Improvements in or relating to Data Sorting Systems
DE19671549472 DE1549472A1 (en) 1966-07-30 1967-07-26 Data sorting system
SE1096667A SE337130B (en) 1966-07-30 1967-07-28
FR116215A FR1532986A (en) 1966-07-30 1967-07-28 Data processing system for sorting information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
GB3434466A GB1180226A (en) 1966-07-30 1966-07-30 Improvements in or relating to Data Sorting Systems

Publications (1)

Publication Number Publication Date
GB1180226A true GB1180226A (en) 1970-02-04

Family

ID=10364474

Family Applications (1)

Application Number Title Priority Date Filing Date
GB3434466A Expired GB1180226A (en) 1966-07-30 1966-07-30 Improvements in or relating to Data Sorting Systems

Country Status (3)

Country Link
DE (1) DE1549472A1 (en)
GB (1) GB1180226A (en)
SE (1) SE337130B (en)

Also Published As

Publication number Publication date
SE337130B (en) 1971-07-26
DE1549472A1 (en) 1971-02-18

Similar Documents

Publication Publication Date Title
US2798216A (en) Data sorting system
US2673337A (en) Amplifier system utilizing saturable magnetic elements
US3030609A (en) Data storage and retrieval
US2735082A (en) Goldberg ett al
US3587057A (en) Data sorting system
GB1512713A (en) Data processing system
GB1280487A (en) Multilevel compressed index searching
US3107343A (en) Information retrieval system
US4133041A (en) Data processing control apparatus with selective data readout
GB1178429A (en) Data Processing System.
GB958831A (en) Improvements in apparatus for sorting recorded digital data
GB968856A (en) Search apparatus
US3733589A (en) Data locating device
Bell The principles of sorting
US2911624A (en) Memory system
GB977421A (en) Imformation retrieval system
US2983904A (en) Sorting method and apparatus
US3034102A (en) Data handling system
US3007137A (en) Information handling system
US3064239A (en) Information compression and expansion system
US3034103A (en) Data comparing and sorting apparatus
US3307153A (en) Method of performing on-the-fly searches for information stored on tape storages or the like
GB1180226A (en) Improvements in or relating to Data Sorting Systems
USRE25405E (en) T register
US2985864A (en) Sorting device