×

Method for monitoring and controlling the processing of database searches

  • US 8,234,290 B2
  • Filed: 10/31/2008
  • Issued: 07/31/2012
  • Est. Priority Date: 10/31/2008
  • Status: Active Grant
First Claim
Patent Images

1. A method for preventing misuse of database searches, the method comprising:

  • receiving a regular expression in a search and error handling thread of an application process running on a processor, wherein the regular expression includes one or more tokens and one or more quantifiers;

    searching a database to find one or more input character strings that match the regular expression, wherein a duration of the searching scales greater than linearly with a size of an input character string in order to guarantee a determination of whether an input character string matches the regular expression including the quantifiers;

    tracking, within the search and error handling thread, a computational effort of searching for matches to the regular expression, wherein the tracking of the computational effort occurs during the searching of the database to find the one or more input character strings that match the regular expression;

    comparing the computational effort to a threshold value; and

    performing an internal exit in the search and error handling thread when the computational effort exceeds the threshold value prior to completion of the searching of the database.

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