Method and apparatus for caching VoiceXML documents
AssigneeInternational Business Machines Corporation
InventorDaniel Lee Yuk Cheung
Life of this patent
Estimating the term…
Abstract
This invention relates to a method and apparatus in an interactive voice response system for caching VoiceXML documents. A method and system for processing a VoiceXML document prior to interpretation by a browser comprises: receiving a document from a web server; constructing a document object model (DOM) of the constituent parts of the document for interpretation by a browser; storing the DOM and the constituents parts in cache memory whereby next time the DOM and parts are required for interpretation it is retrieved from cache memory rather than constructed again from the source code. The constituent parts may be re-used in the or other documents. The constituent parts are separated into logic and data parts.
Claims20
A method of processing a voice mark-up language document prior to interpretation by a browser comprising:
- receiving a voice mark-up language document from a remote server;
- constructing a document object model of constituent parts of the voice mark-up document for interpretation by a browser;
- deconstructing the document object model in parts, wherein the parts comprise fragments, content, and constructors;
- caching the parts separately in local memory, wherein next time the parts are required for interpretation, the parts are retrieved from local memory rather than constructed again from source code;
- responsive to receiving a phone call, rebuilding the parts to reform the document object model by retrieving the parts cached in the local memory;
- and
- executing the document object model.
An interactive voice response system comprising:
- means for receiving a voice mark-up document from a remote server;
- a local memory,
- wherein a parser stored in the local memory is configured to construct a document object model of constituent parts of the voice mark-up document for interpretation by a browser, deconstruct the document object model into parts, wherein the parts comprise fragments, content, and constructors;
- and
- a cache for caching the parts separately in local memory whereby in response to receiving a phone call, the parts are retrieved and the parts are rebuilt to form the document object model from local memory rather than constructed again from source code.
A computer program product for processing one or more sets of data processing tasks, said computer program product comprising computer program instructions stored on a computer-readable storage medium including:
- computer usable program code for receiving a voice mark-up document from a remote server;
- computer usable program code for constructing a document object model of constituent parts of the voice mark-up document for interpretation by a browser;
- computer usable program code for deconstructing the document object model in parts, wherein the parts comprise fragments, content, and constructors;
- computer usable program code for caching the parts separately in local memory, wherein next time the parts are required for interpretation, the parts are retrieved from local memory, rather than constructed again from source code;
- computer usable program code responsive to receiving a phone call, for rebuilding the parts to reform the document object model by retrieving the parts from a cache;
- and
- computer usable program code for executing the document object model.
Dependencies are inferred from the claim text.