Automated Voice Command Mapping for Web Service Integration
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Adding speech-enabled functionality to applications is complex, labor-intensive, and time-consuming due to the need for manual integration of web services, which requires significant coding and knowledge of web service dependencies.
Innovation Solution
A computer-implemented method that parses web service definition files to auto-generate natural language interfaces and implementation files, mapping voice commands to web services and accounting for dependencies, thereby dynamically adding functionality to speech-enabled applications.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If manual integration of web services is used to add speech-enabled functionality, then the application can invoke web services with proper dependency handling, but the process becomes complex, labor-intensive, and time-consuming
Solution Approach 1:
The system performs preliminary actions by automatically generating the code framework, natural language command mappings, and dependency configurations before the developer needs to use them. This includes creating the invocation handlers, parsing logic, and response management code in advance, so that when speech-enabled functionality is needed, the groundwork is already prepared and only customization is required.
Solution Approach 2:
The patent introduces an intermediary system that acts as a bridge between web services and speech-enabled applications. This intermediary automatically handles the complex mapping between natural language commands and web service invocations, manages dependency resolution, and generates the necessary integration code, thereby simplifying the developer's task while ensuring reliable web service invocation.
2Measurement precision
If developers manually map voice commands to web services, then precise control over command-routing is achieved, but significant coding and knowledge of web service dependencies are required
Solution Approach 1:
The system enables self-service by allowing web services to automatically generate their own invocation handlers and command mappings. The web service definitions include metadata about their dependencies and required parameters, which the system uses to automatically create the appropriate natural language command mappings and routing logic, eliminating the need for developers to manually configure each mapping with high precision.
Solution Approach 2:
The patent changes the parameters of the integration process from manual, precision-critical configurations to automated, template-based generations. By transforming web service definitions into standardized code templates with automatic parameter binding, the system maintains precise command routing while dramatically reducing the complexity and knowledge required from developers.
3Stability of the object's composition
If web services are integrated with full dependency tracking, then proper service chaining is achieved, but the process becomes convoluted and complex to determine and incorporate
Solution Approach 1:
The system segments the dependency management process into distinct, manageable components: dependency declaration in web service definitions, automatic dependency graph construction, and incremental code generation. This segmentation allows the complex dependency tracking to be broken down into simple, automated steps that maintain stable service composition without convoluted manual management.
Data Source
AI summary
A computer-implemented method includes: receiving a web service definition file that identifies multiple web services; parsing the web service definition file; identifying respective voice commands to associate with each of the multiple web service based on the parsing; generating a skillset utterances file that maps the respective voice commands to the multiple web services; generating a skillset implementation file that maps the multiple web services to a respective set of instructions, wherein each of the respective set of instructions is used to invoke a corresponding web service; receiving an input voice command from a user via a user device; identifying a particular web service, of the multiple web services, associated with the input voice command based on information included in the skillset utterances file; and invoking the particular web service in accordance with the set of instructions associated with the particular web service included in the skillset implementation file.


