首页> 外国专利> Electronic document delivery system employing distributed document object model (DOM) based transcoding and providing interactive javascript support

Electronic document delivery system employing distributed document object model (DOM) based transcoding and providing interactive javascript support

机译:电子文档传送系统,该系统采用基于分布式文档对象模型(DOM)的代码转换并提供交互式JavaScript支持

摘要

Several different embodiments of an electronic document delivery system are described including a client machine (e.g., a palmtop/handheld computer or wireless communication device) coupled to a transcoder proxy. One embodiment of the system allows a client machine with limited resources to support JAVASCRIPT. The transcoder proxy receives an electronic document in a first digital format (e.g., HTML or XML). A JAVASCRIPT event may be associated with an element of the document including JAVASCRIPT code executed in response to the JAVASCRIPT event. The transcoder proxy assigns a unique identifier to the element, and forms a model of a logical structure of the document (e.g., a document object model or DOM). The transcoder proxy uses the model to produce an “original” script including a portion of the document expressed in a second digital format (e.g., a scripting language), and provides the original script to the client machine. The client machine uses the original script to display/present the document portion. The client machine associates the JAVASCRIPT event with the element identifier, generates the JAVASCRIPT event in response to user input, and provides JAVASCRIPT event information and the associated identifier to the transcoder proxy. The transcoder proxy accesses the element within the model using the identifier, executes the JAVASCRIPT code producing a result, uses the model and the result to produce a “modification” script, and provides the modification script to the client machine. The client machine uses the modification script to modify the displayed/presented portion of the document.
机译:描述了电子文档传递系统的几种不同的实施例,包括耦合到代码转换器代理的客户端机器(例如,掌上型/手持式计算机或无线通信设备)。该系统的一个实施例允许资源有限的客户端机器支持JAVASCRIPT。代码转换器代理接收第一数字格式(例如,HTML或XML)的电子文档。 JAVASCRIPT事件可以与包括响应于JAVASCRIPT事件而执行的JAVASCRIPT代码的文档的元素相关联。代码转换器代理将唯一标识符分配给元素,并形成文档的逻辑结构的模型(例如,文档对象模型或DOM)。代码转换器代理使用该模型来产生“原始”脚本,该“原始”脚本包括以第二数字格式(例如,脚本语言)表示的文档的一部分,并将原始脚本提供给客户端计算机。客户端计算机使用原始脚本来显示/显示文档部分。客户端机器将JAVASCRIPT事件与元素标识符相关联,响应于用户输入生成JAVASCRIPT事件,并将JAVASCRIPT事件信息和关联的标识符提供给代码转换器代理。代码转换器代理使用标识符访问模型中的元素,执行产生结果的JAVASCRIPT代码,使用模型和结果产生“修改”脚本,并将修改脚本提供给客户端计算机。客户端计算机使用修改脚本来修改文档的显示/显示部分。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号