摘要:
A method and system of compiling and caching voice application documents in order to provide more efficient retrieval of resources in a web-programming model such as in the VoiceXML domain. The method and system of the present invention requires that a voice application resource such as a VoiceXML document first be transformed into a representative object model before it is stored in the system's cache memory, and that this model becomes the voice application resource that is ultimately executed by the VoiceXML interpreter. The representative object model contains all of the data of the original source document but in a compressed and optimized format therefore occupying a smaller footprint in memory. The representative object model also contains the code necessary to execute the data. Further, the compressed representative object model does not need to be compiled again before execution. Because the object model stored in cache contains a compiled representation of the original resource and not the original resource itself, it can be executed as a binary object, thus leading to greater efficiency during execution and the reduction of cost and hardware utilization.
摘要:
A method and system for testing voice applications, such as VoiceXML applications, is provided. The system provides a run-time simulation environment for applications that simulates and automates user interaction. A user simulation script is provided in a customized mark-up language. The voice application is processed to derive a nominal output of the voice application. The user simulation script is processed to generate a simulated output for the voice application corresponding to the nominal output. The user simulation script is also processed to generate a simulated input for the voice application corresponding to a pre-determined user input to the voice application. The simulated inputs and outputs are executed in conjunction with the voice application in real-time to test the application. Execution time rates for text based input and output are calculated based on empirical speaking rates of human users.
摘要:
A method, system and apparatus for caching operational code in a voice markup interpreter. A method of processing script logic embedded in voice markup can include the step of transforming a script embedded in voice markup to an object representation of a compiled form of the script. Subsequently, the object representation can be cached so that the cached object representation can be retrieved and accessed in lieu of compiling the script. Notably, the transforming step can be performed when parsing the script in a voice markup interpreter.
摘要:
A method, system and apparatus for integrating object code in a voice application. In accordance with the present invention, a system for integrating application objects within voice markup can include a voice markup interpreter configured to process voice markup. The system further can include reflective logic programmed to match references to external application object methods with methods defined within external application objects. Finally, the system can include an object pre-processor disposed in the interpreter and configured both to invoke matched ones of the external application object methods referenced in voice markup, and also to map results from the invoked external application objects to references to the results in the voice markup.
摘要:
A method and system of storing and accessing documents on a computer file system utilizing a file system-independent key for use in an index-less browser caching mechanism. The present invention is a method and system for storing a resource such as a document or group of documents on a computer file system using a Universal Resource Indicator (URI) as the file name by generating a unique system-independent key from the URI for use in an index-less browser caching system. The invention takes into account the various file entry length limitations enforced by each unique file system by converting the specified URI into a key containing hexadecimal values of the key's characteristics. In this fashion, an index-less browser caching system such as a Web browser of a VoiceXML browser is created that is file system-independent.