Method and system for searching compressed data
First Claim
1. An apparatus for searching a compressed document comprised of a plurality of variable length compressed codes which represent an uncompressed document, each variable length compressed code having a length indicator which indicates the length of the variable length compressed code, the apparatus comprising:
- means for receiving a query request in an uncompressed code;
means for converting the query request from the uncompressed code into a converted query request of one of the plurality of variable length compressed codes;
means for determining the length of the converted query request;
means for comparing the converted query request with the variable length compressed codes of the compressed document, to determine if variable length compressed codes of the compressed document match the converted query request, wherein the converted query request is only compared with those variable length compressed codes whose length is equal to the length of the converted query request, andmeans for responding to the determination that there is a match between the variable length compressed codes of the compressed document and the converted query request.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and system for searching a compressed document while a plurality of character strings stored in the compressed document are stored in a compressed code. A query request is received, the query request is converted into the compressed code, and the converted query request is compared with the compressed codes stored in the compressed document. The initiator of the query request is then informed about the results of the comparison.
199 Citations
25 Claims
-
1. An apparatus for searching a compressed document comprised of a plurality of variable length compressed codes which represent an uncompressed document, each variable length compressed code having a length indicator which indicates the length of the variable length compressed code, the apparatus comprising:
-
means for receiving a query request in an uncompressed code; means for converting the query request from the uncompressed code into a converted query request of one of the plurality of variable length compressed codes; means for determining the length of the converted query request; means for comparing the converted query request with the variable length compressed codes of the compressed document, to determine if variable length compressed codes of the compressed document match the converted query request, wherein the converted query request is only compared with those variable length compressed codes whose length is equal to the length of the converted query request, and means for responding to the determination that there is a match between the variable length compressed codes of the compressed document and the converted query request.
-
-
2. A method for searching a compressed document comprised of a plurality of variable length compressed codes which represent an uncompressed document, each variable length compressed code having a length indicator which indicates the length of the variable length compressed code, the method comprising the steps of:
-
receiving a query request in an uncompressed code; converting the query request from the uncompressed code into a converted query request of one of the plurality of variable length compressed codes; means for determining the length of the converted query request; comparing the converted query request with the variable length compressed codes of the compressed document, to determine which variable length compressed codes of the compressed document match the converted query request, wherein the converted query request is only compared with those variable length compressed codes whose length is equal to the length of the converted query request; and responding to the determination that there is a match between the variable length compressed codes of the compressed document and the converted query request. - View Dependent Claims (3)
-
-
4. An apparatus for searching a compressed document comprised of a plurality of fixed length compressed codes which represent an uncompressed document, the apparatus comprising:
-
means for receiving a query request in a uncompressed code; means for converting the query request from the uncompressed code into a converted query request of the fixed length compressed code; means for comparing the converted query request with the fixed length compressed codes of the compressed document to determine which fixed length compressed codes of the compressed document match the converted query request; and means for responding to the determination that there is a match between the fixed length compressed codes of the compressed document and the converted query request. - View Dependent Claims (5, 6, 7)
-
-
8. An apparatus for retrieving data, the apparatus comprising:
-
a compressed document including a plurality of character strings, each character string being stored in a compressed code; means for receiving a query request; and means for searching for the query request in the compressed document while the plurality of character strings stored in the compressed document are stored in the compressed code.
-
-
9. An apparatus for searching a compressed document comprised of a plurality of variable length compressed codes which represent an uncompressed document, the apparatus comprising:
-
means for receiving a query request in an uncompressed code; means for converting the query from the uncompressed code into a converted query request of the variable length compressed code; means for comparing the converted query request with the variable length compressed codes of the compressed document, to determine if variable length compressed codes of the compressed document match the converted query request; and means for responding to the determination that there is a match between the variable length compressed codes of the compressed document and the converted query request. - View Dependent Claims (10, 11, 12)
-
-
13. A method for searching a compressed document while a plurality of character strings stored in the compressed document are stored in a fixed length compressed code, the method comprising:
-
receiving a query request in a uncompressed code, wherein the uncompressed code represents the query request using a plurality of bits; converting the query request from the uncompressed code into a converted query request of the fixed length compressed code; comparing the converted query request with the plurality of fixed length compressed codes stored in the compressed document to determine which fixed length compressed codes from the compressed document match the converted query request; and responding to the determination that there is a match between the fixed length compressed codes of the compressed document and the converted query request. - View Dependent Claims (14, 15)
-
-
16. A method for retrieving data, the method comprising:
-
providing a compressed document including a plurality of character strings stored in a fixed length compressed code; providing a query request in a fixed length compressed code; and searching for the query request in the compressed document while the plurality of character strings stored in the compressed document are stored in the fixed length compressed code.
-
-
17. A method for searching a compressed document comprised of a plurality of variable length compressed codes which represent an uncompressed document, the method comprising:
-
receiving a query request in an uncompressed code; converting the query from the uncompressed code into a converted query request of the variable length compressed code; comparing the converted query request with the variable length compressed codes of the compressed document, to determine which variable length compressed codes of the compressed document match the converted query request; and responding to the determination that there is a match between the variable length compressed codes of the compressed document and the converted query request. - View Dependent Claims (18, 19, 20)
-
-
21. A computer-readable medium containing instructions for causing a computer system to retrieve data by:
-
providing a compressed document including a plurality of character strings represented in a compressed form; receiving a query request to locate a character string within the compressed document; converting the character string to a compressed form; and searching for an occurrence of the character string in compressed form in the compressed document whereby the compressed document is searched without decompressing the character strings of the document.
-
-
22. A computer-readable medium containing instructions for causing a computer system to search a compressed document comprised of a plurality of variable length compressed codes which represent an uncompressed document by:
-
receiving a query request in an uncompressed code; converting the query request from the uncompressed code into a converted query request of the variable length compressed code; comparing the converted query request with the variable length compressed codes of the compressed document to determine which variable length compressed codes of the compressed document match the converted query request; and responding to the determination that there is a match between the variable length compressed codes of the compressed document and the converted query request whereby the compressed document can be queried without decompressing the document. - View Dependent Claims (23, 24, 25)
-
Specification