With the widespread availability of information over networks, such as the Internet, search engines have come into widespread use. Search engines receive user queries and find content matching the query to return to the user. A common approach to implementing a search engine is through a page index. The page index relates terms that may appear in a search query to units of content on the network, frequently called web pages.
Various approaches exist for constructing and applying the page index. Constructing the index frequently entails “crawling” a network, such as the Internet, containing the body of data that will eventually be searched. Crawling entails following links from one web page to the next and analyzing each page. As part of the analysis, terms characterizing the web page may be identified and added to the page index in a way that associates that web page with those terms. These terms may be terms actually used within the context displayed by the web page or may be tags added specifically to influence how the crawler indexes the web page. Additionally, information, such as the number of links to a web page, may be captured and used to prioritize the web pages.
The page index is applied as part of a search stack. When a user submits a search query, a search engine matches terms in the query to web pages based on the search index. The search stack may include components that modify the search query before the index is consulted, such as to correct misspelling of search terms or attach terms that can be inferred based on a user profile. The search stack may also include components to filter search results. For example, web pages identified using the page index may be filtered, such as by ranking the web pages based on a metric indicating relevance to a query.
In scenarios in which search queries seeking information that may not appear directly on a web page are anticipated, information may be pre-computed. An entry may be made in the page index, pointing to the pre-computed information rather than a web page.
The usefulness of a search system may be improved by incorporating into a search stack of the system components that may select and apply a model characterizing information to be provided in response to a search query. The model may be selected from a set of models based on user context information, such as a search query from a user and/or data identified by a search engine in response to the search query. Application of the model may result in generation of new information, in addition to formatting, filtering or processing data returned by a search engine executing the query.
A user may modify a model via a set of controls displayed to the user. Modifications to the model may be made available to the search system, and the modified model may then be applied to search results to generate information in compliance with the modified model. Such modified models may be stored locally on a client system or stored in the search system and made available to other users so that the modified models can be applied to subsequent requests for information.
The foregoing is a non-limiting summary of the invention, which is defined by the attached claims.
The accompanying drawings are not intended to be drawn to scale. In the drawings, each identical or nearly identical component that is illustrated in various figures is represented by a like numeral. For purposes of clarity, not every component may be labeled in every drawing. In the drawings:
The inventors have recognized and appreciated that functionality and utility of search systems may be expanded by incorporating into a search stack of a search system components that can select and apply one or more models characterizing data to be provided to a user in the user's context. The application of a model may also affect the manner in which the user may interface with data provided to the user. In response to a search query, or other input identifying user context, the system may identify a model to apply in generating information for the user. The model may be selected based on user context information, that may include the search query itself or data generated by a search engine applying the search query to select web pages.
Once a model is selected, a model application engine may apply the model to generate information to be provided to the user. A model may include one or more elements, at least some of which define a computation to be performed based on data dynamically identified for the user's context. For example, application of the model may result in a computation that has inputs relating to terms in the search query or data generated by a search engine applying the search query. The output of the computation may be provided to the user as a result of the search query, either alone or in conjunction with data located by a search engine or other dynamically generated data.
In some embodiments, the computation may be based on an equation represented in the model. The equation may specify a mathematical operation to be performed on data that is dynamically identified by the search engine. Such a mathematical operation may include other data, such as user data obtained from a user profile or based on context information. Applying models in a search stack may greatly expand the type of information that may be returned to a user and may be applied in many different contexts.
For example, a model may include an equation, defining computation of calorie content from a recipe. Such a model may be applied in response to a query requesting recipes such that, in addition to receiving content representing recipes found on web pages, a user may receive calorie content, even though that information was not included on the web pages. Such a model may provide the ability for the user to interact with the information retrieval system with or without going back to the search engine, e.g. by allowing the user to specify or change his personal profile and nutrition goals and see alternative meal plans for the day that are generated by applying a modified model to information previously generated by a search engine.
As another example, a model may include a formula for computing commuting distance or time from a location. Such a model may be applied in response to a query requesting information on houses for sale such that, in addition to receiving a listing of houses for sale identified as a result of a search, a user may receive commuting information with each house. A system may support user edits to the commuting model to let the user interact with and do “what-ifs” with the information, e.g. the commuting impact of particular school/gym/workplace/transportation mode choices.
As yet another example, a model may include a formula for generating a metric comparing a patient's lab results to a population norm. Such a model may be applied in a search system coupled to an intranet in a hospital such that, when a search is conducted for lab results of a patient, a clinician may receive, in addition to lab results for the patient, comparative data characterizing the results based on an analysis of lab results in medical records for other users returned as a result of the search. The model may enable the clinician to do what-ifs like change some assumptions about the patient or the relationship between lab data and underlying disease.
In a further example, a model may contain rules that characterize fashion preferences (e.g., style, cut, color, etc.). Such a model may be applied in response to search results generated based on a search query for “evening dresses,” such that a list of dresses for purchase is returned to the user in response to the query, in which the returned list of dresses is in compliance with the fashion preferences of the applied model.
A search system may contain multiple models, applicable in different contexts. Accordingly, a search system may contain a component that selects a model for a specific context. A component to perform this function may access a model index. In some embodiments, the model index may have a form analogous to a page index used by a search engine. In this way, existing techniques optimized for high speed search may also be used to quickly select and apply a model. Such an approach may be useful in scenarios in which a model is identified based on terms or other aspects of a search query. Further, in some embodiments, the models may be treated as web pages and may include meta tags to aid in indexing them in a search engine.
To facilitate the use of models, each model may be represented as a collection of declarative statements (“expressions”). An expression may be a symbolic representation of a computation to be performed, which may comprise operators and operands. The operators of an expression may include any operators known to one of skill in the art (such as the common mathematical operators of addition, subtraction, multiplication, and division), any functions known to one of skill in the art, and functions defined by a user. The operands of an expression may include data (such as numbers or strings), symbols that represent data, and other expressions. An expression may thus be recursive in that an expression may be defined by other expressions.
A symbol may represent any type of data used in common programming languages or known to one of skill in the art. For example, a symbol may represent an integer, a rational number, a string, a Boolean, a sequence of data (potentially infinite), a tuple, or a record. In some embodiments, a symbol may also represent irrational numbers, while in other embodiments, symbols may not be able to represent irrational numbers.
For example, an expression may take the form of a symbolic representation of an algebraic expression, such as x2+2xy+y2, where x and y may be symbols that represent data or other expressions. An expression may take the form of an equation, such as E=mc2, where E, m, and c may by symbols representing data or other expressions. An expression may take the form of a function definition, such as ƒ(x)=x2−1, where ƒ is a symbol representing the function, x is a symbol representing an operand or argument of the function, and x2−1 is an expression that defines the function. An expression may also take the form of a function invocation, such as ƒ(3), which indicates that the function ƒ is to be invoked with an argument of 3.
Expressions may be solved by an expression engine to produce a result. For example, where the symbol x (itself an expression) represents the number 3 and the symbol y (also an expression) represents the number 2, the expression x2+2xy+y2 may be solved by replacing the symbols with the values the represent, e.g., 22+2×2×3+32, and then applying the operators to the operands to solve the entire expression as 25. In another example, where m is a symbol representing the number 2 and c is a symbol representing the number 3, the expression E, defined above, may be solved by replacing E with its definition, e.g., mc2, replacing the symbols m and c with the values they represent, e.g., 2×32, and applying the operators to the operands to solve the expression as 18.
In evaluating an expression, the expression engine may apply the operators to the operands to the extent that the operators and operands are defined and to the extent that expression engine knows how to apply the operators to the operands. For example, where the symbol x represents the number 3 and the symbol y is not defined, the expression x2+2xy+y2 may be solved by replacing the known symbols with the values the represent, e.g., 22+2×2×y+y2, and then applying the operators to the operands to solve the entire expression as 4+4y+y2. Where the symbol x represents the number 3 and the symbol y represents the string “hello”, the expression x2+2xy+y2 may be solved as 4+4×hello+hello2, since the expression engine may not know how to perform arithmetic operations on the string “hello.”
In some embodiments, expressions may be declarative. A declarative expression may indicate a computation to be performed without specifying how to compute it. A declarative expression may be contrasted with an imperative expression, which may provide an algorithm for a desired result.
In some embodiments, expressions may be immutable. An expression is immutable if it cannot be changed. For example, once a definition is given, such as E=mc2, the expression E cannot later be given a different definition. One advantage of immutability is that applications defined by immutable expressions may be side-effect free in that the functionality of the application may not be able to be altered by users of the application.
An application may be defined by a set of expressions, aka a model. An application defined by expressions may have input variables and output variables and the relationship between the input variables and the output variables may be defined by the set of expressions that defines the application. The determination of which variables are input variables and which variables are output variables may be determined by the user. In solving for the output variables, the expression engine may produce data (e.g., a number or a string) or may produce an expression of the input variables.
In this way, the models may be relatively easy to produce and apply. Further, by having the models applied in a model engine, an entity providing search services may receive models from third parties and apply them in an environment in which application of the model cannot interfere with operation of the computer equipment that implements the search system.
As a result, knowledge useful in generating search results may be captured in models and shared across search systems. Further, by allowing the models to be applied in the search stack of a search system, models may perform computations or other operations based on data that is only available within the search system.
The inventors have further appreciated that it may be useful to allow users of the search system to modify a model that may be applied to search results. User inputs may specify aspects of the model that modify the nature of information returned to the user when the model is applied. Modifications to the model may be made available to the search system, and the modified model may then be applied to search results to generate information in compliance with the modified model. The modifications may be made via editing controls displayed in a user interface. For example, the controls may allow a user to enter an expression in a text input field. The entered expression may comprise an addition to a specification for the model. As another example, the controls may allow a user to vary aspects of the specification of the model (e.g., in the fashion preferences example, the user may vary dress prices, color makeup, a formality of the dress in a continuum from “formal” to “casual,” etc.).
Thus, by modifying an existing model, a user may further customize information returned in response to a request for information (e.g., search query) to better correspond to the user's current needs and/or interests. Such modified models may be stored locally on a client system or stored in the search system and made available to other users so that the modified models can be applied again to subsequent requests for information.
Computing device 105 may have the capability to communicate over any suitable wired or wireless communications medium to a server 106. The communication between computing device 105 and server 106 may be over computer network(s) 108, which may be any suitable number or type of telecommunications networks, such as the Internet, a corporate intranet, or cellular networks. Server 106 may be implemented using any suitable computing architecture, and may configured with any suitable operating system, such as variants of the WINDOWS® Operating System developed by MICROSOFT® Corporation. Moreover, while server 106 is illustrated in
In the example of
Regardless of the type of input provided by user 102 that triggers generation of a query, computing device 105 may send the query to server 106 to obtain information relevant to the query. After retrieving data relevant to the search query, such as, for example, web pages, server 106 may apply one or more declarative models to the data to generate higher level information to be returned to user 102. The information generated by server 106 may be sent over computer network(s) 108 and be displayed on display 104 of computing device 105. Display 104 may be any suitable display, including an LCD or CRT display, and may be either internal or external to computing device 105.
Regardless of the specific configuration of search stack 200, a user query 202 may be provided as input to search stack 200 over a computer networking communications medium, and may be either implicit or explicit, as discussed in connection with
Search engine 204 may consult data index 206 to retrieve data 208 related to the user query 202. The retrieved data 208 may be a data portion of search results that are retrieved based on user query 202 and/or other factors relevant to the search, such as a user profile or user context. That is, data index 206 may comprise a mapping between one or more factors relevant to a search query (e.g., user query terms, user profile, user context) and data, such as data pages, that match and/or relate to that query. The mapping in data index 206 may be implemented using conventional techniques or in any other suitable way.
Regardless of the type of mapping performed using data index 206 to retrieve data 208 relevant to the search, data 208 may comprise any suitable data retrieved by search engine 204 from a large body of data, such as, for example, web pages, medical records, lab test results, financial data, demographic data, video data (e.g., angiograms, ultrasounds), or image data (e.g., x-rays, EKGs, VQ scans, CT scans, or MRI scans). Data 208 may be retrieved or identified dynamically by search engine 204 or it may be cached as the result of a prior search performed by search engine 204 based on similar or identical query. Data 208 may be retrieved using conventional techniques or in any other suitable way.
The search stack 200 may also include a model selection component, such as model selector 210, which may select one or more appropriate declarative model(s) 214 from a set of models stored on one or more computer readable media accessible to the model selector 210. The model selector 210 may then apply the selected model(s) 214 to the results (i.e., data 208) of the search performed by search engine 204, Model selector 210 may be coupled to model index 212, which may be the same as data index 206 or may be a separate index. Model index 212 may be implemented on any suitable storage media, including those described in connection with data index 206, and may be in any suitable format, including those described in connection with data index 206. Model index 212 may comprise a mapping between one or more factors relevant to the user's search (e.g., terms in user query 202, user profile, user context, and/or the data 208 retrieved by the search engine 204) and appropriate model(s) 214 that may be applied to the data 208 retrieved by search engine 204.
Selected models 214 may be selected from a larger pool of models 250 stored on computer-readable media associated with server 106 (
In some embodiments, to facilitate easy addition of models to pool of models 250, the search system illustrated in
Search stack 200 may also include a model application engine 216, which may apply the selected model(s) 214 to the data 208 retrieved by search engine 204. In the application of a model, data 208 may serve as a parameter over which the selected model(s) is applied by model application engine 216. Additional parameters, such as portions of user query 202, may also be provided as input to the selected model(s) during model application. Though, it should be appreciated that any data available within the search environment illustrated in
As a result of the application of the model to the search results performed by model application engine 216, information 218 may be generated. Generated information 218 may be returned to the user by an output component (not shown) of search stack 200. Though, the generated information may be used in any suitable way, including as a query for further searching by search engine 204. Generated information 218 may include the results of model application performed by model application engine 216, may include data 208 retrieved by the search engine 204, or any suitable combination thereof. For example, based on the application of a model performed by the model application engine 216, the ordering of the presentation to a user of data 208 may change, the content presented as part of data 208 may be modified so that it includes additional or alternative content that is the result of a computation performed by model application engine 216, or any suitable combination of the two. Thus, when selected model(s) 214 are applied to raw data, such as data 208, retrieved by a search engine, the generated information 218 may be at a higher level of abstraction and therefore be more useful to a user than the raw data itself.
Search stack 200 may also include a model editing component 262. Model editing component 262 may receive model modifications 260, which may have been provided by a user. Model modifications 260 may comprise edits to an existing model, such as one of the models in pool of models 250. In some embodiments, model modifications 260 may comprise modifications to one of selected model(s) 214 that may have been applied as part of generating information 218 in response to a prior user query 202. Based on model modifications 260, model editing component 262 may modify the referenced model in pool of models 250 and/or create a new model corresponding to the user inputs, and store the new model in pool of models 250. The modified model may then be applied to generate information in response to subsequent search queries.
Model 300 may comprise one or more elements, which may define characteristics of information that may be returned to the user upon application of the model. In the illustrated embodiment, the elements may be statements in a declarative language. In some embodiments, the declarative language may be at a level that a human being who is not a computer programmer could understand and author. For example, it may contain statements of equations and the form of a result based on evaluation of the equation, such as equation 304 and result 305, and equation 306 and result 307. An equation may be a symbolic or mathematical computation over a set of input data.
Model 300 may also comprise statement(s) of one or more rules, such as rule 308 and the form of a result based on evaluation of the equation, such as rule result 309. The application of some types of rules may trigger a search to be performed, thereby collecting new information. According to some embodiments, when a model such as model 300 containing a rule, such as rule 308, is applied, such as by model application engine 216, the evaluation of the rule performed as part of the application of the model may generate a search query and trigger a search to be performed by the data search engine, such as search engine 204. Thus, in such embodiments, an Internet search may be triggered based on a search query generated by the application of a model to the search data. Though a rule may specify any suitable result. For example, a rule may be a conditional statement and a result that applies, depending on whether the condition evaluated dynamically is true or false. Accordingly, the result portion of a rule may specify actions to be conditionally performed or information to be returned or any other type of information.
Model 300 may also comprise statement(s) of one or more constraints, such as constraint 310 and result 311. A constraint may define a restriction that is applied to one or more values produced on application of the model. An example of a constraint may be an inequality statement such as an indication that the result of applying a model to data 208 retrieved from a search be greater than a defined value.
Model 300 may also include statements of one or more calculations to be performed over input data, such as calculation 312. Each calculation may also have an associated result, such as result 313. In this example, the result may label the result of the specified calculation 312 such that it may be referenced in other statements within model 300 or otherwise specifying how the result of the computation may be further applied in generating information to a user. Calculation 312 may be an expression representing a numerical calculation with a numerical value as a result, or any other suitable type of calculation, such as symbolic calculations. In applying model 300 to data 208 retrieved by a search engine, model application engine 216 may perform any calculations over data 208 that are specified in the model specification, including attempting to solve equations, inequalities and constraints over the data 208. In some embodiments, the statements representing equations, rules, constraints or calculations within a model may be interrelated, such that information generated as a result of one statement may be referenced in another statement within model 300. In such a scenario, applying model 300 may entail determining an order in which the statements are evaluated such that all statements may be consistently applied. In some embodiments, applying a model may entail multiple iterations during which only those statements for which values of all parameters in the statement are available are applied. As application of some statements generates values used to apply other statements, those other statements may be evaluated in successive iterations. If application of a statement in an iteration changes the value of a parameter used in applying another statement, the other statement will again be applied based on the changed values of the parameters on which it relies. Application of the statements in a model may continue iteratively in this fashion until a consistent result of applying all statements in the model occurs from one iteration to the next, achieving a stable and consistent result. Though, it should be recognized that any suitable technique may be used to apply a model 300.
Equation statement 404 is an example of equation 304 of
Result statement 405 is an example of result 305 of
The example of
In step 502, the search stack may receive the user's query. As discussed above, a user's query may be either implicit or explicit. For example, in some embodiments, a search stack may generate a search query on behalf of the user. The search stack, for example, may generate a search query based on context information associated with the user. This may be performed for example, by search engine 204 of
Regardless of how the query is generated, in step 504, the search engine may then retrieve data matching the search results query. The data returned may be based on a match (whether explicit or implicit) between the query (and/or other factors, such as user context and a user profile) and terms in an index accessible to the search engine, such as data index 206 of
The process then flows to step 506, in which the search stack may retrieve one or more models appropriate to the user's search. In the exemplary implementation of
At step 508, the search stack may then apply the retrieved model(s) to the retrieved data. In the exemplary implementation of
Turning to step 510, the search stack may then output results generated as a result of the application of the selected model(s) to the retrieved data. In this example the output may entail returning information to a user computer which can then render the information on a display for a user. In some embodiments, the generated information may include some combination of the result of applying the model on the data returned from the search engine and the data itself. For example, the generated information may filter or reorder the search data based on the application of the model, or may provide additional information or information in a different format than the data returned by the search results. In some embodiments, the reordering of the search data may incorporate a time element. For example, a model may identify a time order of a set of multiple events. Application of such a model may then entail identifying search data related to those events, and generating the information returned to the user in an order in accordance to the time order of the model. Though, it should be recognized that the nature of the information generated may be in any suitable form that can be specified as a result of application of a model, which may contain a combination of elements, such as calculations, equations, constraints and/or rules.
After the data is returned to the user (via the user's computing device), in some embodiments, at step 512, the user may optionally modify the model. More details for step 512 are described in
The user has entered a text query 604, “houses for sale near my office,” in a query input field 602 in the user interface, and sent that query via web browser 600 to a search engine that is part of a search stack according to some embodiments. In response, the search stack returned generated information to the user via the web browser, illustrated in
After receiving the user's query, the search engine may retrieve a set of data (e.g., web pages) including results of houses for sale near the user's office. The set of data returned from the search engine may be based on matches between the query terms and terms in an index relating to the web pages, as discussed above. Though, as illustrated, other sources of data may be used in evaluating the search query. In this example, the search query includes the phrase “my office.” That phrase may be associated with information in a user profile accessible to the search and retrieval system processing the query. Accordingly, on execution of the query, the search and retrieval system may filter results based on geographic location in accordance with the information specified in the user profile. Though, it should be recognized that any suitable technique may be used to process a search query and retrieve data.
Based on the query and/or the retrieved data, an appropriate model may then be selected by the search stack, such as by model selector 210 of
The selected model is then retrieved and applied to the data (i.e., the web pages of houses for sale) resulting from the search. The application of the model to the data may be performed, for example, by model application engine 216. In the example of
Thus, in the example of
Accordingly, as the result of the application of the model specified by the example of
It may also be desirable to allow a user to further customize information returned in response to a request by modifying a model that may be applied to search results to generate such information. In some embodiments, a model may be modified iteratively in a process in which a user may see results of applying a selected model to results of a search query. The user may then modify the model and the system may present to the user results of applying the model as modified to results of the same query. Such an approach can be useful, for example, when the user has access to an existing model that may be adapted by the user, such that the user can see the results of modifying the model by adding new rules, equations, constraints, etc., to an existing model, or by editing such rules, equations, constraints, etc., in the existing model.
The user has entered a text query 704, “evening dresses,” in query input field 602 in the user interface, and sent that query via web browser 600 to a search engine that is part of a search stack according to some embodiments. In response, the search stack returned generated information to the user via the web browser, illustrated in
After receiving the user's query, the search engine may retrieve a set of data (e.g., web pages) including results of evening dresses. Prior to returning information to the user in response to the search query, a component of the search stack may apply a model to the set of data, so that the generated information may be in compliance with the model. In the example of
The user interface displayed in web browser 600 also includes model editing controls 720, which allow a user to modify currently applied model 718a. These may be any suitable type of controls. Even though in some embodiments, a model may be specified as a set of expressions or declarative statements, model editing controls 720 may allow for editing the model in a graphical manner, rather than being limited to editing expressions. In such embodiments, the user interface or other components of a search stack may convert or translate back and forth between declarative statements that may comprise a model specification and aspects of the model specification that may be varied and expressed in a more graphical form.
For example,
Any suitable aspects of the specification of the model that characterize information to be returned when a model is applied may be defined in this way. In some embodiments, the width of the range, that is, the difference between the lower limit (e.g., least expensive dress) and the upper limit (e.g., most expensive dress) may also be adjusted by adjusting the corresponding width of the slide bar. Slide bar control 724, in this example, however is of a different style, because it does not illustrate a range with a lower and upper limit, but instead allows a user to specify a point in a continuum. In some embodiments, the specified point in the continuum may correspond to a range of a predetermined width in the model specification, or it may correspond to a single value. Slide bar control 724, in this example, allows a user to modify the relative formality of dresses in compliance with the model. That is, dresses may be categorized in a continuum between “formal” and “casual.” In this example, editing component 262 may translate the user input to declarative statements such as, “information relates to item classified as ‘casual,’” with a corresponding result portion indicating that when the statement is true for some information, that information is returned to the user. The categorization may be made in any suitable way. For example, it may be specified in the data to be searched or it may be calculated by expressions in the model that analyze the data to be searched to infer a categorization for the data. Model editing controls 720 also include a color picker control 726 that may allow the user to select one or more colors and/or ranges of colors for dresses that are in compliance with the model.
As another example of model editing controls 720,
After modifying a model using model editing controls 720, the model, as modified by the changes, may be applied to generate information in compliance with the modified model. The generation of new information in compliance with the modified model may be triggered in any suitable way. In some embodiments, new information may be generated immediately upon detecting user input via model editing controls. For example, upon sliding one of slide bar controls 722 or 724 may trigger an immediate generation of new information based on the change in the model due to the input from the respective slide bar control. As another example, as a user types in a new expression or edits an expression from currently applied model 718a, new information may be automatically generated to reflect the change in the model. In some embodiments, including that illustrated by
Upon making changes to a model, a user may additionally save the modifications made to the model. Accordingly,
In embodiments in which models may be centrally stored, such as in pool of models 250, access controls may be associated with a model to restrict which users may have access to the model as part of processing a search query for the user. For example, based on the access controls, the new model may be made only available to the current user (i.e., the user who modified the original model), or it may be shared with any suitable group of users (e.g., anyone or the current user's friends).
At step 804, the information retrieval system may apply a model to that body of data generated in response to the request for information obtained in step 802. This step may be performed, for example, by model application engine 216, as discussed above. Though, in some embodiments, the body of data may be transferred to a client computer where a similar model application engine may operate.
At step 806, the information retrieval system may then return to the user the information generated in step 804 based on the application of the model. The process at step 806 may also involve returning to the user an identifier of the model that was applied to generate the information in step 804. The information may be returned to the user by displaying the information using a web browser, though any suitable output mechanism may be used.
At step 808, the information retrieval system may obtain changes to a model. This may be performed, for example, by model editing component 262 of
The model changes may be in any suitable format. For example, they may constitute a complete specification of a new model in the format of a set of expressions that define the new model. Model changes may additionally or alternatively be communicated in a different format as a model specification. For example, model changes may be communicated as a change to an aspect of the specification of the model. A change to an aspect of the specification of the model may involve addition or deletion of an aspect of the specification that is used in identifying information consistent with the model, and/or it may involve a change in value or in a range of values associated with an aspect of the specification of the model. For example, according to the example of
Though, the model may be changed in other ways, such as by deleting the color aspect from the model. In this case, information identified by application of the model does not depend on color of an item to which the information relates. As another example, a change may add an aspect. For example, an aspect relating to fabric could be added and a value identifying cotton could be assigned to that aspect. In this case, subsequent application of the model may return information about items that are made of cotton.
Thus, in the example of
At step 810, the identified model is then modified based on the obtained changes. This step may involve creating a new model based on the original model and the obtained changes but leaving the original model intact, or it may involve actually changing the original model. When the model changes are not in the format of a model specification, model editing component 262 or any suitable other component of the search stack may first translate or convert the model changes into expressions in the appropriate format of a model specification before the model is modified.
At step 812, the process may involve optionally storing the modified model. This may be done in any suitable way. For example, a new model representing the original model may be added to pool of models 250, and/or the original model (if stored in pool of models 250) may be replaced in pool of models 250 by the modified model. Storage of the modified model may include an identification of a user who modified the model and/or an indication of access rights to the modified model. For example, an indication may be stored specifying which users (e.g., current user only, friends of the current user, anyone, etc.) may have access to the modified model for use in the application to search results. In some embodiments, models may alternatively or additionally be stored local to a client (e.g., computing device 105) of the information retrieval system. In such embodiments, in step 812, a specification for the modified model may be transmitted to the client for storage on the client. The modified model may be stored on the client in any suitable way, including in a web browser cookie. When the model is stored on the client, it may be used, for example, in situations in which the client sends the model to the information retrieval system along with a request for information, so that the model may then be applied by the information retrieval system. A model stored on the client may also be used in situations in which the client itself applies the model to information retrieved from a search engine, in order to generate the information displayed to the user.
At step 814, the process may optionally involve applying the modified model to generate information in compliance with the modified model. This step may be performed automatically upon obtaining the changes to the model, or it may be performed in response to an additional message or command from the user. The information may be generated in response to a request for information obtained from the user. The request for information may have been previously obtained, such as at step 802, before the changes to the model were obtained in step 810. In such embodiments, the information retrieval system may have already returned information to the user in response to the request for information based on an application of the original, unmodified model, such as at step 804. In such embodiments, data that was retrieved from a search engine in response to the request for information in step 802 and over which the original model was applied at step 804 may be cached by the information retrieval system. Thus, at step 814, the modified model may be applied to the cached data, obviating the need to retrieve the data again using the search engine. Additionally or alternatively, a new request for information may have been newly obtained after or around the same time as the changes to the model were obtained, in which case the search engine may retrieve a new set of data over which to apply the modified model.
At step 816, the process may optionally involve returning the information generated based on the application of the modified model to the user. Optionally, an identifier of the modified model may also be transmitted to the user, indicating for example, that the modified model rather than the original model was applied to generate the returned information.
The process of
At step 904, the process may receive user input indicating changes to the model. This may be done in any suitable way, including via types of controls described in connection with
Optionally, at step 908, user input indicating a request for information may also be received by the client. The request for information may be in any suitable format, including those discussed above, and be received in any suitable way, including for example, via query input field 602 of
At step 912, the client optionally may then, in response to the request for information, receive from the information retrieval system information in compliance with the model as changed according to the sent changes. At step 914, the client optionally may then display the information returned in step 912, for example, via the user interface illustrated in
It is also to be appreciated that at least some of the steps of the process of
Furthermore, data retrieved by a search engine in response to a search query may be cached anywhere in the search stack, including in the information retrieval system, in a client, or anywhere in between. When the data is cached on a client computer, such as computing device 105, the application of a model to the data may be performed on the client computer. Thus, the model may be stored on the client, or may have been transmitted to the client by the information retrieval system. In such embodiments, software executing on the client may not only modify a model, but also apply the modified model to the cached data to generate information returned and displayed to the user of the client. Thus, by allowing the client to itself apply the model to cached data returned from a prior request for information, such embodiments obviate the need for back and forth communication between the client and the information retrieval system in order to view the result of applying a modified model to a previously performed request for information. This may be particularly useful when the client is a mobile computing device, in which a significant portion of time may be expended in transmitting search results from a search engine to the client. By caching the results on the client, the transmission of search results may only need to be performed once, while the application of a modified model to the search results may be performed multiple times in an iterative fashion on the client, thereby yielding improved response time or reduced data charges from a cellular service provider providing wireless communication services for the mobile device.
Having thus described several aspects of at least one embodiment of this invention, it is to be appreciated that various alterations, modifications, and improvements will readily occur to those skilled in the art.
Such alterations, modifications, and improvements are intended to be part of this disclosure, and are intended to be within the spirit and scope of the invention. Accordingly, the foregoing description and drawings are by way of example only.
The above-described embodiments of the present invention can be implemented in any of numerous ways. For example, the embodiments may be implemented using hardware, software or a combination thereof. When implemented in software, the software code can be executed on any suitable processor or collection of processors, whether provided in a single computer or distributed among multiple computers.
Further, it should be appreciated that a computer may be embodied in any of a number of forms, such as a rack-mounted computer, a desktop computer, a laptop computer, or a tablet computer. Additionally, a computer may be embedded in a device not generally regarded as a computer but with suitable processing capabilities, including a Personal Digital Assistant (PDA), a smart phone or any other suitable portable or fixed electronic device.
Also, a computer may have one or more input and output devices. These devices can be used, among other things, to present a user interface. Examples of output devices that can be used to provide a user interface include printers or display screens for visual presentation of output and speakers or other sound generating devices for audible presentation of output. Examples of input devices that can be used for a user interface include keyboards, and pointing devices, such as mice, touch pads, and digitizing tablets. As another example, a computer may receive input information through speech recognition or in other audible format.
Such computers may be interconnected by one or more networks in any suitable form, including as a local area network or a wide area network, such as an enterprise network or the Internet. Such networks may be based on any suitable technology and may operate according to any suitable protocol and may include wireless networks, wired networks or fiber optic networks.
Also, the various methods or processes outlined herein may be coded as software that is executable on one or more processors that employ any one of a variety of operating systems or platforms. Additionally, such software may be written using any of a number of suitable programming languages and/or programming or scripting tools, and also may be compiled as executable machine language code or intermediate code that is executed on a framework or virtual machine.
In this respect, the invention may be embodied as a computer readable medium (or multiple computer readable media) (e.g., a computer memory, one or more floppy discs, compact discs (CD), optical discs, digital video disks (DVD), magnetic tapes, flash memories, circuit configurations in Field Programmable Gate Arrays or other semiconductor devices, or other non-transitory, tangible computer storage medium) encoded with one or more programs that, when executed on one or more computers or other processors, perform methods that implement the various embodiments of the invention discussed above. The computer readable medium or media can be transportable, such that the program or programs stored thereon can be loaded onto one or more different computers or other processors to implement various aspects of the present invention as discussed above.
The terms “program” or “software” are used herein in a generic sense to refer to any type of computer code or set of computer-executable instructions that can be employed to program a computer or other processor to implement various aspects of the present invention as discussed above. Additionally, it should be appreciated that according to one aspect of this embodiment, one or more computer programs that when executed perform methods of the present invention need not reside on a single computer or processor, but may be distributed in a modular fashion amongst a number of different computers or processors to implement various aspects of the present invention.
Computer-executable instructions may be in many forms, such as program modules, executed by one or more computers or other devices. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Typically the functionality of the program modules may be combined or distributed as desired in various embodiments.
Also, data structures may be stored in computer-readable media in any suitable form. For simplicity of illustration, data structures may be shown to have fields that are related through location in the data structure. Such relationships may likewise be achieved by assigning storage for the fields with locations in a computer-readable medium that conveys relationship between the fields. However, any suitable mechanism may be used to establish a relationship between information in fields of a data structure, including through the use of pointers, tags or other mechanisms that establish relationship between data elements.
Various aspects of the present invention may be used alone, in combination, or in a variety of arrangements not specifically discussed in the embodiments described in the foregoing and is therefore not limited in its application to the details and arrangement of components set forth in the foregoing description or illustrated in the drawings. For example, aspects described in one embodiment may be combined in any manner with aspects described in other embodiments.
Also, the invention may be embodied as a method, of which an example has been provided. The acts performed as part of the method may be ordered in any suitable way. Accordingly, embodiments may be constructed in which acts are performed in an order different than illustrated, which may include performing some acts simultaneously, even though shown as sequential acts in illustrative embodiments.
Use of ordinal terms such as “first,” “second,” “third,” etc., in the claims to modify a claim element does not by itself connote any priority, precedence, or order of one claim element over another or the temporal order in which acts of a method are performed, but are used merely as labels to distinguish one claim element having a certain name from another element having a same name (but for use of the ordinal term) to distinguish the claim elements.
Also, the phraseology and terminology used herein is for the purpose of description and should not be regarded as limiting. The use of “including,” “comprising,” or “having,” “containing,” “involving,” and variations thereof herein, is meant to encompass the items listed thereafter and equivalents thereof as well as additional items.