Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
US7856595B2 - Structured document compressing apparatus and method, record medium in which a structured document compressing program is stored, structured document decompressing apparatus and method, record medium in which a structured document decompressing program is stored, and structured document processing system - Google Patents
[go: Go Back, main page]

US7856595B2 - Structured document compressing apparatus and method, record medium in which a structured document compressing program is stored, structured document decompressing apparatus and method, record medium in which a structured document decompressing program is stored, and structured document processing system - Google Patents

Structured document compressing apparatus and method, record medium in which a structured document compressing program is stored, structured document decompressing apparatus and method, record medium in which a structured document decompressing program is stored, and structured document processing system Download PDF

Info

Publication number
US7856595B2
US7856595B2 US09/826,915 US82691501A US7856595B2 US 7856595 B2 US7856595 B2 US 7856595B2 US 82691501 A US82691501 A US 82691501A US 7856595 B2 US7856595 B2 US 7856595B2
Authority
US
United States
Prior art keywords
tag
unit
attribute
markup
list
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related, expires
Application number
US09/826,915
Other languages
English (en)
Other versions
US20020065822A1 (en
Inventor
Noriko Itani
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Assigned to FUJITSU LIMITED reassignment FUJITSU LIMITED ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: ITANI, NORIKO
Publication of US20020065822A1 publication Critical patent/US20020065822A1/en
Application granted granted Critical
Publication of US7856595B2 publication Critical patent/US7856595B2/en
Adjusted expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • G06F16/84Mapping; Conversion

Definitions

  • the present invention relates to a technique of compression and decompression of a structured document in SGML (Standard Generalized Markup Language), XML (extensible Markup Language) or the like, particularly, to a technique suitable for use when a number of structured documents having a common data structure such as a number of slips having the format or the like are handled.
  • SGML Standard Generalized Markup Language
  • XML extensible Markup Language
  • FIG. 19 is a diagram for illustrating general universal data compression, for example. As shown in FIG. 19 , XML documents 1 , 2 and 3 are compressed and converted into binary data 1 , 2 and 3 in universal data compression.
  • XML As a standard to unify data forms, XML is recommended in February, 1998 by W3C (World Wide Web Consortium). XML is a subset of SGML that is the similar standard. In XML, tags are embedded in the document, whereby a data structure of the document is described. A document described in XML or SGML is generally called a structured document.
  • the structured document has advantages of high flexibility/extensibility with respect to the data structure because of the tags embedded for indication of the data structure.
  • a tag is described in a text understandable for users, making a data structure of the XML document visually recognizable. Accordingly, it is easy to exchange data, and to unify plural kinds of description systems in an unstrict manner. This implies that data of a structured document never depends on the application.
  • a character string sandwiched between “ ⁇ ” and “>” is called a tag
  • “ ⁇ character-string>” is called a start tag
  • “ ⁇ /character-string>” is called an end tag
  • a character string described in a region sandwiched between a start tag and an end tag is called an element (or an element content), according to the XML standard.
  • XML documents described according to the XML standard has nowadays been frequently encountered, particularly, in fields of Web and database.
  • XML documents have been widely used in EDI (Electric Data Interchange), EC (Electric Commerce), portable telephone service, digital television service, Web service, etc.
  • FIG. 20 is a block diagram showing an example of a structure of a general system handling the above-described XML documents.
  • the system shown in FIG. 20 comprises a hard disk (database) 10 , a reading unit 20 , a memory expanding unit 30 and a memory 40 .
  • the hard disk (database) 10 stores and holds XML documents (three XML documents, 1 , 2 , 3 in FIG. 20 ).
  • the reading unit 20 reads out the XML documents in the hard disk 10 to the memory expanding unit 30 .
  • the memory expanding unit 30 which comprises an analyzing unit 31 , a generating unit 32 and a storing unit 33 , expands the XML documents inputted from the reading unit 20 on the memory 40 .
  • the analyzing unit 31 analyzes tags in each of the XML documents to be expanded on the memory 40 to analyze a data structure (tree structure) of the XML document.
  • the generating unit 32 generates document data according to each of the XML documents on the basis of a result of data structure analysis by the analyzing unit 31 .
  • the storing unit 33 expands the document data generated by the generating unit 32 on the memory 40 and stores it in the memory 40 .
  • an XML document stored in the hard disk 10 is read out by the reading unit 20 .
  • the analyzing unit 31 analyzes a data structure (tree structure) of the XML document.
  • the generating unit 32 then generates document data corresponding to the XML document according to a result of data structure analysis by the analyzing unit 31 .
  • the generated document data is expanded on the memory 40 and stored therein by the storing unit 33 .
  • XML documents have high flexibility/expandability with respect to the data structures, and is visually recognizable.
  • a tag is described such that a meaning of the tag is comprehensible for users, which leads to a redundant description. This causes a large increase in data quantity of the XML document. For this, tit has ever been cherished to compress the XML document to decrease the data quantity.
  • a load of the tag analyzing process (data structure analyzing process) by the analyzing unit 31 is increased, since the data structure of the XML document (structured document) is embedded as tags in the XML document.
  • a number of XML documents (for example, order slips) having a common data structure are expanded on the memory 40 , it is necessary to perform the data structure analysis on each of the XML documents separately, in spite of a common data structure being shared. Resultantly, wasteful tag analysis, thus necessitated, causes an increased processing load.
  • one object of the present invention is to compress a structured document, without impairing the visual recognizability of the data structure or flexibility/expandability, a part of the advantages of XML documents, thereby decreasing a data quantity of the structured document.
  • the present invention therefore provides a first structured document compressing apparatus.
  • the first structured document compressing apparatus is for compressing a plurality of structured documents having a common data structure, the apparatus comprising: a tag list obtaining unit for obtaining a single tag list, common to the plural structured documents, that lists tags in the order of appearance; a structured document compressing unit for generating a plurality of compressed documents in which tags in the individual structured documents are replaced with predetermined delimiter codes; and an outputting unit for outputting the single tag list, which is obtained by the tag list obtaining unit, and also the plurality of compressed documents, which are generated individually from the plural structured documents by the structured document compressing unit, in correspondence with one another.
  • the present invention further provides a first structured document decompressing apparatus.
  • the first structured document decompressing apparatus is for decompressing a plurality of compressed documents generated by the first structured document compressing apparatus.
  • the first structured document decompressing apparatus comprises a duplicating unit for expanding/duplicating a data structure corresponding to the tag list, as a duplicated data structure, on a memory; and a writing unit for writing element contents of each of the compressed documents into predetermined regions of the duplicated data structure extended on the memory, in accordance with a correspondence between a position of a tag in the duplicated data structure and a position of the predetermined delimiter code in each of the compressed documents.
  • the present invention still further provides a first structured document processing system comprising the above first structured document compressing apparatus and the above first structured document decompressing apparatus in order to process a plurality of structured documents having a common data structure.
  • a data structure common to a plurality of structured documents is obtained as a single tag list by the tag list obtaining unit.
  • Each of the structured documents is converted into a compressed document in a tag compressing process (process of replacing tags with predetermined delimiter codes) by the structured document compressing unit.
  • the single tag list and the plural compressed documents are outputted, as the result of compression of the plural structured documents, from the outputting unit.
  • a data structure corresponding to a tag list is expanded and duplicated as a duplicated data structure for each of compressed documents on the memory.
  • Element contents in each of the compressed documents are written into predetermined regions in the duplicated data structure on the memory by the writing unit while correlating a position of a tag in the duplicated data structure with a position of a predetermined delimiter code in each of the compressed documents.
  • Each of the compressed documents (each of structured documents) is decompressed in an expanded state on the memory.
  • results of compression of the plural structured documents are output, as a data structure (a single tag list) and data contents (plural compressed documents), separately.
  • data structure a single tag list
  • data contents plural compressed documents
  • the present invention still further provides a second structured document compressing apparatus.
  • the second structured document compressing apparatus is used as a structured document compressing unit in the above first structured document compressing apparatus in order to compress a structured document.
  • the second structured document compressing apparatus comprises a tag detecting unit for detecting each tag in the structured document; and a tag replacement unit for replacing the tag, detected by the tag detecting unit, with a predetermined delimiter code.
  • the present invention still further provides a second structured document decompressing apparatus.
  • the second structured document decompressing apparatus is for decompressing a compressed document generated by the second structured document compressing apparatus of this invention.
  • the second structured document decompressing apparatus comprises a tag list holding unit for holding a tag list in which tags in the structured document are listed in the order of appearance; a delimiter code detecting unit for detecting each of the predetermined delimiter codes in the compressed document; and a tag restoring unit for replacing the predetermined delimiter code, detected by the delimiter code detecting unit, with a corresponding tag on the tag list, in accordance with a correspondence between a position of the tag in the tag list and a position of the predetermined delimiter code detected by the delimiter code detecting unit.
  • the tag detecting unit when a tag in the structured document is detected by the tag detecting unit, the tag is replaced with a predetermined delimiter code by the tag replacement unit. A compressed document is generated in such a simple replacing process.
  • a tag list corresponding to a compressed document to be decompressed is beforehand held in the tag list holding unit.
  • the tag restoring unit recognizes which tag in the tag list the detected delimiter code corresponds to, by correlating a position of the tag in the tag list with a position of the delimiter code detected by the delimiter code detecting unit, thereby replacing the delimiter code with an appropriate tag, thus restoring the original tag.
  • the compressed document is thereby decompressed, reconstructing the original structured document.
  • the present invention still further provides a third structured document compressing apparatus comprising a subdocument extracting unit for extracting a subdocument, which is a region sandwiched between a start tag and an end tag that have a predetermined element name, from the structured document; a tag detecting unit for detecting each tag in the subdocument extracted by the subdocument extracting unit; and a tag replacement unit for replacing the tag, detected by the tag detecting unit, with a predetermined delimiter code.
  • the present invention still further provides a first structured document compressing method.
  • the first structured document compressing method is for compressing a plurality of structured documents having a common data structure.
  • the method comprises the steps of: obtaining a single tag list, common to the plural structured documents, that lists tags, in the order of appearance; generating a plurality of compressed documents in which tags in the individual structured documents are replaced with predetermined delimiter codes; and outputting the single tag list and the plurality of compressed documents generated from the plural structured documents, in correspondence with one another.
  • the present invention still further provides a second structured document compressing method comprising the steps of detecting a tag in the structured document; and replacing the tag with a predetermined delimiter code.
  • the present invention still further provides a third structured document compressing method comprising the steps of extracting a subdocument, which is a region sandwiched between a start tag and an end tag that have a predetermined element name, from the structured document; detecting a tag in the subdocument; and replacing the detected tag with a predetermined delimiter code.
  • the present invention still further provides a computer readable record medium which stores a structured document compressing program for instructing a computer to execute a function of compressing a plurality of structured documents having a common data structure, and the structured document compressing program instructs the computer to function as the above various structured document compressing apparatuses.
  • the present invention still further provides a third compressed document decompressing apparatus.
  • the third compressed document decompressing apparatus is for decompressing a compressed document generated by replacing tags in a subdocument, which is a region, in an original structured document, sandwiched between a start tag and an end tag that have a predetermined element name, with predetermined delimiter codes.
  • the apparatus comprises: a tag list holding unit for holding a tag list in which tags in the subdocument are listed in the order of appearance; a subdocument extracting unit for extracting the subdocument from the compressed document; a delimiter code detecting unit for detecting each of the predetermined delimiter codes in the subdocument extracted by the subdocument extracting unit; and a tag restoring unit for replacing the predetermined delimiter code, detected by the delimiter code detecting unit, with a corresponding tag on the tag list, in accordance with a correspondence between a position of the tag in the tag list and a position of the predetermined delimiter code detected by the delimiter code detecting unit.
  • the present invention still further provides a first compressed document decompressing method.
  • the first compressed document decompressing method is for decompressing a plurality of compressed documents, which is generated by replacing tags in a plurality of original structured documents having a common data structure with predetermined delimiter codes, on the basis of a tag list in which tags in the plural original structured documents are listed in the order of appearance.
  • the method comprises the steps of: expanding/duplicating a data structure corresponding to the tag list, as a duplicated data structure, on a memory; and writing element contents of each of the compressed documents into predetermined regions of the duplicated data structure extended on the memory, in accordance with a correspondence between a position of a tag in the duplicated data structure and a position of the predetermined delimiter code in each of the compressed documents.
  • the present invention still further provides a second compressed document decompressing method.
  • the second compressed document decompressing method is for decompressing a compressed document generated by replacing tags in an original structured document with predetermined delimiter codes.
  • the method comprising the steps of: holding a tag list in which tags in the structured document are listed in the order of appearance; detecting the predetermined delimiter codes in the compressed document; and replacing the detected predetermined delimiter code with a corresponding tag on the tag list, in accordance with a correspondence between a position of the detected predetermined delimiter code and a position of the tag in the tag list.
  • the present invention still further provides a third compressed document decompressing method.
  • the third compressed document decompressing method is for decompressing a compressed document generated by replacing tags in a subdocument, which is a region, in an original structured document, sandwiched between a start tag and an end tag that have a predetermined element name, with predetermined delimiter codes.
  • the method comprises the steps of: holding a tag list in which tags in the subdocument are listed in the order of appearance; extracting the subdocument from the compressed document; detecting the predetermined delimiter codes in the extracted subdocument; and replacing the detected predetermined delimiter code with a corresponding tag on the tag list, in accordance with a correspondence between a position of the detected predetermined delimiter code and a position of the tag in the tag list.
  • the present invention still further provides a computer readable record medium which stores a structured document decompressing program for instructing a computer to execute a function of decompressing a plurality of compressed documents generated by replacing tags, in structured documents having a common data structure, with predetermined delimiter codes on the basis of a tag list in which tags in the plural structured documents are listed in the order appearance, and the structured document decompressing program instructs the computer to function as the above various structured document decompressing apparatus.
  • a structured document decompressing program for instructing a computer to execute a function of decompressing a plurality of compressed documents generated by replacing tags, in structured documents having a common data structure, with predetermined delimiter codes on the basis of a tag list in which tags in the plural structured documents are listed in the order appearance
  • the present invention still further provides a second structured document processing system which comprises the above second structured document compressing apparatus and the above second structured document decompressing apparatus.
  • the present invention still further provides a third structured document processing system which comprises the above third structured document compressing apparatus and the above third structured document decompressing apparatus.
  • FIG. 1 is a block diagram showing a structure of a structured document compressing apparatus according to a first embodiment of this invention
  • FIG. 2 is a block diagram showing a structure of a structured document decompressing apparatus (memory expanding unit) according to the first embodiment of this invention
  • FIGS. 3A through 3C show an example of data according to the first embodiment
  • FIG. 3A is a diagram showing an example of an XML document
  • FIG. 3B is a diagram showing a tag list obtained from the XML document in FIG. 3A
  • FIG. 3C is a diagram showing a compressed state of the XML document in FIG. 3A ;
  • FIG. 4 is a block diagram showing a structure of a structured document compressing apparatus according to a second embodiment of this invention.
  • FIG. 5 is a block diagram showing a structure of a structured document decompressing apparatus according to the second embodiment of this invention.
  • FIGS. 6A through 6D show examples of data according to the second embodiment
  • FIG. 6A is a diagram showing an example of an XML document
  • FIG. 6B is a diagram showing a tag list corresponding to the XML document in FIG. 6A
  • FIG. 6C is a diagram showing a compressed state of the XML document in FIG. 6A
  • FIG. 6D is a diagram showing another example of the compressed state of the XML document in FIG. 6A ;
  • FIG. 7 is a block diagram showing a structure of a structured document compressing apparatus according to a third embodiment of this invention.
  • FIG. 8 is a block diagram showing a structure of a structured document decompressing apparatus according to the third embodiment of this invention.
  • FIGS. 9A through 9D show examples of data according to the third embodiment
  • FIG. 9A is a diagram showing an example of an XML document
  • FIG. 9B is a diagram showing a tag/attribute list corresponding to the XML document in FIG. 9A
  • FIG. 9C is a diagram showing an example of a compressed state of the XML document in FIG. 9A
  • FIG. 9D is a diagram showing another example of the compressed state of the XML document in FIG. 9A ;
  • FIG. 10 is a block diagram showing a structure of an essential part of a structured document compressing apparatus according to a fourth embodiment of this invention.
  • FIGS. 11A through 11C show examples of data according to the fourth embodiment
  • FIG. 11A is a diagram showing an example of a tag list
  • FIG. 11B is a diagram showing an example of an XML document having deficiency in its tag descriptions
  • FIG. 11C is a diagram showing a result of normalization of the XML document in FIG. 11B according to the tag list in FIG. 11A ;
  • FIG. 12 is a block diagram showing an essential part of a modification of the structured document compressing apparatus according to the fourth embodiment of this invention.
  • FIG. 13 is a block diagram showing structures of a structured document compressing apparatus and a structured document decompressing apparatus according to a fifth embodiment of this invention.
  • FIGS. 14A and 14B show examples of data according to the fifth embodiment
  • FIG. 14A is a diagram showing an example of an XML document including a plurality of subdocuments
  • FIG. 14B is a diagram showing a compressed state of the XML document in FIG. 14A ;
  • FIG. 15 is a diagram for illustrating a first example of a tag list collective managing method according to the embodiment.
  • FIG. 16 is a diagram for illustrating a second example of the tag list collective managing method according to the embodiment.
  • FIG. 17 is a diagram for illustrating a third example of the tag list collective managing method according to the embodiment.
  • FIG. 18 is a diagram showing an example of addition of tag-list identification information in the second and third examples of the tag list collective managing method according to the embodiment.
  • FIG. 19 is a diagram for illustrating general universal data compression
  • FIG. 20 is a block diagram showing an example of a structure of a general system handling XML documents.
  • FIG. 1 is a block diagram showing a structure of a structured document compressing apparatus according to a first embodiment of this invention.
  • FIG. 2 is a block diagram showing a structure of a structured document decompressing apparatus (memory expanding unit) according to the first embodiment of this invention.
  • the structured document compressing apparatus 110 shown in FIG. 1 and the memory expanding unit (structured document decompressing apparatus) 210 shown in FIG. 2 are included in a structured document processing system for processing a plurality of structured documents having a common data structure (document structure, tree structure), and configure a part of the structured document processing system.
  • the structured document is in XML (extensible Markup Language), and a number of XML documents having a common data structure are handled, in particular.
  • Processes to be executed by the structured document processing system are accumulation, manipulation, transfer, etc., of the XML documents.
  • the XML documents that are objects of the processing are, for example, order slips, as will be described later with reference to FIG. 3A .
  • the structured document processing system is provided with the structured document compressing apparatus 110 for compressing XML documents in order to decrease an amount of storage needed for storing the XML documents and to speed up the above processes, and the memory expanding unit (structured document decompressing apparatus) 210 for decompressing/expanding the compressed data, which is compressed by the structured document compressing apparatus 110 , on the memory 214 .
  • the structured document compressing apparatus 110 for compressing XML documents in order to decrease an amount of storage needed for storing the XML documents and to speed up the above processes
  • the memory expanding unit (structured document decompressing apparatus) 210 for decompressing/expanding the compressed data, which is compressed by the structured document compressing apparatus 110 , on the memory 214 .
  • the structured document compressing apparatus 110 comprises a tag list obtaining unit 111 , a structured document compressing unit 112 and an outputting unit 113 , as shown in FIG. 1 .
  • the memory expanding unit 210 according to the first embodiment comprises an analyzing unit 211 , a duplicating unit 212 and a writing unit 213 , as shown in FIG. 2 .
  • the structured data compressing apparatus 110 and the memory expanding unit 210 are provided on one and the same computer or on respective different computers.
  • Functions as the tag list obtaining unit 111 , the structured document compressing unit 112 and the outputting unit 113 configuring the structured document compressing apparatus 110 are accomplished by executing a predetermined program (structured document compressing program) on the computer.
  • functions as the analyzing unit 211 , the duplicating unit 212 and the writing unit 213 configuring the memory expanding unit 210 are accomplished by executing a predetermined program (structured document decompressing program) on the computer.
  • a hard disk (database) 300 beforehand stores and holds a plurality of XML documents (XML documents 1 to 3 in FIG. 1 ) to be compressed having a common data structure.
  • a hard disk (database) 400 stores and holds results of compression by the structured document compressing apparatus 110 .
  • both of the XML documents to be compressed and results of compression by the structured document compressing apparatus 110 may be stored in one of the hard disks 300 and 400 .
  • the tag list obtaining unit 111 obtains a single tag list common to the plural XML documents stored in the hard disk 300 .
  • tags that are extracted from the XML document in the order of appearance are listed, showing in which order the tags appear in the document (described later with reference to FIG. 3B ) If generated from the plural XML documents having a common data structure, the tag lists are all identical ones.
  • the tab list obtaining unit 111 may obtain a tag list stored in, for example, a database (not shown), or may alternatively extract and generate a tag list from at least one of the plural XML documents stored in the hard disk 300 .
  • the structured document compressing unit 112 generates compressed XML document compressed XML documents in each of which tags are replaced with predetermined delimiter codes.
  • predetermined delimiter codes According to the first embodiment, “,” is used as the predetermined delimiter code, as will be described later with reference to FIG. 3C .
  • the outputting unit 113 correlates a single tag list obtained by the tag list obtaining unit 111 with a plurality of compressed XML documents (compressed XML documents 1 , 2 , 3 , of FIG. 1 ) generated from the respective plural XML documents by the structured document compressing unit 112 , and outputs and stores them as results of compression of the plural XML documents in the hard disk 400 .
  • compressed XML documents compressed XML documents 1 , 2 , 3 , of FIG. 1
  • the reading unit 500 reads the common tag list and the plural compressed XML documents stored in the hard disk 400 to the memory expanding unit 210 .
  • the memory expanding unit 210 comprises the analyzing unit 211 , the duplicating unit 212 and the writing unit 213 in order to decompress and expand the plural compressed XML documents on the basis of the tag list on the memory 214 .
  • the analyzing unit 211 analyzes the tag list read out from the hard disk 400 by the reading unit 500 , and obtains, as a result of the analysis, a data structure common to the plural compressed XML documents that are objects of decompression and expansion.
  • the duplicating unit 212 expands and duplicates, on the memory 214 , the data structure corresponding to the tag list obtained by the analyzing unit 211 , as a duplicated data structure.
  • the writing unit 213 writes element contents of each of the compressed XML documents in predetermined regions of the duplicated data structure extended on the memory 214 while correlating a position of a tag in the duplicated data structure with a position of a delimiter code “,” in each of the compressed XML documents.
  • a data structure common to the plural XML documents is obtained as a single tag list by the tag list obtaining unit 111 , and each of the XML documents is converted into a compressed XML document in which tags are replaced with delimiter codes “,” in a tag compressing process by the structured document compressing unit 112 .
  • the tag list obtained by the tag list obtaining unit 111 and the plural compressed XML documents obtained by the structured document compressing unit 112 are outputted as results of compression with respect to the plural XML documents from the outputting unit 113 , and stored in the hard disk 400 .
  • results of compression of the plural XML documents are outputted as a combination of a data structure (tag information) and data contents (information other than the tag information), according to the first embodiment.
  • the data structure (tag information) is the single tag list described above, while the data contents are the plural compressed XML documents configured with delimiter codes and element contents.
  • the single tag list and each of the compressed XML documents are correlated in such a way as will be described later with reference to FIGS. 15 through 17 .
  • the single tag list representing a data structure common to the plural XML documents is shared by the plural compressed XML documents.
  • FIGS. 3A through 3C are diagrams showing examples of data according to the first embodiment.
  • FIG. 3A is a diagram showing an example of an XML document.
  • FIG. 3B is a diagram showing a tag list obtained from the XML document shown in FIG. 3A .
  • FIG. 3C is a diagram showing a state of the XML document of FIG. 3A being compressed.
  • FIG. 3A shows an example of an XML document before compressed, or to be compressed: an order slip described in XML.
  • a data structure of the XML document (that is, a format of the order slip) is defined by start tags: ⁇ ORDER-SLIP>, ⁇ CUSTOMER>, ⁇ NAME>, ⁇ TELEPHONE-NUMBER>, ⁇ PRODUCT>, ⁇ MANUFACTURER>, ⁇ PRODUCT-NUMBER>, ⁇ PRODUCT-NAME>, and ⁇ PRICE>; and by end tags: ⁇ /ORDER-SLIP>, ⁇ /CUSTOMER>, ⁇ /NAME>, ⁇ /TELEPHONE-NUMBER>, ⁇ /PRODUCT>, ⁇ /MANUFACTURER>, ⁇ /PRODUCT-NUMBER>, ⁇ /PRODUCT-NAME>, and ⁇ /PRICE>.
  • a name “STUV” of a customer is described, as an element, content between the start tag ⁇ NAME>; and the end tag ⁇ /NAME>, a telephone number “1111” of the customer between the start tag ⁇ TELEPHONE-NUMBER> and the end tag ⁇ /TELEPHONE-NUMBER>; a manufacturer “AAA company” of the product, between the start tag ⁇ MANUFACTURER> and the end tag ⁇ /MANUFACTURER>, a product number “1234” of the product, between the start tag ⁇ PRODUCT-NUMBER> and the end tag ⁇ /PRODUCT-NUMBER>; a product name “ABCD” of the product, between the start tag ⁇ PRODUCT-NAME> and the end tag ⁇ /PRODUCT-NAME>; and a price “ 980 ” of the product, between the start tag ⁇ PRICE> and the end tag ⁇ /PRICE>.
  • FIG. 3B shows a tag list of the XML document shown in FIG. 3A .
  • the tag list has already been created in some way as described above, or is made by directly extracting the tags in the XML document of FIG. 3A by the tag list obtaining unit 111 .
  • the element contents “STUV”, “1111”, “AAA company”, “ABCD”, and “980” in the XML document of FIG. 3A are removed.
  • FIG. 3C shows a result of a tag compressing process performed on the XML document of FIG. 3A by the structured document compressing unit 112 , that is, a compressed XML document in which tags in the XML document of FIG. 3A are replaced with a delimiter code “,”
  • the compressed XML document can be given any data structure, like the original XML documents, without impairing the visual recongnizability because of its being described in text.
  • the tag list correlated with the compressed XML documents that are objects of decompression and expansion is read out from the hard disk 400 by the reading unit 500 , and inputted to the analyzing unit 211 .
  • the analyzing unit 211 analyzes the inputted tag list to obtain a data structure common to a plurality of compressed XML documents that are objects of decompression and expansion.
  • the duplicating unit 212 expands and duplicates the data structure, obtained by the analyzing unit 211 for each of the compressed XML documents, on the memory 214 .
  • each of the compressed XML documents is written in predetermined regions in the reproduced data structure on the memory 214 while positions of the tag in the reproduced data structure and positions of the delimiter codes “,” in each of the compressed XML documents are correlated, respectively.
  • each of the compressed XML documents (each of the structured documents) is expanded on the memory 214 at decompression.
  • the tags that are embedded in the original document are replaced with the delimiter code “,”, with no changes in data contents (element contents), in the compressed XML documents generated by the structured document compressing unit 112 . It is thereby possible to compress the XML documents to decrease a data quantity of the XML documents, without impairing visual recognizability or flexibility/expandability of the data structure, which is a part of the advantages of XML documents (structured documents).
  • the analyzing process is performed on a single tag list, only once, by the analyzing unit 211 in the memory expanding unit 210 according to the first embodiment, to obtain a data structure common to the plural compressed XML documents.
  • the duplicating unit 212 duplicates the obtained data structure to be used for the other compressed XML documents. Inconsequence, it is unnecessary to execute the tag analysis for each of the compressed XML documents.
  • FIG. 4 is a block diagram showing a structure of a structured document compressing apparatus according to a second embodiment of this invention.
  • FIG. 5 is a block diagram showing a structure of a structured document decompressing apparatus according to the second embodiment of this invention.
  • the structured document compressing apparatus 120 shown in FIG. 4 and the structured document decompressing apparatus 220 shown in FIG. 5 are included in a structured document processing system for processing XML documents forming part of the structured document processing system.
  • the structured document compressing apparatus 120 is to compress XML documents, which apparatus 120 comprises an inputting unit 121 , a tag detecting unit 122 , a tag replacement unit 123 and an outputting unit 124 , as shown in FIG. 4 .
  • the structured document compressing apparatus 120 can be used as the structured document compressing unit 112 according to the first embodiment.
  • the structured document decompressing apparatus 220 decompresses the compressed XML documents (compressed data) generated by the structured document compressing apparatus 120 , reconstructing the original XML documents.
  • the structured document decompressing apparatus 220 comprises an inputting unit 221 , a tag list holding unit 222 , a delimiter code detecting unit 223 , a tag restoring unit 224 and an outputting unit 225 , as shown in FIG. 5 .
  • the structured document compressing apparatus 120 and the structured document decompressing apparatus 220 are provided on one and the same computer, or on respective different computers. Functions as the inputting unit 121 , the tag detecting unit 122 , the tag replacement unit 123 , and the outputting unit 124 , configuring the structured document compressing apparatus 120 are accomplished by executing a predetermined program (structured document compressing program) on the computer. Similarly, functions as the inputting unit 221 , the delimiter code detecting unit 223 , the tag restoring unit 224 , and the outputting unit 225 , configuring the structured document decompressing apparatus 220 are accomplished by executing a predetermined program (structured document decompressing program) on the computer.
  • a predetermined program structured document decompressing program
  • the inputting unit 121 captures an XML document to be compressed from a hard disk or the like (reference character 300 in FIG. 1 , for example).
  • the tag detecting unit 122 detects tags in the XML document captured by the input unit 121 .
  • the tag replacement unit 123 replaces each of the tags detected by the tag detecting unit 122 with a predetermined delimiter code.
  • a predetermined delimiter code “,” like in the first embodiment, replaces the tags (described later with reference to FIG. 6C ).
  • two types of delimiter codes “,” and “/” may replace a start tag and an end tag, respectively (described later with reference to FIG. 6D ).
  • the outputting unit 124 outputs a compressed XML document, generated by the tag replacement unit 123 , to a hard disk (refer to reference characters 400 , 410 , 420 , 440 in FIGS. 1 , 2 and 15 through 17 , for example) or the like, as a result of compression, and stores the compressed XML document therein.
  • the inputting unit 221 captures the compressed XML document stored in a record medium (hard disk 400 , 410 , 420 or 440 shown in FIG. 1 , 2 , 15 , 16 or 17 , for example), or the like, for decompression.
  • a record medium hard disk 400 , 410 , 420 or 440 shown in FIG. 1 , 2 , 15 , 16 or 17 , for example
  • the tag list holding unit 222 holds a tag list (refer to FIG. 6B , for example) in which tags are listed in the order of appearance in the XML document.
  • the tag list holding unit 222 obtains/stores a tag list that is generated and stored in advance in the database (not shown) or the like.
  • the delimiter code detecting unit 223 detects delimiter codes in the compressed XML documents captured by the input unit 221 .
  • the tag restoring unit 224 replaces a delimiter code with a corresponding tag in the tag list, thereby restoring the original tag, while correlating a position of the tag in the tag list held in the tag list holding unit 222 with a position of the delimiter code detected by the delimiter code detecting unit 223 .
  • the outputting unit 225 outputs, to a record medium (hard disk 300 in FIG. 1 , for example) or the like, an XML document decompressed by the tag restoring unit 224 as a result of decompression and stores it therein.
  • the inputting unit 121 captures an XML document that is an object of compression, and the tag detecting unit 122 searches for tags in the XML document. Parts other than the tags (that is, element contents) are sent as they are to the outputting unit 124 .
  • the tag detecting unit 122 detects a tag
  • the tag replacement unit 123 replaces the tag with a predetermined delimiter code, which is then sent to the outputting unit 124 .
  • a compressed XML document generated in such a simple replacing process is outputted as a result of compression from the outputting unit 124 .
  • FIGS. 6A through 6C show typical data according to the second embodiment.
  • FIG. 6A is a diagram showing an example of an XML document.
  • FIG. 6B is a diagram showing a tag list corresponding to the XML document of FIG. 6A .
  • FIG. 6C is a diagram showing an example of a compressed state of the XML document of FIG. 6A .
  • FIG. 6D is a diagram showing another example of the compressed state of the XML document of FIG. 6A .
  • FIG. 6A shows an example of an XML document before compressed, or an XML document to be compressed: an order slip described in XML.
  • FIG. 6A shows a part (descriptions relating to a manufacturer, a product number, and a price of a product) extracted from the order slip described above with reference to FIG. 3A .
  • FIG. 6B shows a tag list of the XML document shown in FIG. 6A .
  • a tag list is beforehand extracted and generated in some way, and stored in the tag list holding unit 222 in the structured document decompressing apparatus 220 .
  • parentheses (“ ⁇ ” and “>”) attached before and after a tag are omitted.
  • FIG. 6C shows a result of a tag compressing process on the XML document shown in FIG. 6A by the tag replacement unit 123 , that is, a compressed XML document in which tags in the XML document shown in FIG. 6A are replaced with delimiter codes “,”.
  • FIG. 6D shows a result of another compression of the same XML document. Namely, in the compressed XML document shown in FIG. 6D , start tags in the XML document are replaced with “,” while end tags are replaced with “/”.
  • the compressed XML document according to the second embodiment can be given any data structure like the original XML documents, without impairing visual recognizability of the element contents.
  • two types of delimiter codes, “,” and “/” replaces a start tag and an end tag, respectively, so that the positions of the start tag and end tag are visually recognizable.
  • the inputting unit 221 captures a compressed XML document that is an object of decompression as shown in, for example, FIG. 6C or 6 D, and the delimiter code detecting unit 223 searches for delimiter codes (“,” or “,” and “/”) in the compressed XML document.
  • Parts (i.e., element contents) other than the delimiter codes are sent to the outputting unit 225 without making any changes.
  • the delimiter code detecting unit 223 detects a delimiter code
  • the delimiter code is replaced with a tag corresponding to the delimiter code by the tag restoring unit 224 , then sent to the outputting unit 225 .
  • An XML document as shown in, for example, FIG. 6A is decompressed in such the simple replacing process, and outputted from the outputting unit 225 .
  • a position of a tag in the tag list held in the tag list holding unit 222 is correlated with a position of the delimiter code detected by the delimiter code detecting unit 223 . Whereby, it is detected which tag in the tag list the detected delimiter code corresponds to, and the delimiter code can be thereby replaced with a proper tag (a corresponding tag). In this manner, the compressed XML document is decompressed into the original XML document.
  • the structured document compressing apparatus 120 compresses an XML document in the simple replacing process of replacing tags detected in the XML document with predetermined delimiter codes, without impairing the visual recognizability of a data structure or flexibility/expandability, which are a part of the advantages of the XML documents, thereby decreasing a data quantity of the XML document.
  • the second embodiment it is possible to decrease an amount of a storage area used to store XML documents (compressed XML documents), enabling an effective use of a record medium (hard disk 400 , 410 , 420 and 440 shown in FIGS. 1 , 2 and 15 through 17 , for example) to store the XML documents, also increasing a transmission speed of the XML document data, like the first embodiment.
  • XML documents compressed XML documents
  • a record medium hard disk 400 , 410 , 420 and 440 shown in FIGS. 1 , 2 and 15 through 17 , for example
  • the structured document decompressing apparatus 220 can readily decompress a compressed XML document into the original XML document in the simple replacing process, such as, of replacing delimiter codes detected in the compressed XML document with predetermined tags while correlating the delimiter codes with the tags in the tag list for the compressed XML documents.
  • FIG. 7 is a block diagram showing a structure of a structured document compressing apparatus according to a third embodiment of this invention.
  • FIG. 8 is a block diagram showing a structure of a structured document decompressing apparatus according to the third embodiment of this invention.
  • like reference characters in the drawings designate like or corresponding parts, detailed descriptions of which are thus omitted.
  • the structured document compressing apparatus 130 shown in FIG. 7 and the structured document decompressing apparatus 230 shown in FIG. 8 are included in a structured document processing system for processing XML documents like the second embodiment, configuring apart of the structured document processing system.
  • the structured document compressing apparatus 130 and the structured document decompressing apparatus 230 are configured similarly to the structured document compressing apparatus 120 shown in FIG. 4 and the structured document decompressing apparatus 220 shown in FIG. 5 , respectively.
  • the structured document compressing apparatus 130 can compress the XML document, without impairing the visual recognizability of the attribute, leaving the attribute still recognizable even after compression.
  • the structured document compressing apparatus 130 comprises an attribute-bearing-tag discriminating unit 131 and an attribute-bearing-tag replacement unit 132 , along with an inputting unit 121 , a tag detecting unit 122 , a tag replacement unit 123 , and an outputting unit 124 , similar to those in the second embodiment.
  • the structured document compressing apparatus 130 can be used as the structured document compressing unit 112 according to the first embodiment.
  • the structured document decompressing apparatus 230 decompresses a compressed XML document (compressed data), generated by the structured document compressing apparatus 130 , into the XML document.
  • the structured document decompressing apparatus 230 comprises, as shown in FIG. 8 , an attribute list holding unit 231 , an attribute-bearing-tag discriminating unit 232 and an attribute-bearing-tag restoring unit 233 , along with an inputting unit 221 , a tag list holding unit 222 , a delimiter code detecting unit 223 , a tag restoring unit 224 and an outputting unit 225 similar to those in the second embodiment.
  • the structured document compressing apparatus 130 and the structured document decompressing apparatus 230 are provided on one and the same computer, or on respective different computers. Functions as the inputting unit 121 , the tag detecting unit 122 , the tag replacement unit 123 , the outputting unit 124 , the attribute-bearing-tag discriminating unit 131 , and the attribute-bearing-tag replacement unit 132 , configuring the structured document compressing apparatus 130 , are accomplished by executing a predetermined program (structured document compressing program) on the computer.
  • a predetermined program structured document compressing program
  • functions as the inputting unit 221 , the delimiter code detecting unit 223 , the tag restoring unit 224 , the outputting unit 225 , the attribute-bearing-tag discriminating unit 232 , and the attribute-bearing-tag restoring unit 233 , configuring the structured document decompressing apparatus 230 are accomplished by executing a predetermined program (structured document decompressing program) on the computer.
  • the attribute-bearing-tag discriminating unit 131 is included in the tag detecting unit 122 to discriminate whether or not a tag detected by the tag detecting unit 122 is an attribute-bearing tag having an attribute value.
  • the attribute-bearing-tag replacement unit 132 replaces an attribute-bearing tag detected by the attribute-bearing-tag discriminating unit 131 with a set of an attribute value and predetermined delimiter codes.
  • the outputting unit 124 outputs a compressed XML document generated by the tag replacement unit 123 and the attribute-bearing-tag replacement unit 132 , as a result of compression, to a hard disk or the like (refer to reference characters 400 , 410 , 420 and 440 in FIGS. 1 , 2 , and 15 through 17 ), and stores the compressed XML document therein.
  • the attribute list holding unit 231 holds an attribute list in which attribute names are listed in the order of appearance in the compressed XML document.
  • the attribute list holding unit 231 obtains the attribute list, which is generated in advance, from a database (now shown) or the like, and stores it.
  • the attribute list according to the third embodiment is practically given in such a form as being included in the tag list, as will be described later with reference to FIG. 9B .
  • the attribute list holding unit 231 is included in the tag list holding unit 222 in FIG. 8 .
  • the tag list that includes the attribute list will be occasionally referred to as a tag/attribute list.
  • tag list and the attribute list are shared by the plural XML documents, and represent in which order tags appear, or in which order attributes appear in each of the XML documents.
  • the attribute-bearing-tag discriminating unit 232 which is included in the tag detecting unit 224 , discriminates whether or not a given original tag to be restored by the tag restoring unit 224 is an attribute-bearing tag. At this time, the attribute-bearing-tag discriminating unit 232 recognizes a state of arrangement of delimiter codes or a type of the delimiter codes, or refers to and recognizes the correspondence between an attribute value in the compressed XML document with an attribute name in the tag/attribute list, thereby discriminating whether or not the given original tag to be restored is an attribute-bearing tag, that is, whether or not the tag has an attribute.
  • the attribute-bearing-tag restoring unit 233 restores the tag, which is detected by the attribute-bearing-tag discriminating unit 232 to be restored, as an attribute-bearing tag, which has the tag-corresponded attribute.
  • a part, corresponding to an attribute-bearing tag, of a compressed XML document is reconstructed, as a normal tag “ ⁇ element-name>” including only an element name, by the tag restoring unit 224 .
  • the attribute-bearing-tag restoring unit 233 correlates an attribute value of the attribute-bearing tag with an attribute name in the attribute list to restore the attribute in the attribute-bearing tag.
  • the attribute-bearing-tag restoring unit 233 reads an attribute name, corresponding to an attribute to be restored, from the attribute list (tag/attribute list), and replaces delimiter codes, corresponding to the to-be-restored attribute and also to data (attribute value) combined with those delimiter codes, with a normal attribute description, thereby restoring the original attribute in the tag reconstructed by the tag restoring unit 224 , thus making the attribute-bearing tag restored.
  • the outputting unit 225 outputs an XML document decompressed by the tag restoring unit 224 and the attribute-bearing-tag restoring unit 233 , as a result of decompression, to the record medium (hard disk 300 in FIG. 1 , for example) and stores the XML document therein.
  • an XML document that is an object of compression is captured by the inputting unit 121 , and tags in the XML document are searched for by the tag detecting unit 122 . Parts other than the tags are sent as they are to the outputting unit 124 .
  • the attribute-bearing-tag discriminating unit 131 discriminates whether or not the tag is an attribute-bearing tag.
  • the tag is replaced with a predetermined delimiter code by the tag replacement unit 123 , and sent to the outputting unit 124 .
  • the tag is an attribute-bearing tag
  • the tag is replaced with an attribute value described in the tag and with predetermined delimiter codes, by the attribute-bearing-tag replacement unit 132 , and sent to the outputting unit 124 .
  • a compressed XML document in which an attribute value is left as it is along with an element content is generated in the above simple replacing process, and outputted as a result of compression from the outputting unit 124 .
  • FIGS. 9A through 9D show typical data according to the third embodiment.
  • FIG. 9A is a diagram showing an example of an XML document.
  • FIG. 9B is a diagram showing a tag/attribute list corresponding to the XML document in FIG. 9A .
  • FIG. 9C is a diagram showing an example of a compressed state of the XML document shown in FIG. 9A .
  • FIG. 9D is a diagram showing another example of the compressed state of the XML document shown in FIG. 9A .
  • FIG. 9A shows a case where an order slip is described in XML, as an example of an XML document before compression, that is, an XML document that is an object of compression.
  • FIG. 9A shows a part extracted from an order slip similar to that shown in FIG. 6A .
  • a start tag given a product number as an element name bears an attribute.
  • “PRODUCT-NAME” and “COLOR” are attribute names
  • “ABCD” and “BLUE” are attribute values.
  • FIG. 9B shows a tag/attribute list for the XML document shown in FIG. 9A .
  • a tag/attribute list is beforehand extracted and generated by in some way, and stored in the tag list holding unit 222 and in the attribute list holding unit 231 both in the structured document decompressing apparatus 230 .
  • FIG. 9C shows a result of compression of the XML document shown in FIG. 9A by the 123 and the attribute-bearing-tag replacement unit 132 , that is, a compressed XML document in which tags are replaced with a delimiter code “,” and an attribute is replaced with “attribute-value,” in the XML document shown in FIG. 9A .
  • the compressed XML document according to the third embodiment can be given any data structure, like the original XML documents, without impairing the visual recognizability of not only an element content but also of an attribute value.
  • a compressed XML document that is an object of decompression as shown in, for example, FIG. 9C or FIG. 9D is captured by the inputting unit 221 , and delimiter codes (“,” and/or “/”) in the compressed XML document are searched for by the delimiter code detecting unit 223 .
  • Parts other than delimiter codes and attribute values are sent as they are to the outputting unit 225 .
  • the tag restoring unit 224 replaces the delimiter code with a tag corresponding to the delimiter code.
  • a position of a tag in the tag list held in the tag list holding unit 222 is correlated with a position of the delimiter code detected by the delimiter code detecting unit 223 , whereby it is recognized which tag in the tag list the detected delimiter code corresponds to.
  • the delimiter code can be thus replaced with a proper tag (a corresponding tag).
  • the attribute-bearing-tag discriminating unit 232 discriminates whether or not a given tag to be restored by the tag restoring unit 224 has an attribute. When it is recognized that the tag does not have an attribute, the tag (without an attribute) restored by the tag restoring unit 224 is outputted to the outputting unit 225 .
  • an attribute corresponding to the tag is restored by the attribute-bearing-tag restoring unit 233 in a normal tag (for example, “ ⁇ PRODUCT-NUMBER>”), which contains only an element-name, restored by the tag restoring unit 224 , and is sent to the outputting unit 225 .
  • a normal tag for example, “ ⁇ PRODUCT-NUMBER>”
  • the first delimiter code “,” in the compressed description is detected, then it is recognized that the delimiter code corresponds to “PRODUCT-NUMBER”.
  • the tag/attribute list shown in FIG. 9B it is recognized that a tag corresponding to the above compressed description has two attributes whose attribute names are “PRODUCT-NAME” and “COLOR”.
  • the structured document compressing apparatus 130 provides the similar functions and effects to those provided by the structured document compressing apparatus 120 according to the second embodiment. Additionally, when a tag is an attribute-bearing tag having an attribute, the attribute-bearing tag is replaced with an attribute value and predetermined delimiter codes to be compressed. As this, an attribute value is described in the compressed XML document as it is in the original XML document, so that the XML document can be compressed without impairing the visual recognizability of not only an element content but also of an attribute value.
  • the structured document decompressing apparatus 230 provides the similar functions and effects to those provided by the structured document decompressing apparatus 220 according to the second embodiment. Additionally, when a compressed attribute-bearing tag as above becomes an object of decompression, the attribute-bearing tag can be decompressed very easily, correlating an attribute value of the attribute-bearing tag with an attribute name in the tag/attribute list for the compressed XML document.
  • FIG. 10 is a block diagram showing a structure of essential parts of a structured document compressing apparatus according to a fourth embodiment of this invention.
  • the structured document compressing apparatus 140 shown in FIG. 10 has an inputting unit 141 , a tag list holding unit 142 , a tag rearranging unit 143 , and an omitted-tag supplementing unit 144 , prior to the structured document compressing apparatus 120 shown in FIG. 4 .
  • the structured document compressing apparatus 140 can be used as the structured document compressing unit 112 according to the first embodiment.
  • the inputting unit 141 , the tag rearranging unit 143 , and the omitted-tag supplementing unit 144 , configuring the essential part of the structured document compressing apparatus 140 are realized by executing a predetermined program (structured document compressing program) on the computer.
  • the inputting unit 141 captures a to-be-decompressed XML document stored in a hard disk or the like (refer to reference character 300 in FIG. 1 , for example).
  • the tag list holding unit 142 beforehand holds a tag list in which tags are arranged in a predetermined order in order to define a predetermined data structure.
  • a plurality of XML documents to be compressed have a common data structure, like the first and second embodiments.
  • the tag list held in the tag list holding unit 142 is shared by the plural XML documents, and represents in which order tags appear in each of the XML documents, like the tag list held in the tag list holding unit 222 of the structured document decompressing apparatus 220 .
  • the tag list holding unit 142 obtains/stores a tag list that is generated from an XML document to be compressed and stored in a database (not shown) or the like.
  • the tag rearranging unit 143 compares the inputted XML document with the tag list, and rearranges tags in the XML document before compressed in such a manner that the order in which tags are described in the XML document matches the order in which the tags are arranged in the tag list (a predetermined order). When the order of appearance of a start tag and an end tag, being paired, is changed, the tag rearranging unit 143 also moves a corresponding element content described between the start tag and the end tag.
  • the omitted-tag supplementing unit 144 supplements a tag omitted in the XML document processed by the tag rearranging unit 143 according to the tag list held in the tag list holding unit 142 . Namely, the omitted-tag supplementing unit 144 compares the inputted XML document with the tag list. Upon detection of a tag missing from the XML document, the omitted-tag supplementing unit 144 reads a tag corresponding to the missing tag from the tag list, and supplements the missing tag. At that time, if a start tag and an end tag, being paired, are supplemented, the omitted-tag supplementing unit 144 leaves an element content, described between the start tag and the end tag, empty.
  • the XML document processed by the tag rearranging unit 143 and by the omitted-tag supplementing unit 144 is inputted to the structured document compressing apparatus 120 according to the second embodiment.
  • the inputting unit 141 captures an XML document that is an object of compression, and the tag rearranging unit 143 compares the XML document with the tag list.
  • the tag rearranging unit 143 rearranges the tags in the XML document before compressed such that the order of description of the tags in the XML document is matched with the order of arrangement of tags in the tag list.
  • the XML document undergone the rearranging process is inputted to the omitted-tag supplementing unit 144 .
  • the omitted-tag supplementing unit 144 compares the XML document with the tag list. Upon detection of a tag missing from the XML document, the omitted-tag supplementing unit 144 reads a tag corresponding to the missing tag from the tag list, and supplements the missing tag.
  • FIGS. 11A through 11C show examples of data according to the fourth embodiment.
  • FIG. 11A is a diagram showing an example of a tag list.
  • FIG. 11B is a diagram showing an example of an XML document in which deficiency exists in descriptions of tags.
  • FIG. 11C is a diagram showing a result of normalization of the XML document of FIG. 111B according to the tag list shown in FIG. 11A .
  • FIG. 11A shows the same tag list as that shown in FIG. 6B .
  • the tag rearranging unit 143 and the omitted-tag supplementing unit 144 process an XML document according to the tag list shown in FIG. 1A .
  • the XML document that is an object of the processing is one shown in FIG. 11B , for example.
  • the tag rearranging unit 143 compares the tag list in FIG. 11A with the XML document in FIG. 11B . It is thereby recognized that the tags and the element content “300” relating to a price and the tags and the element content “B7” relating to a product number are in reversed order in the XML document in FIG. 11B , so that they are rearranged so as to be in order.
  • the omitted-tag supplementing unit 144 compares the XML document undergone the rearrangement with the tag list in FIG. 11A , thereby recognizing that the tags relating to a manufacturer are missing in the XML document.
  • the omitted-tag supplementing unit 144 supplements a start tag and an end tag relating to a manufacturer, with an empty element content between them.
  • the deficiency is corrected in the descriptions of the tags in the XML document as shown in FIG. 11B , thereby providing the XML document with a data structure matching the tag list of FIG. 11A , thus normalizing (rearranging) the XML document as shown in FIG. 11C .
  • the processing by the tag rearranging unit 143 and by the omitted-tag supplementing unit 144 are performed on all the XML documents that are to be compressed by the structured document compressing apparatus 120 , whereby all the XML documents are normalized so as to have a data structure matching the tag list.
  • the XML document normalized as above is inputted to the structured document compressing apparatus 120 , and compressed as described above in the second embodiment.
  • the XML document now being free from deficiencies, passes through the tag rearranging unit 143 and the omitted-tag supplementing unit 144 , and is then inputted to the structured document compressing apparatus 120 .
  • FIG. 12 is a block diagram showing a structure of an essential part of modification of the structured document compressing apparatus according to the fourth embodiment of this invention.
  • the structured document compressing apparatus 150 shown in FIG. 12 has an inputting unit 151 , a tag/attribute list holding unit 152 , a tag/attribute rearranging unit 153 , and an omitted tag/attribute supplementing unit 154 , prior to the structured document compressing apparatus 130 shown in FIG. 7 .
  • the structured document compressing apparatus 150 may be used as the structured document compressing unit 112 according to the first embodiment.
  • the inputting unit 151 , the tag/attribute rearranging unit 153 , and the omitted tag/attribute supplementing unit 154 , configuring the essential part of the structured document compressing apparatus 150 are realized by executing a predetermined program (structured document compressing program) on the computer.
  • the inputting unit 151 captures a to-be-compressed XML document including an attribute-bearing tag stored in a hard disk or the like (refer to reference character 300 in FIG. 1 , for example).
  • the tag/attribute list holding unit 152 holds a tag/attribute list listing tags and attribute names in a predetermined order in order to define a predetermined data structure.
  • the tag/attribute list held in the tag/attribute list holding unit 152 is shared by the plural XML documents like the tag/attribute list of the structured document compressing apparatus 230 , and indicates which tag appears in what order, or which attribute appears in what order, in each of the XML documents.
  • the tag/attribute list holding unit 152 obtains/stores a tag/attribute list that is generated in advance with respect to a to-be-compressed XML document and is stored in a database (not shown) or the like.
  • the tag/attribute rearranging unit 153 compares the inputted XML document with the tag/attribute list, and rearranges tags and attributes in the XML document before compressed such that they are in the same order as the order (a predetermined order) of tags and attributes in the tag/attribute list.
  • the tag/attribute rearranging unit 153 moves an element content described between the start tag and the end tag, as well.
  • the omitted tag/attribute supplementing unit 154 supplements a tag or attribute omitted in the XML document, having been processed by the tag/attribute rearranging unit 153 , according to the tag/attribute list held in the tag/attribute list holding unit 152 . Namely, the omitted tag/attribute supplementing unit 154 compares the inputted XML document with the tag list. When detecting a missing tag or attribute in the XML document, the omitted tag/attribute supplementing unit 154 reads out from the tag/attribute list a tag or attribute corresponding to the missing tag or attribute, and supplements the missing tag or attribute.
  • the omitted tag/attribute supplementing unit 154 When supplementing a start tag and an end tag, being paired, the omitted tag/attribute supplementing unit 154 leaves an element content, described between the start tag and the end tag, empty. When supplementing an attribute, the omitted tag/attribute supplementing unit 154 sets a default value or the like as an attribute value.
  • the XML document undergone the processes by the tag/attribute rearranging unit 153 and by the omitted tag/attribute supplementing unit 154 is inputted to the structured document compressing apparatus 130 according to the third embodiment.
  • the inputting unit 151 captures an XML document that is an object of compression, and the tag/attribute rearranging unit 153 compares the XML document with the tag/attribute list.
  • tags and attributes in the XML document before compressed are rearranged such that the order of description of the tags and attributes in the XML document is matched with the order of arrangement of tags and attributes in the tag/attribute list.
  • the XML document undergone the rearranging process is inputted to the omitted tag/attribute supplementing unit 154 .
  • the omitted tag/attribute supplementing unit 154 compares the XML document with the tag/attribute list.
  • the omitted tag/attribute supplementing unit 154 reads out from the tag/attribute list a tag or attribute corresponding to the missing tag or attribute, and supplements the missing tag or attribute.
  • the XML document having deficiency in description of tags and attributes is normalized (properly arranged) so as to have a data structure matching the tag/attribute list.
  • the processing by the tag/attribute rearranging unit 153 and by the omitted tag/attribute supplementing unit 154 is performed on all the XML documents that are to be compressed by the structured document compressing apparatus 130 , whereby all the XML documents are normalized so as to have a data structure matching the tag/attribute list.
  • the XML document normalized as above is inputted to the structured document compressing apparatus 130 to be compressed as described above in the third embodiment.
  • the XML document, now being free from deficiencies passes through the tag/attribute rearranging unit 153 and the omitted tag/attribute supplementing unit 154 , and is then inputted to the structured document compressing apparatus 130 .
  • tags and attributes in an XML document before compressed are rearranged in a predetermined order according to a tag list or a tag/attribute list that defines a predetermined data structure, and a tag or attribute missing from the XML document is supplemented.
  • an XML document involving deficiency such as reversal in the order of description of tags or attributes, or missing description of a tag or attribute, for instance, is normalized such as to have a predetermined data structure.
  • FIG. 13 is a block diagram showing a construction of a structured document compressing apparatus and a structured document decompressing apparatus according to a fifth embodiment of this invention.
  • the structured document compressing apparatus 160 and the structured document decompressing apparatus 260 shown in FIG. 13 forms part of a structured document processing system for processing XML documents.
  • the structured document compressing apparatus 160 compresses XML documents. As shown in FIG. 13 , the structured document compressing apparatus 160 comprises an inputting unit 161 , a subdocument extracting unit 162 , a subdocument unifying unit 163 and an outputting unit 164 , along with the units of any one of the structured document compressing apparatuses 120 , 130 , 140 and 150 .
  • the structured document decompressing apparatus 260 decompresses compressed XML documents (compressed data) generated by the structured document compressing apparatus 160 , thus reconstructing the original XML documents.
  • the structured document decompressing apparatus 260 comprises an inputting unit 161 , a subdocument extracting unit 162 , a subdocument unifying unit 163 and an outputting unit 164 , along with the units of either one of the above-described structured document decompressing apparatuses 220 and 230 .
  • the structured document compressing apparatus 160 and the structured document decompressing apparatus 260 are provided on one and the same computer, or on respective different computers. Various functions of the structured document compressing apparatus 160 are realized by executing a predetermined program (structured document compressing program) on the computer. Similarly, various functions of the structured document decompressing apparatus 260 are realized by executing a predetermined program (structured document decompressing program) on the computer.
  • the structured document compressing apparatus 160 and the structured document decompressing apparatus 260 have almost the same structure, except for a different unit arranged between the subdocument extracting unit 162 and the subdocument unifying unit 163 .
  • the inputting unit 161 captures an object XML document to be compressed, stored in a hard disk or the like (refer to reference character 300 in FIG. 1 , for example).
  • the subdocument extracting unit 162 extracts a subdocument, or a region sandwiched between a start tag and an end tag that have a predetermined element name, from the inputted XML document, and outputs the subdocument to any one of the structured document compressing apparatuses 120 , 130 , 140 , and 150 (hereinafter, the structured document compressing apparatus 120 in the fifth embodiment).
  • the subdocument unifying unit 163 receives a result of compression of the subdocument from the structured document compressing apparatus 120 , and unifying the result of compression and parts other than the subdocument.
  • the outputting unit 164 outputs a compressed XML document unified by the subdocument unifying unit 163 , as a result of compression, to a hard disk or the like (refer to reference characters 400 , 410 , 420 , 440 in FIGS. 1 , 2 , and 15 through 17 , for example), and stores the compressed XML document therein.
  • the inputting unit 161 captures a compressed XML document that is an objective of decompression from a record medium or the like (for example, a hard disk 400 , 410 , 420 , and 440 shown in FIGS. 1 , 2 , 15 , 16 , and 17 ).
  • the subdocument extracting unit 162 extracts a region sandwiched between a start tag and an end tag that have a predetermined element name, as a subdocument, from the inputted compressed XML document, and outputs the subdocument to the structured document decompressing apparatus 220 , 230 (hereinafter, the structured document decompressing apparatus 220 in the fifth embodiment).
  • the subdocument unifying unit 163 receives a result of decompression of the subdocument from the structured document decompressing apparatus 220 , and unifies the result of the decompression and parts other than the subdocument.
  • the outputting unit 164 outputs an XML document unified by the subdocument unifying unit 163 , as a result of decompression, to a record medium or the like (hard disk 300 shown in FIG. 1 , for example), and stores the XML document therein.
  • a tag list used in the structured document decompressing apparatus 220 is beforehand generated by listing tags in a subdocument in the order of appearance and stored in a database (not shown) or the like.
  • a tag/attribute list used in the structured document decompressing apparatus 230 is beforehand generated by listing tags and attributes in a subdocument in the order of appearance and stored in a database (now shown) or the like, as well.
  • the inputting unit 161 captures an XML document that is an object of compression.
  • the subdocument extracting unit 162 then extracts from the XML document a subdocument, a region sandwiched between a start tag and an end tag that have a predetermined element name, and outputs the subdocument to the structured document compressing apparatus 120 .
  • the inputted subdocument is receives the compressing process described above in the second embodiment so that the compressed subdocument in which each tag is replaced with a predetermined delimiter code is generated.
  • the compressed subdocument is unified with parts other than the subdocument by the subdocument unifying unit 163 , and is outputted from the outputting unit 164 as a result of the compression.
  • FIGS. 14 A and 14 B show examples of data according to the fifth embodiment.
  • FIG. 14A is a diagram showing an example of an XML document including a plurality of subdocuments.
  • FIG. 14B is a diagram showing a compressed state of the XML document in FIG. 14A .
  • FIG. 14A shows an XML document of an order slip including a plurality (three in the drawing) of subdocuments having a common data structure as an example of an XML document before compressed, that is, an XML document that is an object of compression.
  • XML document shown in FIG. 14A there are three regions each sandwiched between a start tag “ ⁇ PRODULT>” and an end tag “ ⁇ /PRODUCT>”. These regions have exactly the same data structure. Namely, in each of the regions, tags and element contents for a manufacturer, a product number, and a price, are described, where, the element contents described in these regions differ from one another.
  • the subdocument extracting unit 162 extracts the three subdocuments, the regions each sandwiched between a start tag “ ⁇ PRODUCT>” and an end tag “ ⁇ /PRODUCT>” from the XML document shown in FIG. 14A as the start tag “ ⁇ PRODUCT>” and the end tag “ ⁇ /PRODUCT>” are given as reference keys for the extraction of the subdocument.
  • the tags have been replaced with a delimiter code “,” in each of the subdocuments.
  • the subdocuments undergone the replacing process and parts other than the subdocuments are unified by the subdocument unifying unit 163 , whereby a compressed XML document as shown in FIG. 14B is generated.
  • the inputting unit 161 captures a compressed XML document as shown in FIG. 14B as an object of decompression, and the subdocument extracting unit 162 extracts a region sandwiched between the start tag “ ⁇ PRODUCT>” and the end tag “ ⁇ /PRODUCT>” (substantial compressed XML document), as a subdocument, from the compressed XML document, in the similar manner to the compressing process.
  • the subdocument (compressed XML document) is outputted to the structured document decompressing apparatus 220 .
  • the decompressing process described in the second embodiment is performed on the inputted subdocument, so that the delimiter codes are replaced with appropriate tags, and the subdocument is decompressed to the original XML document.
  • the decompressed subdocument is unified with parts other than the subdocument by the subdocument unifying unit 163 , and the unified XML document is outputted from the outputting unit 164 as the result of the decompression.
  • the structured document compressing apparatus 160 in the fifth embodiment of this invention when more than one regions (subdocuments) having a common data structure exist in one XML document, the subdocuments are extracted from the XML document, and tags in each of the subdocuments are replaced with a delimiter code “,”. It is thereby possible to compress the XML document to decrease a data quantity of the XML document, without impairing the visual recognizability of the data structure of each subdocument or flexibility/expandability, which forms part of the advantages of XML documents.
  • the reconstruction of the original structured document can be readily done by a simple process of replacing delimiter codes that are detected in the subdocument to be decompressed with predetermined tags, while correlating the delimiter code with a tag on the tag list for the subdocuments.
  • FIGS. 15 through 17 are diagrams for illustrating a first to third examples of the tag list collective managing method according to this embodiment.
  • FIG. 18 is a diagram showing an example of addition of tag-list identification information in the second and third examples of the tag list collective managing method according to this embodiment.
  • the hard disk 410 has a tag-list-group holding unit 411 and a tag list managing unit 412 .
  • the tag-list-group holding unit 411 holds more than one (two in FIG. 15 ) types of tag lists corresponding to data structures of XML documents to be processed. It is assumed here that the two pieces of tag-list identification information (tag list identifiers) A, B are respectively given to the two types of tag lists.
  • the tag list managing unit 412 collectively manages correspondence between the pieces of identification information 1 , 2 , 3 of the XML documents generated by the structured document compressing apparatus, 120 to 160 , and tag lists A, B held in the tag-list-group holding unit 411 , using a table.
  • a table of the tag list managing unit 412 shown in FIG. 15 for example, compressed XML documents 1 , 2 , 3 are correlated with tags lists A, A, B, respectively.
  • the tag list managing unit 412 collectively manages tag lists required when the plural compressed XML documents held in the hard disk 410 are decompressed.
  • the structured document decompressing apparatus 220 , 230 , 260 searches, in the table of the tag list managing unit 412 with using identification information of the compressed XML document as a key, for tag-list identification information corresponding to the identification information of the compressed XML document.
  • the structured document decompressing apparatus 220 , 230 , 260 reads out a tag list specified by the tag-list identification information from the tag list holding unit 411 provided in the hard disk 410 , and uses the tag list in the decompressing process executed on the compressed XML document as described above.
  • a hard disk (database) 420 stores more than one (three in FIG. 16 ) compressed XML documents 1 , 2 , 3 , generated by the structured document compressing apparatus, 120 to 160 , and has a tag-list-group holding unit 411 similar to that shown in FIG. 15 .
  • the structured document compressing apparatus, 120 to 160 are accessibly connected to the hard disk 420 , as well as the structured document decompressing apparatus, 220 , 230 , 260 .
  • the structured document compressing apparatus, 120 to 160 are provided with a tag-list identification information adding unit 171
  • the structured document decompressing apparatus 220 , 230 , 260 is provided with a tag-list identification information obtaining unit 172 .
  • the tag-list identification information adding unit 171 adds tag-list identification information used to specify a tag list corresponding to a compressed XML document to the compressed XML document generated by the structured document compressing apparatus, 120 through 160 .
  • the tag-list identification information obtaining unit 172 obtains the tag-list identification information added to a compressed XML document.
  • the tag-list identification information adding unit 171 When a compressed XML document is generated by the structured document compressing apparatus, 120 through 160 , the tag-list identification information adding unit 171 writes tag-list identification information (identifier) corresponding to the compressed XML document, as an attribute, in a start tag of the compressed XML document to add the tag-list identification information thereto, as shown in FIG. 18 , for example.
  • tag-list identification information A In an example shown in FIG. 16 , three pieces of tag-list identification information A, A, B are added to compressed XML documents 1 , 2 , 3 , respectively.
  • the tag-list identification information obtaining unit 172 obtains the tag-list identification information added to the compressed XML document.
  • the structured document decompressing apparatus 220 , 230 , 260 reads out a tag list specified by the tag-list identification information from the tag-list-group holding unit 411 provided in the hard disk 420 , and uses the read-out tag list in the decompressing process carried out as described above on the compressed XML document.
  • a tag-list-group holding unit 411 similar to that shown in FIG. 15 is provided in a hard disk (database) 430 in a management server 600 .
  • the management server 600 is communicably connected to the structured document compressing apparatus, 120 to 160 , and structured document decompressing apparatus 220 , 230 , 260 over a network 700 such as LAN.
  • the structured document compressing apparatuses 120 to 160 and the structured document decompressing apparatuses 220 , 230 and 260 are accessibly connected to the hard disk (database) 440 .
  • the hard disk 440 stores compressed XML documents, which are generated by the structured document compressing apparatus, 120 to 160 , each having tag-list identification information added, like the example shown in FIG. 16 .
  • the tag-list identification information adding unit 171 When the structured document compressing apparatus, 120 to 160 , generates a compressed XML document, the tag-list identification information adding unit 171 writes tag-list identification information (identifier) corresponding to the compressed XML document as an attribute, in a start tag of the compressed XML document, as shown in, for example, FIG. 18 , like the system shown in FIG. 16 . In the example shown in FIG. 17 , the three pieces of tag-list identification information A, A, B are added to the compressed XML documents 1 , 2 , 3 , respectively.
  • the tag-list identification information obtaining unit 172 obtains tag-list identification information added to the compressed XML document.
  • the structured document decompressing apparatus 220 , 230 , 260 reads a tag list specified by the tag-list identification information from the tag-list-group holding unit 411 in the hard disk 430 (that is, on the management server 600 ) over the network 700 , and uses it in the decompressing process as described above on the compressed XML document.
  • the tag list managing unit 412 manages correspondence between compressed XML documents and tag lists, and adds, to the XML documents, tag-list identification information specifying a tag list corresponding to each of the XML documents, thereby collectively managing tag list groups. It is therefore possible to certainly understand correspondence between compressed XML documents and tag lists, and decompress a compressed XML document on the basis of a tag list corresponding to the compressed XML document.
  • the structured document processing system shown in FIG. 17 holds and manages tag list groups on the management server 600 , and reads out a tag list required in the processing, from the management server 600 over the network 700 , thereby collectively managing the tag list groups. In consequence, it becomes unnecessary to manage plural types of tag lists for each structured document compressing apparatus or structured document decompressing apparatus, thus the tag lists can be shared by the plurality of structured document compressing apparatuses and structured document decompressing apparatuses.
  • tag list groups are collectively managed. Additionally, tag/attribute list groups are collectively managed, too.
  • a structured document is in XML.
  • the present invention is not limited to this.
  • the present invention may also be applied to a structured document (in SGML or the like) similar to an XML document described using tags in the similar way, providing the similar functions and effects.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
US09/826,915 2000-11-24 2001-04-06 Structured document compressing apparatus and method, record medium in which a structured document compressing program is stored, structured document decompressing apparatus and method, record medium in which a structured document decompressing program is stored, and structured document processing system Expired - Fee Related US7856595B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2000357568A JP4774145B2 (ja) 2000-11-24 2000-11-24 構造化文書圧縮装置および構造化文書復元装置並びに構造化文書処理システム
JP2000-357568 2000-11-24

Publications (2)

Publication Number Publication Date
US20020065822A1 US20020065822A1 (en) 2002-05-30
US7856595B2 true US7856595B2 (en) 2010-12-21

Family

ID=18829607

Family Applications (1)

Application Number Title Priority Date Filing Date
US09/826,915 Expired - Fee Related US7856595B2 (en) 2000-11-24 2001-04-06 Structured document compressing apparatus and method, record medium in which a structured document compressing program is stored, structured document decompressing apparatus and method, record medium in which a structured document decompressing program is stored, and structured document processing system

Country Status (2)

Country Link
US (1) US7856595B2 (ja)
JP (1) JP4774145B2 (ja)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080250055A1 (en) * 2007-04-03 2008-10-09 Canon Kabushiki Kaisha Method and Device for Coding a Hierarchized Document
US20100083083A1 (en) * 2008-09-30 2010-04-01 Apple Inc. Compressed table format
US20100131475A1 (en) * 2007-05-24 2010-05-27 Fujitsu Limited Computer product, information retrieving apparatus, and information retrieval method
US20100131476A1 (en) * 2007-05-24 2010-05-27 Fujitsu Limited Computer product, information retrieval method, and information retrieval apparatus
US20160259641A1 (en) * 2013-12-16 2016-09-08 Hewlett Packard Enterprise Development Lp Tagging a program code portion
US9619443B2 (en) 2012-03-05 2017-04-11 International Business Machines Corporation Enhanced messaging transaction performance with auto-selected dual-tag fields
KR20230053285A (ko) * 2021-10-14 2023-04-21 (주)온택트티비 개인별 공연 정보 제공 시스템 및 방법
US12032578B1 (en) * 2023-01-24 2024-07-09 Sap Se Data compression, store, and search system

Families Citing this family (58)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2813743B1 (fr) * 2000-09-06 2003-01-03 Claude Seyrat Procede de compression/decompression de documents structures
GB0110326D0 (en) * 2001-04-27 2001-06-20 Ibm Method and apparatus for interoperation between legacy software and screen reader programs
US7669120B2 (en) * 2002-06-21 2010-02-23 Microsoft Corporation Method and system for encoding a mark-up language document
WO2004061713A1 (ja) * 2002-12-27 2004-07-22 Fujitsu Limited 構造化文書の構造変換装置、構造変換方法、記録媒体
US7350199B2 (en) * 2003-01-17 2008-03-25 Microsoft Corporation Converting XML code to binary format
ATE377897T1 (de) * 2003-02-14 2007-11-15 Research In Motion Ltd System und verfahren für kompakte nachrichtenübermittlung in der netzwerkkommunikation
JP3815567B2 (ja) 2003-03-31 2006-08-30 日本電気株式会社 コンピュータシステム、コンピュータプログラム、コンピュータ間の通信方法、構造化文書の符号化方法、符号化された構造化文書の復号方法
US7356528B1 (en) * 2003-05-15 2008-04-08 At&T Corp. Phrase matching in documents having nested-structure arbitrary (document-specific) markup
US7530015B2 (en) * 2003-06-25 2009-05-05 Microsoft Corporation XSD inference
AU2003245222A1 (en) * 2003-07-08 2005-01-21 Telefonaktiebolaget Lm Ericsson (Publ) Method for compressing markup languages files, by replacing a long word with a shorter word
US20050060431A1 (en) * 2003-09-12 2005-03-17 Lewontin Stephen Paul System, apparatus, and method for using reduced web service messages
JP4261299B2 (ja) 2003-09-19 2009-04-30 株式会社エヌ・ティ・ティ・ドコモ データ圧縮装置、データ復元装置およびデータ管理装置
JP4177218B2 (ja) 2003-09-24 2008-11-05 株式会社エヌ・ティ・ティ・ドコモ 文書変換装置
US7801702B2 (en) 2004-02-12 2010-09-21 Lockheed Martin Corporation Enhanced diagnostic fault detection and isolation
US20050240555A1 (en) * 2004-02-12 2005-10-27 Lockheed Martin Corporation Interactive electronic technical manual system integrated with the system under test
US20050223288A1 (en) * 2004-02-12 2005-10-06 Lockheed Martin Corporation Diagnostic fault detection and isolation
US7509387B2 (en) * 2004-04-07 2009-03-24 Nokia Corporation System, apparatus, and method for using reduced Web service messages
WO2005101210A1 (ja) * 2004-04-09 2005-10-27 Sharp Kabushiki Kaisha データ解析装置、データ解析方法、データ解析プログラム、およびデータ解析プログラムを記録した記録媒体
US8954400B2 (en) * 2004-09-13 2015-02-10 International Business Machines Corporation Method, system and program product for managing structured data
US20060120181A1 (en) * 2004-10-05 2006-06-08 Lockheed Martin Corp. Fault detection and isolation with analysis of built-in-test results
US20060085692A1 (en) * 2004-10-06 2006-04-20 Lockheed Martin Corp. Bus fault detection and isolation
US20080052281A1 (en) * 2006-08-23 2008-02-28 Lockheed Martin Corporation Database insertion and retrieval system and method
US8346737B2 (en) * 2005-03-21 2013-01-01 Oracle International Corporation Encoding of hierarchically organized data for efficient storage and processing
JP2007122278A (ja) * 2005-10-26 2007-05-17 Canon Inc 文書処理装置及びその方法、プログラム
US7668857B2 (en) * 2005-11-07 2010-02-23 International Business Machines Corporation Meta-data tags used to describe data behaviors
US7593949B2 (en) * 2006-01-09 2009-09-22 Microsoft Corporation Compression of structured documents
US7620645B2 (en) * 2006-02-24 2009-11-17 Microsoft Corporation Scalable algorithm for sharing EDI schemas
US20070300147A1 (en) * 2006-06-25 2007-12-27 Bates Todd W Compression of mark-up language data
US20080077606A1 (en) * 2006-09-26 2008-03-27 Motorola, Inc. Method and apparatus for facilitating efficient processing of extensible markup language documents
US7836396B2 (en) * 2007-01-05 2010-11-16 International Business Machines Corporation Automatically collecting and compressing style attributes within a web document
KR100865015B1 (ko) * 2007-01-26 2008-10-23 삼성에스디에스 주식회사 실시간 통합 관리정보 데이터 변환 및 모니터링 장치 및 그방법
JP4756003B2 (ja) * 2007-03-01 2011-08-24 エヌ・ティ・ティ・コミュニケーションズ株式会社 データ圧縮転送装置、データ圧縮転送システム、データ圧縮転送方法、およびデータ圧縮転送プログラム
US8224980B2 (en) * 2007-05-07 2012-07-17 International Business Machines Corporation Adaptive parsing and compression of SOAP messages
US7747558B2 (en) * 2007-06-07 2010-06-29 Motorola, Inc. Method and apparatus to bind media with metadata using standard metadata headers
JP4898615B2 (ja) * 2007-09-20 2012-03-21 キヤノン株式会社 情報処理装置および符号化方法
US20090112900A1 (en) * 2007-10-31 2009-04-30 Krishnamurthy Viswanathan Collaborative Compression
JP5134989B2 (ja) * 2008-01-31 2013-01-30 株式会社東芝 サーバ、データ転送方法及びプログラム
JP5194936B2 (ja) * 2008-03-27 2013-05-08 日本電気株式会社 ファイル変換装置、ファイル変換方法及びプログラム
JP2010258787A (ja) * 2009-04-24 2010-11-11 Mitsubishi Electric Corp シグナリング圧縮装置、シグナリング伸長装置およびシグナリング圧縮伸長装置
US8713426B2 (en) 2009-06-25 2014-04-29 Oracle International Corporation Technique for skipping irrelevant portions of documents during streaming XPath evaluation
US8549398B2 (en) 2009-09-17 2013-10-01 International Business Machines Corporation Method and system for handling non-presence of elements or attributes in semi-structured data
JP5570202B2 (ja) * 2009-12-16 2014-08-13 キヤノン株式会社 構造化文書解析装置、構造化文書解析方法、及びコンピュータプログラム
US9165086B2 (en) 2010-01-20 2015-10-20 Oracle International Corporation Hybrid binary XML storage model for efficient XML processing
US8447785B2 (en) 2010-06-02 2013-05-21 Oracle International Corporation Providing context aware search adaptively
US8566343B2 (en) 2010-06-02 2013-10-22 Oracle International Corporation Searching backward to speed up query
US9477651B2 (en) * 2010-09-29 2016-10-25 International Business Machines Corporation Finding partition boundaries for parallel processing of markup language documents
US20120233153A1 (en) * 2011-03-11 2012-09-13 International Business Machines Corporation Hierarchical browsing operations on a directory attribute
US9390099B1 (en) * 2011-03-29 2016-07-12 Emc Corporation Method and apparatus for improving a compression ratio of multiple documents by using templates
JP2013045208A (ja) * 2011-08-23 2013-03-04 Fujitsu Ltd データ生成方法、装置及びプログラム、検索処理方法、装置及びプログラム
WO2013079999A1 (en) * 2011-12-02 2013-06-06 Canon Kabushiki Kaisha Methods and devices for encoding and decoding messages
JP2014059757A (ja) * 2012-09-18 2014-04-03 International Business Maschines Corporation 木構造を有するデータを処理する装置、処理方法およびプログラム
KR101750646B1 (ko) * 2013-03-22 2017-06-23 후지쯔 가부시끼가이샤 압축 장치, 압축 방법, 신장 장치, 신장 방법 및 정보 처리 시스템
JP6467937B2 (ja) * 2015-01-21 2019-02-13 富士通株式会社 文書処理プログラム、情報処理装置および文書処理方法
US9940351B2 (en) 2015-03-11 2018-04-10 International Business Machines Corporation Creating XML data from a database
US10733237B2 (en) 2015-09-22 2020-08-04 International Business Machines Corporation Creating data objects to separately store common data included in documents
US10467275B2 (en) * 2016-12-09 2019-11-05 International Business Machines Corporation Storage efficiency
CN110287279B (zh) * 2019-05-24 2021-08-13 国网冀北电力有限公司 一种将非结构化的日志报告转为结构化系统报表的方法
US11620190B2 (en) * 2021-04-21 2023-04-04 EMC IP Holding Company LLC Techniques for performing backups using hints

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5504891A (en) * 1991-10-17 1996-04-02 Ricoh Company, Ltd. Method and apparatus for format conversion of a hierarchically structured page description language document
US5544298A (en) * 1993-01-22 1996-08-06 Data Management Corp. Code generation and data access system
US5572731A (en) * 1992-12-30 1996-11-05 Hewlett-Packard Company Sequentially navigated object oriented computer system
JPH09261072A (ja) 1996-03-19 1997-10-03 Fujitsu Ltd 文書管理装置及びデータ圧縮方法及びデータ復元方法
US5748188A (en) * 1995-10-12 1998-05-05 Ncr Corporation Hypertext markup language (HTML) extensions for graphical reporting over an internet
US5963743A (en) * 1997-08-29 1999-10-05 Dell Usa, L.P. Database for facilitating software installation and testing for a build-to-order computer system
US5999929A (en) * 1997-09-29 1999-12-07 Continuum Software, Inc World wide web link referral system and method for generating and providing related links for links identified in web pages
JP2000101442A (ja) 1998-09-28 2000-04-07 Fujitsu Ltd データ圧縮装置及び復元装置並びにその方法
US6230168B1 (en) * 1997-11-26 2001-05-08 International Business Machines Corp. Method for automatically constructing contexts in a hypertext collection
US6247128B1 (en) * 1997-07-22 2001-06-12 Compaq Computer Corporation Computer manufacturing with smart configuration methods
US6330530B1 (en) * 1999-10-18 2001-12-11 Sony Corporation Method and system for transforming a source language linguistic structure into a target language linguistic structure based on example linguistic feature structures
US6463440B1 (en) * 1999-04-08 2002-10-08 International Business Machines Corporation Retrieval of style sheets from directories based upon partial characteristic matching
US6507874B1 (en) * 1998-01-07 2003-01-14 Microsoft Corporation System for efficient routing and translation of data
US6535886B1 (en) * 1999-10-18 2003-03-18 Sony Corporation Method to compress linguistic structures
US6635088B1 (en) * 1998-11-20 2003-10-21 International Business Machines Corporation Structured document and document type definition compression
US6745161B1 (en) * 1999-09-17 2004-06-01 Discern Communications, Inc. System and method for incorporating concept-based retrieval within boolean search engines
US7043686B1 (en) * 2000-02-04 2006-05-09 International Business Machines Corporation Data compression apparatus, database system, data communication system, data compression method, storage medium and program transmission apparatus

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5504891A (en) * 1991-10-17 1996-04-02 Ricoh Company, Ltd. Method and apparatus for format conversion of a hierarchically structured page description language document
US5572731A (en) * 1992-12-30 1996-11-05 Hewlett-Packard Company Sequentially navigated object oriented computer system
US5544298A (en) * 1993-01-22 1996-08-06 Data Management Corp. Code generation and data access system
US5748188A (en) * 1995-10-12 1998-05-05 Ncr Corporation Hypertext markup language (HTML) extensions for graphical reporting over an internet
JPH09261072A (ja) 1996-03-19 1997-10-03 Fujitsu Ltd 文書管理装置及びデータ圧縮方法及びデータ復元方法
US5854597A (en) 1996-03-19 1998-12-29 Fujitsu Limited Document managing apparatus, data compressing method, and data decompressing method
US6247128B1 (en) * 1997-07-22 2001-06-12 Compaq Computer Corporation Computer manufacturing with smart configuration methods
US5963743A (en) * 1997-08-29 1999-10-05 Dell Usa, L.P. Database for facilitating software installation and testing for a build-to-order computer system
US5999929A (en) * 1997-09-29 1999-12-07 Continuum Software, Inc World wide web link referral system and method for generating and providing related links for links identified in web pages
US6230168B1 (en) * 1997-11-26 2001-05-08 International Business Machines Corp. Method for automatically constructing contexts in a hypertext collection
US6507874B1 (en) * 1998-01-07 2003-01-14 Microsoft Corporation System for efficient routing and translation of data
JP2000101442A (ja) 1998-09-28 2000-04-07 Fujitsu Ltd データ圧縮装置及び復元装置並びにその方法
US6871320B1 (en) 1998-09-28 2005-03-22 Fujitsu Limited Data compressing apparatus, reconstructing apparatus, and method for separating tag information from a character train stream of a structured document and performing a coding and reconstruction
US6635088B1 (en) * 1998-11-20 2003-10-21 International Business Machines Corporation Structured document and document type definition compression
US6463440B1 (en) * 1999-04-08 2002-10-08 International Business Machines Corporation Retrieval of style sheets from directories based upon partial characteristic matching
US6745161B1 (en) * 1999-09-17 2004-06-01 Discern Communications, Inc. System and method for incorporating concept-based retrieval within boolean search engines
US6330530B1 (en) * 1999-10-18 2001-12-11 Sony Corporation Method and system for transforming a source language linguistic structure into a target language linguistic structure based on example linguistic feature structures
US6535886B1 (en) * 1999-10-18 2003-03-18 Sony Corporation Method to compress linguistic structures
US7043686B1 (en) * 2000-02-04 2006-05-09 International Business Machines Corporation Data compression apparatus, database system, data communication system, data compression method, storage medium and program transmission apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Japanese Patent Office Action, mailed Aug. 5, 2008 and issued in corresponding Japanese Patent Application No. 2000-357568, includes English translation (4 pgs).

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080250055A1 (en) * 2007-04-03 2008-10-09 Canon Kabushiki Kaisha Method and Device for Coding a Hierarchized Document
US8788509B2 (en) * 2007-04-03 2014-07-22 Canon Kabushiki Kaisha Method and device for coding a hierarchized document
US20100131475A1 (en) * 2007-05-24 2010-05-27 Fujitsu Limited Computer product, information retrieving apparatus, and information retrieval method
US20100131476A1 (en) * 2007-05-24 2010-05-27 Fujitsu Limited Computer product, information retrieval method, and information retrieval apparatus
US8595196B2 (en) * 2007-05-24 2013-11-26 Fujitsu Limited Computer product, information retrieving apparatus, and information retrieval method
US8712977B2 (en) 2007-05-24 2014-04-29 Fujitsu Limited Computer product, information retrieval method, and information retrieval apparatus
US20100083083A1 (en) * 2008-09-30 2010-04-01 Apple Inc. Compressed table format
US9619443B2 (en) 2012-03-05 2017-04-11 International Business Machines Corporation Enhanced messaging transaction performance with auto-selected dual-tag fields
US20160259641A1 (en) * 2013-12-16 2016-09-08 Hewlett Packard Enterprise Development Lp Tagging a program code portion
KR20230053285A (ko) * 2021-10-14 2023-04-21 (주)온택트티비 개인별 공연 정보 제공 시스템 및 방법
US12032578B1 (en) * 2023-01-24 2024-07-09 Sap Se Data compression, store, and search system
US12461918B2 (en) 2023-01-24 2025-11-04 Sap Se Data compression, store, and search system

Also Published As

Publication number Publication date
JP2002163248A (ja) 2002-06-07
US20020065822A1 (en) 2002-05-30
JP4774145B2 (ja) 2011-09-14

Similar Documents

Publication Publication Date Title
US7856595B2 (en) Structured document compressing apparatus and method, record medium in which a structured document compressing program is stored, structured document decompressing apparatus and method, record medium in which a structured document decompressing program is stored, and structured document processing system
US5812999A (en) Apparatus and method for searching through compressed, structured documents
US7924183B2 (en) Method and system for reducing required storage during decompression of a compressed file
JP3009727B2 (ja) 改良形データ圧縮装置
US7417570B2 (en) Lossless comparative compression and transmission method and system
US7689630B1 (en) Two-level bitmap structure for bit compression and data management
US20070106876A1 (en) Keymap order compression
US20030106017A1 (en) Computer-implemented PDF document management
CN115408350B (zh) 日志压缩、日志还原方法、装置、计算机设备和存储介质
WO2012040391A1 (en) Compressed distributed storage systems and methods for providing same
US6247015B1 (en) Method and system for compressing files utilizing a dictionary array
US20110069833A1 (en) Efficient near-duplicate data identification and ordering via attribute weighting and learning
EP1990737B1 (en) Document transformation system
US20050102304A1 (en) Data compressor, data decompressor, and data management system
US7379940B1 (en) Focal point compression method and apparatus
US5394143A (en) Run-length compression of index keys
US7676742B2 (en) System and method for processing of markup language information
US8126929B2 (en) Method and apparatus for encoding list of variable length structures to support bi-directional scans
US20090083267A1 (en) Method and System for Compressing Data
US10515092B2 (en) Structured record compression and retrieval
US8244677B2 (en) Focal point compression method and apparatus
Buchmann et al. A preliminary study on the feasibility of storing fingerprint and iris image data in 2d-barcodes
US7415665B2 (en) Methods and systems for compressing markup language files
CN111767171B (zh) 文件备份与还原的方法
JP5674974B2 (ja) 圧縮データ処理プログラム、圧縮データ編集プログラム

Legal Events

Date Code Title Description
AS Assignment

Owner name: FUJITSU LIMITED, JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:ITANI, NORIKO;REEL/FRAME:011698/0739

Effective date: 20010308

FEPP Fee payment procedure

Free format text: PAYER NUMBER DE-ASSIGNED (ORIGINAL EVENT CODE: RMPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

CC Certificate of correction
FPAY Fee payment

Year of fee payment: 4

FEPP Fee payment procedure

Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.)

LAPS Lapse for failure to pay maintenance fees

Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Lapsed due to failure to pay maintenance fee

Effective date: 20181221