首页> 外国专利> System and method for efficient binary encoding of procedures in a document processing language

System and method for efficient binary encoding of procedures in a document processing language

机译:用于以文档处理语言对过程进行有效二进制编码的系统和方法

摘要

A system and method for converting a textual representation of nested procedures into a binary format where the binary format contains the length of each procedure at the beginning of the procedure. The system can be implemented using a single temporary storage buffer which is globally available to each procedure and procedures nested within. The first clear text procedure of a group of nested procedures causes the temporary storage buffer to be created. Memory locations are reserved in the temporary storage buffer for storing the length of the procedure, and then the procedure is converted to binary format which is then appended to the end of the buffer after the space reserved for the length of the procedure. Procedures which are nested within the first procedure also have space reserved in the buffer for length information and the binary representations of the nested procedures are appended onto the end of the buffer. When a procedure ends, the length of the procedure is calculated and written into the space previously reserved for length information. The single memory buffer can be considered a logically contiguous memory buffer. Other logically contiguous memory buffers include multiple memory buffers which can be kept track of using an array index of a double linked list data structure.
机译:一种用于将嵌套过程的文本表示形式转换为二进制格式的系统和方法,其中二进制格式在过程的开头包含每个过程的长度。可以使用单个临时存储缓冲区实现该系统,该缓冲区对于每个过程以及嵌套在其中的过程都是全局可用的。一组嵌套过程中的第一个明文过程导致创建临时存储缓冲区。在临时存储缓冲区中保留内存位置以存储过程的长度,然后将过程转换为二进制格式,然后将其追加到为过程的长度保留的空间之后的缓冲区末尾。嵌套在第一个过程中的过程还在缓冲区中保留了空间,以获取长度信息,并且嵌套过程的二进制表示形式附加到了缓冲区的末尾。当过程结束时,将计算过程的长度并将其写入先前为长度信息保留的空间。可以将单个内存缓冲区视为逻辑上连续的内存缓冲区。其他逻辑上连续的内存缓冲区包括多个内存缓冲区,可以跟踪使用双链表数据结构的数组索引。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号