Patent US5117495A successfully refreshed from Google Patents.
← Back to Patent Explorer
US5117495A Expired / Lapsed US ⏱️ 0.0 years remaining

Method of sorting data records

Assignee: Precisely Software Inc
•
Filing: 1990-03-07
•
Granted: 1992-05-26
•
Expires: 2010-03-07
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract An improved process for sorting data records by computer is disclosed. The process utilizes scatter-writing techniques to write data records directly from a data input area to an external storage device and to write data records directly from a merge input area directly to the external storage device. This increases the speed of the sorting process and makes more efficient use of the computer memory.

Inventors

  • 👤 Peter Liu

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-10-31 12:13
CPC Classifications
G; G06; G06F; G06F7/00; G06F7/22; G06F7/24; G06K; G06K7/00; G06K7/08; Y; Y10; Y10S; Y10S707/00; Y10S707/99931; Y10S707/99937

Claims Analysis

Total Claims: 12
Claim 1
Independent Claim 103 words
A computer process for storing unsorted data records in an external storage device in a desired order comprising the steps of: (A) storing the unsorted data records in first preallocated computer memory locations, (B) generating a record pointer for each data record stored in the first memory locations and storing the record pointers in second preallocated computer memory locations, (C) sorting the record pointers into the desired order, and (D) sequentially writing each data record to the external storage device directly from the first memory locations in an order corresponding to the sorted order of the record pointers associated with the data records.
Claim 2
Dependent Claim 103 words
A computer process for storing unsorted data records in an external storage device in a desired order comprising the steps of: (A) storing the unsorted data records in first preallocated computer memory locations, (B) generating a record pointer for each data record stored in the first memory locations and storing the record pointers in second preallocated computer memory locations, (C) sorting the record pointers into the desired order, and (D) sequentially writing each data record to the external storage device directly from the first memory locations in an order corresponding to the sorted order of the record pointers associated with the data records.
Claim 3
Dependent Claim 15 words
The process of claim 1 wherein the writing step is performed using a scatter-write technique.
Claim 4
Dependent Claim 42 words
The process of claim 1 further comprising repeating the steps of storing, generating, sorting, and writing data records to the external storage device and thereafter merging all of the data records stored on the external storage device into a final desired order.
Claim 5
Dependent Claim 32 words
The process of claim 1 further comprising the step of extracting a sort key from each data record and associating each record pointer with its corresponding sort key after the generating step.
Claim 6
Dependent Claim 161 words
A computer process for storing unsorted data records in an external storage device in a desired order, comprising the steps of: (A) reading less than all of the unsorted data records from a first external storage device and storing the data records in first preallocated computer memory locations, (B) generating a record pointer for each data record stored in the first memory locations and storing the record pointers in second preallocated computer memory locations, (C) sorting the record pointers into the desired order, (D) sequentially writing each data record to a second external storage device directly from the first memory locations in an order corresponding to the sorted order of the record pointers associated with the data records to form a first string, (E) repeating steps A through D until all unsorted data records are written to the second external storage device as a plurality of strings, and (F) merging the data records of all the strings into the desired order.
Claim 7
Dependent Claim 161 words
A computer process for storing unsorted data records in an external storage device in a desired order, comprising the steps of: (A) reading less than all of the unsorted data records from a first external storage device and storing the data records in first preallocated computer memory locations, (B) generating a record pointer for each data record stored in the first memory locations and storing the record pointers in second preallocated computer memory locations, (C) sorting the record pointers into the desired order, (D) sequentially writing each data record to a second external storage device directly from the first memory locations in an order corresponding to the sorted order of the record pointers associated with the data records to form a first string, (E) repeating steps A through D until all unsorted data records are written to the second external storage device as a plurality of strings, and (F) merging the data records of all the strings into the desired order.
Claim 8
Dependent Claim 15 words
The process of claim 5 wherein the writing step is performed using a scatter-write technique.
Claim 9
Dependent Claim 32 words
The process of claim 5 further comprising the step of extracting a sort key from each data record and associating each record pointer with its corresponding sort key after the generating step.
Claim 10
Dependent Claim 168 words
A process for merging strings of data records stored in a memory associated with the computer, each string of data records being arranged in a desired order, to sort the data records into a final desired order in a computer, comprising the steps of: (A) reading from the associated memory at least one data record from each string and storing the data records in preallocated computer memory locations, (B) selecting from the data records in the preallocated computer memory locations a data record having a preselected relationship to the other data records, (C) writing the selected data record to an external storage device directly from the preallocated computer memory locations, (D) reading additional data records from the associated memory and storing the additional data records in the preallocated computer memory locations when the remaining data records in the preallocated computer memory locations from any string reaches a preselected limit, (E) repeating steps B, C, and D until all data records have been sorted into the final desired order.
Claim 11
Dependent Claim 168 words
A process for merging strings of data records stored in a memory associated with the computer, each string of data records being arranged in a desired order, to sort the data records into a final desired order in a computer, comprising the steps of: (A) reading from the associated memory at least one data record from each string and storing the data records in preallocated computer memory locations, (B) selecting from the data records in the preallocated computer memory locations a data record having a preselected relationship to the other data records, (C) writing the selected data record to an external storage device directly from the preallocated computer memory locations, (D) reading additional data records from the associated memory and storing the additional data records in the preallocated computer memory locations when the remaining data records in the preallocated computer memory locations from any string reaches a preselected limit, (E) repeating steps B, C, and D until all data records have been sorted into the final desired order.
Claim 12
Dependent Claim 15 words
The process of claim 8 wherein the writing step is performed using a scatter-write technique.

References Cited (Backward Citations)

US4587628A Cited
US4809158A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1995-05-26 1995-11-25 1996-05-26 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 1999-05-26 1999-11-25 2000-05-26 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2003-05-26 2003-11-25 2004-05-26 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag