Search Engine Executable Parsing and Variable Binding

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current search engines are unable to execute mathematical equations or programming code retrieved from search queries, and do not provide execution results, nor identify and execute procedures based on user-supplied values within search queries.

Innovation Solution

A method and system that parse search queries to identify executable elements, associate variable names and values, and execute equations or code within selected documents, embedding the results back into the search results for display.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If search engines only retrieve and display text-based search results, then the system remains simple and fast, but the functionality is limited and cannot execute mathematical equations or programming code

Engineering Contradiction:
ImprovefunctionalityVSAvoidsystem complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The search query processing is divided into separate modules: text-based search module, executable identification module, variable extraction module, and execution module. Each module handles specific tasks independently, allowing the system to maintain simplicity for standard searches while adding execution capability when needed without overwhelming complexity

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The search engine is enhanced to perform multiple functions: traditional text-based document retrieval and execution of mathematical equations or programming code. The system can identify whether a search query contains executable content and automatically switch between retrieval mode and execution mode, making it versatile without requiring separate systems

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Loss of information

If the search engine executes equations and code within retrieved documents, then user value is enhanced, but the processing time and computational resources increase

Engineering Contradiction:
ImprovevalueVSAvoidprocessing time
Core Design Contradiction:
Loss of informationVSLoss of time

Solution Approach 1:

The system identifies and extracts executable content (mathematical equations or programming code) and associated variables from the retrieved document before execution. By preparing the execution environment in advance and only executing when necessary, the system avoids unnecessary processing time for standard searches while providing enhanced value when execution is required

Inventive Principle:
Principle #10Preliminary action

3Measurement precision

If the system identifies and executes procedures based on user-supplied values, then the accuracy and relevance of results improve, but the complexity of query processing increases

Engineering Contradiction:
ImproveaccuracyVSAvoidprocessing complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system introduces an intermediary processing layer that extracts variables from user queries and matches them with parameters in retrieved executable content. This intermediary module handles the complex matching and substitution logic, isolating the complexity from both the retrieval system and the execution system, thereby improving accuracy while managing processing complexity

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS10558631B2Enhancing textual searches with executables
Publication Date: 2020.02.11 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US10558631B2 patent drawing
  • US10558631B2 patent drawing
  • US10558631B2 patent drawing

AI summary

Receiving a search request by a computer. Parsing text-based search terms from the search request. Searching documents in a document index based on the text-based search terms. Transmitting to a user device a list of documents identified by the search. Receiving, from the user device, a selection of one of the identified documents. Parsing executable-based search terms from the search request. Identifying content defining an executable in the selected document. Forming a display element from the executable. Identifying and associating variable names and variable values in the search query with variable names and variable values in the executable. Forming a statement to solve from the search query. Solving the statement to solve. Substituting the variable values and the statement solution for corresponding variable names in the display element. Embedding the display element in the selected document, and transmitting the selected document with the embedded display element to the user device.