Binary caching for XML documents with embedded executable code
AssigneeAvaya Inc.
InventorsLin Lin, Ping Lin
Life of this patent
Estimating the term…
Abstract
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.
Claims20
A voice browser for executing voice applications to perform a voice-based function, the voice browser comprising:
- a communication interface configured to retrieve an XML based document;
- a memory;
- and
- a processor communicatively coupled to the communication interface and memory, the processor configured to:
- in response to receiving a first request for the XML based document on a first communication channel:
- process the XML based document to create bytecode associated with the XML based document;
- cause the bytecode associated with the XML based document to be stored in the memory;
- and
- process the stored bytecode associated with the XML based document to perform a voice based function for the first communication channel;
- and
- in response to receiving a second request for the XML based document on a second communication channel:
- determine that the bytecode is stored in the memory and, responsively, process the stored bytecode associated with the XML based document to perform the voice based function for the second communication channel.
A method for executing voice applications to perform a voice-based function, the method comprising:
- retrieving an XML based document;
- in response to receiving a first request for the XML based document on a first communication channel:
- processing the XML based document to create bytecode associated with the XML based document;
- storing the bytecode associated with the XML based document;
- and
- processing the stored bytecode associated with the XML based document to perform a voice based function for the first communication channel;
- and
- in response to receiving a second request for the XML based document on a second communication channel:
- determining that the bytecode is stored in the memory and, responsively, process the stored bytecode associated with the XML based document to perform the voice based function for the second communication channel.
A method for executing voice applications to perform a voice-based function, the method comprising:
- receiving a first request for an XML based document on a first communication channel;
- in response to the first request:
- retrieving the XML based document;
- processing the XML based document to create bytecode, the bytecode being associated with the first request;
- storing the bytecode associated with the first request;
- receiving a second request for the XML based document on a second communication channel;
- and
- in response to receiving the second request for the XML based document, determining that the bytecode is stored and, responsively, processing the stored bytecode associated with the first request to perform a voice based function on the second communication channel.
Dependencies are inferred from the claim text.