Voice Browser XML Bytecode Caching for Channel Density
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Voice applications written in XML-based languages with embedded JavaScript code suffer from inefficiencies due to repeated processing of XML documents across multiple channels, leading to slower performance and lower channel densities compared to compiled applications.
Innovation Solution
A method and system that cache the processed bytecode of XML-based documents, allowing multiple channels to access and execute the cached bytecode without reprocessing the document, thereby improving efficiency and reducing processing time.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of manufacture
If XML documents with embedded JavaScript are parsed and processed into bytecode for each channel, then the applications can be easily created and executed, but the processing time increases and channel density decreases
Solution Approach 1:
The patent applies preliminary action by pre-compiling XML documents into bytecode representations before they are needed for execution. The voice browser compiles XML documents into bytecode and stores them in a cache, so that when multiple channels need to execute the same document, the pre-compiled bytecode is readily available without requiring repeated parsing and processing, thereby increasing channel density while maintaining ease of application creation
Solution Approach 2:
The patent applies copying by creating bytecode representations of XML documents that can be copied and shared across multiple channels. Instead of each channel independently processing the original XML document, the system creates a bytecode copy that can be efficiently distributed and executed by multiple channels simultaneously, improving both channel density and processing speed
2Adaptability or versatility
If XML documents are parsed and JavaScript is processed for each channel execution, then the applications remain flexible and easy to modify, but the execution speed decreases
Solution Approach 1:
The patent applies preliminary action by pre-compiling XML documents into bytecode representations before they are needed for execution. The voice browser compiles XML documents into bytecode and stores them in a cache, so that when multiple channels need to execute the same document, the pre-compiled bytecode is readily available without requiring repeated parsing and processing, thereby increasing channel density while maintaining ease of application creation
Solution Approach 2:
The patent applies copying by creating bytecode representations of XML documents that can be copied and shared across multiple channels. Instead of each channel independently processing the original XML document, the system creates a bytecode copy that can be efficiently distributed and executed by multiple channels simultaneously, improving both channel density and processing speed
3Reliability
If multiple channels simultaneously process the same XML document, then each channel gets dedicated processing resources, but the overall system efficiency and energy consumption are reduced
Solution Approach 1:
The patent applies merging by combining the processing efforts of multiple channels into a single compilation step. Instead of each channel independently parsing and processing the XML document, the system merges their needs into one compilation operation that produces a shared bytecode representation, thereby reducing redundant processing and improving energy efficiency while maintaining channel independence through the use of cached bytecode
Data Source
AI summary
A method, system and voice browser execute voice applications to perform a voice-based function. A document is retrieved and parsed to create a parse tree. Script code is created from the parse tree, thereby consuming part of the parse tree to create a reduced parse tree. The reduced parse tree is stored in a cache for subsequent execution to perform the voice-based function.


