EP0928070A2

Compression of documents with markup language that preserves syntactical structure

Abstract

Communication channels between mobile telephones and networks like the Internet have very limited bandwidths. The transmission of documents expressed in various forms like markup languages is made more efficient by compressing document elements into codes such that syntactical characteristics of the elements can be determined readily from the encoded representations. An indication of the presence of syntax information like markup language tag attributes and content is conveyed in a position relative to the code beginning that is predefined. Preferably, the position is independent of the type of element that is represented. In this manner, compressed or encoded representations of document elements can be processed efficiently without need for expansion or decoding. In addition, future extensions to the markup language can be processed efficiently by existing encoders and decoders that are not cognizant of the new extensions. <IMAGE>

EP0928070A2, drawing sheet 1
Sheet 1 of 9

Term

Term ended

Projected expiry passed 22 December 2018, 7.8 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

18 claims: 7 independent, 11 dependent

  1. 1
    A method for reducing capacity requirements of input information representing a document, the method comprising:- receiving the input information representing the document and identifying a plurality of elements therein, wherein each element has a respective type and wherein at least some of the elements have syntax information representing one or more respective syntactical characteristics;generating a plurality of codes, a respective code having a beginning and representing at least a portion of a respective element in a form having an information capacity requirement that is lower than the information capacity requirement of the represented portion, wherein the respective code conveys the respective element type and a syntax indication indicating presence or absence of syntax information for the respective element, and wherein the respective code conveys the syntax indication in a predefined position relative to the beginning of the respective code;andgenerating encoded information representing the document by assembling the plurality of codes and portions of the plurality of elements not represented by the plurality of codes into a form suitable for transmission or storage.
  2. 3
    A method for recovering decoded information representing a document from encoded information, wherein the document comprises a plurality of elements, the method comprising:- receiving encoded information representing the document and identifying a plurality of codes therein, wherein a respective code has a beginning, represents at least a portion of a respective element, conveys a respective type indication indicating the respective element type and conveys a respective syntax indication indicating presence or absence of syntax information representing one or more syntactical characteristics of the respective element;obtaining respective syntax indications from respective codes at predefined positions relative to the beginning of the respective codes;generating a plurality of decoded representations, wherein a respective decoded representation is derived from a respective code and corresponds to the portion of the respective element that is represented by the respective code, wherein the respective syntax indication controls generation of decoded representations that represent syntax information, and wherein the respective decoded representation is derived in a manner such that information capacity requirements of the respective decoded representation is greater than information capacity requirements of the respective code;andassembling the plurality of decoded representations and portions of the plurality of elements not represented by the codes to generate output information representing the document.
  3. 12
    A method for recovering decoded information representing a document from encoded information comprising a plurality of encoded elements in a compressed form, the method comprising:- processing an encoded element to identify element type and to obtain a syntax indication of element syntactical characteristics, wherein the syntax indication is obtained from a predefined position within the encoded element relative to the encoded element beginning and a compressed representation of the element type is expanded into an uncompressed form of a markup language tag;wherein if the syntax indication indicates that at least one tag attribute is present, processing tag attribute information in the encoded element by expanding a compressed representation of the tag attribute information into an uncompressed form of a markup language tag-attribute name or a tag-attribute value;and wherein if the syntax indication indicates that tag content is present, processing the tag content information in the encoded element according to a process appropriate for the tag content.
  4. 15
    A method according to any one of claims 12 through 14 that further comprises generating signals representing a presentation for display on a device by processing the output information according to the elements therein, wherein the processing uses the syntax indication of one or more elements in said output information to avoid processing tag attribute information or tag content that otherwise would affect one or more characteristics of the presentation.
  5. 16
    A method according to any one of claims 12 through 15 wherein the encoded information includes one or more instances of encoded elements of an unsupported type that are not expanded into an uncompressed form of a markup language tag, and wherein the output information is generated by also assembling the one or more instances of encoded elements of the unsupported type.
  6. 17
    A method according to any one of claims 12 through 16 wherein the encoded information includes an indication of a selected code book that is selected from a plurality of code books and wherein the markup language tag, tag-attribute name or tag-attribute value is expanded into an uncompressed form according to the selected code book.
  7. 18
    A method according to any one of claims 12 through 17 wherein the compressed representation of element type has a fixed length and the syntax indication is conveyed at a fixed position within the compressed representation of element type.