Patent ID: 7415665
Filing Date: 2008-08-19
Classification: H03M,Y10S

Abstract:
1. A method for compressing and decompressing a file within a network router comprising computer markup language, comprising: reading contents of a markup language file; determining a single placeholder value; identifying a first and second markup language tag; identifying the data and the data structure associated with the first and second markup language tags; pushing the first markup language tag and the data onto a stack; replacing the second markup language tag with the single placeholder value, the single placeholder value indicating the end of the data and-indicating that the structure of the data is defined by at least the first markup language tag such that upon decompression the single placeholder value is directly replaced by a complement of the first markup language tag, wherein every second markup language tag throughout the file is replaced by the single placeholder value; pushing the single placeholder value onto the stack; popping the first markup language tag, the data and the single placeholder value from the stack; identifying by the existence of the single placeholder value that the second markup language tag is the complement to the first markup language tag; generating the second markup language tag that is the complement to the first markup language tag; and storing the data and the first and second markup language tags in memory.