Compressing log files
First Claim
1. A method of compressing data comprised of first through sixth patterns having respective first through sixth values, where the first pattern precedes the second pattern in the data, the third pattern precedes the fourth pattern in the data, and the fifth pattern precedes the sixth pattern in the data, the method comprising:
- providing first compressed data comprising a first code and the second value if the second value exceeds the first value by more than a predetermined amount;
providing second compressed data comprising a second code and a difference between the third and fourth values if the fourth value does not exceed the third value by more than the predetermined amount;
providing third compressed data comprising the fifth value and the sixth value if the sixth value exceeds the fifth value by a predefined number; and
storing, in memory, at least one of the first compressed data, the second compressed data, and the third compressed data.
4 Assignments
0 Petitions
Accused Products
Abstract
Data is compressed, which includes first through sixth patterns having respective first through sixth values, where the first pattern precedes the second pattern in the data, the third pattern precedes the fourth pattern in the data, and the fifth pattern precedes the sixth pattern in the data. Compression includes outputting a first code and the second value if the second value exceeds the first value by more than a predetermined amount, outputting a second code and a difference between the third and fourth values if the fourth value does not exceed the third value by more than the predetermined amount, and outputting the fifth value and the sixth value if the sixth value exceeds the fifth value by a predefined number.
8 Citations
20 Claims
-
1. A method of compressing data comprised of first through sixth patterns having respective first through sixth values, where the first pattern precedes the second pattern in the data, the third pattern precedes the fourth pattern in the data, and the fifth pattern precedes the sixth pattern in the data, the method comprising:
-
providing first compressed data comprising a first code and the second value if the second value exceeds the first value by more than a predetermined amount; providing second compressed data comprising a second code and a difference between the third and fourth values if the fourth value does not exceed the third value by more than the predetermined amount; providing third compressed data comprising the fifth value and the sixth value if the sixth value exceeds the fifth value by a predefined number; and storing, in memory, at least one of the first compressed data, the second compressed data, and the third compressed data. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method of compressing data comprised of a sequence of data strings, the method comprising:
-
providing first compressed data comprising a first code for a first data string that occurs more than once in the data; providing second compressed data comprising a second code and a corresponding second string identifier for a second data string in the data, the second string identifier being predefined; providing third compressed data comprising a third code, a corresponding third string length, and a corresponding third string identifier for a third data string in the data; providing fourth compressed data comprising a fourth code and a corresponding fourth run length value for a fourth data string that occurs repeatedly in the data, the fourth run length value corresponding to a number of consecutive repetitions of the fourth data string; and storing, in memory, at least one of the first compressed data, the second compressed data, the third compressed data, and the fourth compressed data. - View Dependent Claims (7, 8, 9)
-
-
10. A method of compressing data, the method comprising:
-
storing compression rules in association with corresponding user request identifiers (URIs), wherein different URIs are associated with one or more arguments having different structures, and each compression rule is associated with a URI and is for compressing at least one argument having a fixed structure that is associated with the URI receiving an input argument, the input argument corresponding to a URI; identifying a stored compression rule by matching the URI of the input argument to the URI of the stored compression rule; compressing the input argument according to the stored compression rule to produce a compressed input argument; and storing the compressed input argument in memory.
-
-
11. One or more machine-readable media for storing instructions to compress data comprised of first through sixth patterns having respective first through sixth values, where the first pattern precedes the second pattern in the data, the third pattern precedes the fourth pattern in the data, and the fifth pattern precedes the sixth pattern in the data, the instructions for causing one or more processing devices to:
-
provide first compressed data comprising a first code and the second value if the second value exceeds the first value by more than a predetermined amount; provide second compressed data comprising a second code and a difference between the third and fourth values if the fourth value does not exceed the third value by more than the predetermined amount; provide third compressed data comprising the fifth value and the sixth value if the sixth value exceeds the fifth value by a predefined number; and store, in memory, at least one of the first compressed data, the second compressed data, and the third compressed data. - View Dependent Claims (12, 13, 14, 15)
-
-
16. One or more machine-readable media for storing instructions to compress data comprised of a sequence of data strings, the instructions for causing one or more processing devices to:
-
provide first compressed data comprising a first code for a first data string that occurs more than once in the data; provide second compressed data comprising a second code and a corresponding second string identifier for a second data string in the data, the second string identifier being predefined; provide third compressed data comprising a third code, a corresponding third string length, and a corresponding third string identifier for a third data string in the data; provide fourth compressed data comprising a fourth code and a corresponding fourth run length value for a fourth data string that occurs repeatedly in the data, the fourth run length value corresponding to a number of consecutive repetitions of the fourth data string; and store, in memory, at least one of the first compressed data, the second compressed data, the third compressed data, and the fourth compressed data. - View Dependent Claims (17, 18, 19)
-
-
20. One or more machine-readable media for storing instructions to compress data, the instructions for causing one or more processing devices to:
-
store compression rules in association with corresponding user request identifiers (URIs), wherein different URIs are associated with one or more arguments having different fixed structures, and each compression rule is associated with a URI and is for compressing at least one argument having a fixed structure that is associated with the URI; receive an input argument, the input argument corresponding to a URI; identify a stored compression rule by matching the URI of the input argument to the URI of the stored compression rule; compress the input argument according to the stored compression rule to produce a compressed input argument; and store the compressed input argument in memory.
-
Specification