×

Data sorting method and navigation method and system using the sorting method

  • US 20040030678A1
  • Filed: 08/12/2002
  • Published: 02/12/2004
  • Est. Priority Date: 08/12/2002
  • Status: Active Grant
First Claim
Patent Images

1. A data sorting method for sorting an array of input data in a specified order to a plurality of blocks, comprising the following steps of:

  • (a) defining a number of data entries A for each block when the input data array has N entries and a total number of blocks is N/(X−

    B), where X is smaller than N;

    (b) creating a buffer of X=A+B entries configured by a series of a sorted buffer of A entry positions and a working buffer of B entry positions;

    (c) defining “

    previous high” and

    a reference entry where the previous high is a highest value in a block of sorted entries obtained in an immediately previous sorting and the reference entry is a value in a last entry position of the sorted buffer;

    (d) searching an entry that satisfies conditions of (1) larger than the previous high and (2) smaller than the reference entry and load the entry that satisfies the conditions in the sorted buffer;

    (e) sorting the entries in the sorted buffer in a forward order when the sorted buffer is full;

    (f) searching an entry that satisfies conditions of (1) larger than the previous high and (2) smaller than a new reference entry and load the entry that satisfies the conditions in the working buffer;

    (g) sorting the entries in the buffer in the forward order when the buffer is full;

    (h) repeating the above steps (f)-(g) until no entry satisfies the conditions in the step (f); and

    (i) producing a block of sorted entries by taking the entries A from the sorted buffer.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×