Patent · US Active

Text file binary search device, search method, program, and information recording medium

US11645040B2 · kind B2 · utility

0Cited by
2References
8Claims
0Family size

Assignee

Inventors

Key dates

Filing dateSep 20, 2016
Grant dateMay 9, 2023
Priority date
Expiry dateMay 22, 2037

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F2207/025
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A device searches a file being recorded that includes lines sorted in accordance with keys included in the lines to find a line that matches a pattern. When the device receives a pattern, it initializes upper and lower limits of a search range and calculates a middle position between the limits. It acquires, from the file, a middle line that starts at or before the middle position and ends after it. If the key included in the middle line matches the pattern, it outputs the middle line and re-sets the upper or lower limit based on whether the key included in the middle line is greater or less than the pattern and, if there is a distance greater than a length of a newline between the limits, repeats the procedure starting from the middle position. Otherwise, it outputs a result to the effect that no matching line has been found.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.