/Patent Tracker
MicrosoftGranted patentAI & softwareInterest 2/10

Microsoft patents method to split text search rules for faster processing

Patent drawing
Patent drawing from the official filing.

Microsoft has patented a method for breaking down complex text search patterns into two types of computer logic called deterministic and non-deterministic finite automata. The system checks if a search rule follows a single path or multiple paths and uses different splitting processes for each to create specific parts of a processing tree.

Why it mattersThis is a low-level software optimization that could make text searching and data processing slightly more efficient, though it is unlikely to be visible to everyday users.

In the filing’s own words

Systems, methods, and computer-readable medium for splitting regular expressions between non-deterministic finite automaton and deterministic finite automaton are provided. A method includes parsing a set of regular expression patterns to generate an output. The method further includes processing the output to determine whether any of the set of regular expression patterns meets a specified criteria including whether a regular expression pattern is a single path regular expression. The method further includes using a first splitting process, splitting any of the set of regular expression patterns that meet the specified criteria into a first set of tokens. The method further includes using a second splitting process, different from the first splitting process, splitting any of the set of regular expression patterns that fail to meet the specified criteria into a second set of tokens.

What exactly they claim (claim 1)

1. A computer-implemented method comprising: parsing a set of regular expression patterns to generate an output; processing the output to determine whether any of the set of regular expression patterns meets a specified criteria including whether a regular expression pattern is a single path regular expression; using a first splitting process, splitting any of the set of regular expression patterns that meet the specified criteria into a first set of tokens; and using a second splitting process, different from the first splitting process, splitting any of the set of regular expression patterns that fail to meet the specified criteria into a second set of tokens, wherein the first splitting process outputs a first deterministic finite automaton (DFA) part of an abstract syntax tree (AST) and a first non-deterministic finite automaton (NFA) part of the AST, and wherein the second splitting process outputs a second DFA part of the AST and a second NFA part of the AST.

Facts

Company
Microsoft (Microsoft Technology Licensing, LLC)
Official title
Splitting regular expressions between non-deterministic finite automaton and deterministic finite automaton
Patent number
US12762344B2
Application number
18661796
Filed
May 13, 2024
Granted
Oct 13, 2026
Inventors
1
Claims
20

Classified under

G06F 40/289 Physics & computingG06F 40/284 Physics & computing

More from Microsoft in AI & software

Summaries are simplified from the filing’s own abstract and first claim. A patent filing is not a product announcement.
Patent data and drawings: U.S. Patent and Trademark Office (USPTO). Nebula is not affiliated with or endorsed by the USPTO.