主权项 |
1. A method comprising:
receiving, by a processing system, a search query containing one or more query terms from a remote device; determining, by the processing system, one or more query parses based on the search query and a knowledge base, each query parse indicating one or more entity types, wherein each entity type corresponds to a query term or a combination of query terms contained in the search query and one or more characteristics of a corresponding entity; obtaining, by the processing system, a set of app-specific rules, each app-specific rule corresponding to a respective software application of a plurality of software applications executable on the remote device, the app-specific rules respectively defining a template to generate an unparameterized function identifier given a set of entity types and instructions defining a manner by which the template is used, wherein the unparameterized function identifier:
identifies the respective software application and includes one or more unparameterized parameter fields; andwhen the one or more unparameterized parameter fields are parameterized with one or more values, corresponds to one or more access mechanisms for accessing a state of the identified software application; generating, by the processing system, a set of unparameterized function identifiers based on the set of app-specific rules and the one or more query parses; parameterizing, by the processing system, each unparameterized function identifier based on the query terms; generating, by the processing system, search results based on the parameterized function identifiers; and transmitting, by the processing system, the search results to the remote device. |