Certain embodiments of the present invention relate to data compression and data decompression and/or data encryption and data decryption. More particularly, certain embodiments relate to systems, methods, and physical computer-readable storage media for performing geometric data compression and geometric data decompression and/or geometric data encryption and geometric data decryption.
There are many existing techniques for performing data compression and encryption. With respect to the terms “encryption” and “compression”, “encryption” is the more general of the two. Data encryption involves mapping an initial set of data to a second different set of data, ideally in a manner such that a third-party observer of the second encrypted set of data cannot easily, if at all, reconstruct the initial unencrypted set of data. Data decryption involves mapping the second encrypted set of data back to the original initial set of data. The size of the second encrypted set of data may be the same as, smaller than, or larger than the initial unencrypted set of data. When the second encrypted set of data is smaller in size than the initial set of data, then data compression has occurred. Certain compression/encryption techniques lend themselves well to certain applications, and other compression/encryption techniques lend themselves well to other applications. A data compression/encryption technique that lends itself well to many different types of applications is desirable.
Further limitations and disadvantages of conventional, traditional, and proposed approaches <will become apparent to one of skill in the art, through comparison of such approaches with the subject matter of the present application as set forth in the remainder of the present application with reference to the drawings.
An embodiment of the present invention comprises a computer-implemented method of compressing data in a computer system by performing computer-implemented operations. The method includes generating a virtual geometric compression object (VGCO) by defining a plurality of discrete elements arranged in a geometric shape, and assigning one or more data bit values to each of the plurality of discrete elements. Generating a virtual geometric compression object may be accomplished using an apriori definition of a standard geometric compression object. The apriori definition may include at least one of an object-identifying number, an object-dimensioning coefficient, an object generating formula, an object-generating algorithm, or a set of object set-up coefficients. The method further includes storing the VGCO in a first computer-readable memory and reading a sequence of uncompressed data bits from a second computer-readable memory. The method also includes searching the VGCO for the sequence of uncompressed data bits traversing a path of a contiguous portion of the plurality of discrete elements through the VGCO. If the path is found through the VGCO as a result of the searching, then the method further includes recording a compression definition in a third computer-readable memory, where the compression definition defines the path through the VGCO. If the path is not found through the VGCO as a result of the searching, then the method also includes reducing the length of the sequence of uncompressed data bits and performing another search as previously described herein. Furthermore, the method may include changing the length of the sequence of uncompressed data bits (e.g., increasing the length by reading more of the data bits) and performing another search as previously described herein. If more data is to be compressed, a next sequence of data bits may be read and subsequent portions of the method repeated to compress the next sequence of data bits. In accordance with an embodiment of the present invention, the geometric shape of the VGCO may be a rectangular cuboid. The path through the VGCO may be along an orthogonal direction (e.g., x-direction, y-direction, or z-direction) of the rectangular cuboid. Alternatively, the path through the VGCO may be along a diagonal direction through the rectangular cuboid. The compression definition may include an index, address, or coordinates of a starting element within the VGCO and a vector direction through the VGCO from the starting element. The compression definition may further include a vector length in terms of a number of contiguous elements. The compression definition may also include a compression object number identifying the VGCO. As an alternative, the compression definition may include an index, address, or coordinates of a starting element within the VGCO and an index, address, or coordinates of an ending element within the VGCO. The compression definition may further include a compression object number identifying the VGCO. The compression definition may instead include a single index into a table of defined starting positions, vector directions, and/or vector lengths.
Another embodiment of the present invention comprises a computer-implemented method of generating a VGCO in a computer system by performing computer-implemented operations. The method includes defining a plurality of discrete elements arranged in a geometric shape and assigning one or more data bit values to each of the plurality of discrete elements. The method also includes storing the plurality of discrete elements in a computer-readable memory. The geometric shape may be a rectangular cuboid, for example.
A further embodiment of the present invention comprises a physical computer-readable storage medium having computer-executable instructions stored thereon which, when executed by a computer, cause the computer to generate a VGCO by defining a plurality of discrete elements arranged in a geometric shape, and assigning one or more data bit values to each of the plurality of discrete elements. The computer-executable instructions, when executed by a computer, further cause the computer to store the VGCO in a first computer-readable memory, and read a sequence of uncompressed data bits from a second computer-readable memory. The computer-executable instructions, when executed by a computer, also cause the computer to perform a search of the VGCO for the sequence of uncompressed data bits traversing a path of a contiguous portion of the plurality of discrete elements through the VGCO. The computer-executable instructions, when executed by a computer, further cause the computer to record a compression definition in a third computer-readable memory if the path is found through the VGCO as a result of the search, where the compression definition defines the path through the VGCO.
Another embodiment of the present invention comprises a data compression system. The data compression system includes means for generating a VGCO by defining a plurality of discrete elements arranged in a geometric shape, and assigning one or more data bit values to each of the plurality of discrete elements. The data compression system further includes means for storing the VGCO in a first computer-readable memory. The data compression system also includes means for reading a sequence of uncompressed data bits from a second computer-readable memory. The data compression system further includes means for searching the VGCO for the sequence of uncompressed data bits traversing a path of a contiguous portion of the plurality of discrete elements through the VGCO. The data compression system also includes means for recording a compression definition in a third computer-readable memory if the path is found through the VGCO as a result of the searching, where the compression definition defines the path through the VGCO.
A further embodiment of the present invention comprises a computer-implemented method of decompressing data in a computer system by performing computer implemented operations. The method includes reading a compression definition corresponding to a sequence of uncompressed data bits from a first computer-readable memory. The method further includes generating at least a portion of a VGCO wherein the VGCO defines a plurality of discrete elements arranged in a geometric shape and having one or more data bit values assigned to each of the plurality of discrete elements. The method also includes extracting the sequence of uncompressed data bits from the portion of the VGCO along a path of contiguous discrete elements through the portion of the VGCO as defined by the compression definition. The method further includes storing the sequence of uncompressed data bits in a second computer-readable memory. The geometric shape may be a rectangular cuboid. The path may be along an orthogonal direction (e.g., x-direction, y-direction, or z-direction) of the rectangular cuboid. Alternatively, the path may be along a diagonal direction through the rectangular cuboid. The compression definition may include an index, address, or coordinates of a starting element within the VGCO and a vector direction through the VGCO from the starting element. The compression definition may further include a vector length in terms of a number of contiguous elements. The compression definition may also include a compression object number identifying the VGCO. Alternatively, the compression definition may include an index, address, or coordinates of a starting element within the VGCO and an index, address, or coordinates of an ending element within the VGCO. The compression definition may further include a compression object number identifying the VGCO. The compression definition may instead include a single index into a table of defined starting positions, vector directions, and/or vector lengths. Generating at least a portion of the VGCO is accomplished using an apriori definition of a standard geometric compression object. The aprior definition may include at least one of an object-identifying number, an object-dimensioning coefficient, an object-generating formula, an object-generating algorithm, or a set of object set-up coefficients.
Another embodiment of the present invention comprises a physical computer-readable storage medium having computer-executable instructions stored thereon which, when executed by a computer, cause the computer to read a compression definition corresponding to a sequence of uncompressed data bits from a first computer-readable memory. The computer-executable instructions, when executed by a computer, further cause the computer to generate at least a portion of a VGCO wherein the VGCO defines a plurality of discrete elements arranged in a geometric shape and having one or more data bit values assigned to each of the plurality of discrete elements. The computer-executable instructions, when executed by a computer, also cause the computer to extract the sequence of uncompressed data bits from the portion of the VGCO along a path of contiguous discrete elements through the portion of the VGCO as defined by the compression definition. The computer-executable instructions, when executed by a computer, further cause the computer to store the sequence of uncompressed data bits in a second computer-readable memory.
A further embodiment of the present invention comprises a data decompression system. The system includes means for reading a compression definition corresponding to a sequence of uncompressed data bits from a first computer-readable memory. The system further includes means for generating at least a portion of a VGCO wherein the VGCO defines a plurality of discrete elements arranged in a geometric shape and having one or more data bit values assigned to each of the plurality of discrete elements. The system also includes means for extracting the sequence of uncompressed data bits from the portion of the VGCO along a path of contiguous discrete elements through the portion of the VGCO as defined by the compression definition. The system further includes means for storing the sequence of uncompressed data bits in a second computer-readable memory.
Another embodiment of the present invention comprises a computer-implemented method of encrypting data in a computer system by performing computer implemented operations. The method includes generating a virtual geometric encryption object by defining a plurality of discrete elements arranged in a geometric shape, and assigning one or more data bit values to each of the plurality of discrete elements. The method further includes storing the virtual geometric encryption object in a first computer-readable memory. The method also includes reading a sequence of unencrypted data bits from a second computer-readable memory and searching the virtual geometric encryption object for the sequence of unencrypted data bits traversing a path of a contiguous portion of the plurality of discrete elements through the virtual geometric encryption object. The method further includes recording an encryption definition in a third computer-readable memory, where the encryption definition defines the path through the virtual geometric encryption object, if the path is found through the virtual geometric encryption object as a result of the searching. The virtual geometric encryption object may be generated using at least one of an object-identifying number, an object-dimensioning coefficient, an object-generating formula, an object-generating algorithm, and a set of object set-up coefficients. The method may further include transmitting the encryption definition to a remote location without transmitting any of the object-identifying number, the object-dimensioning coefficient, the object-generating formula, the object-generating algorithm, and the set of object set-up coefficients.
These and other novel features of the subject matter of the present application, as well as details of illustrated embodiments thereof, will be more fully understood from the following description and drawings.
The system 100 also includes a user interface 140 operatively connected to the CPU 110. The user interface 140 may include, for example, a keyboard, a computer mouse, and a display. As an option, the system 100 may include a data transmitter/receiver 150 operatively connected to the CPU 110. The data transmitter/receiver 150 is capable of transmitting and receiving data to/from other systems over a network, for example.
In accordance with an embodiment of the present invention, the system 100 includes several software components that are stored on the hard drive 120. The software components include an operating system 160, a virtual geometric compression object (VGCO) generator 170, a geometric compression algorithm 180, and a geometric decompression algorithm 190. Each of the software components 160-190 include computer-executable instructions capable of being executed by the CPU 110.
The operating system 160 provides the management and coordination of activities and system resource sharing and further acts as a host for the various software components (e.g., 170-190) that are run on the CPU 110. The VGCO generator 170 generates a virtual geometric compression object (VGCO) within the system 100, as is described in detail later herein. A VGCO is a type of data structure that is generated and/or stored in the system 200 by defining a plurality of discrete elements arranged in a geometric shape and assigning one or more data bit values (e.g., a combination of binary data bit values) to each of the plurality of discrete elements.
Some possible geometric shapes of a VGCO may include a square, a rectangle, a rectangular cuboid, a circle, an ellipsoid, a polyhedral, a triangle, a pyramid, and a sphere. Many other geometric shapes are possible as well, in accordance with various embodiments of the present invention. A VGCO may be multi-dimensional, having two or more dimensions. For example, in accordance with certain embodiments of the present invention, a VGCO may have four or more dimensions, even though such numbers of dimensions cannot be readily visualized as a geometric object in three-dimensional space.
The geometric compression algorithm 180 operates on sequences of uncompressed data bits to compress and/or encrypt the data bits using a VGCO as is described in detail later herein. The geometric decompression algorithm 190 operates on compressed data bits to decompress and/or decrypt the data bits using at least a portion of a VGCO as is described in detail later herein. In accordance with an embodiment of the present invention, the software components 170-190 are loaded from the hard drive 120 into the RAM 130 to be executed by the CPU 110.
Referring to
Each of the eight discrete elements is assigned one or more data bits. In particular, the discrete element indexed as (0,0,0) is assigned the data bits [1111]; the discrete element indexed as (1,0,0) is assigned the data bits [1111]; the discrete element indexed as (0,1,0) is assigned the data bits [0000]; the discrete element indexed as (1,1,0) is assigned the data bits [0000]; the discrete element indexed as (0,0,1) is assigned the data bits [11111111]; the discrete element indexed as (1,0,1) is assigned the data bits [11111111]; the discrete element indexed as (0,1,1) is assigned the data bits [00000000]; and the discrete element indexed as (1,1,1) is assigned the data bits [00000000]. Any discrete element of the VGCO 200 may be used as a starting point or and ending point in the compression process. Furthermore, any vector direction through the VGCO 200, from the starting point, may be defined. In this manner, a compression definition may be generated using the geometric compression algorithm 180 to compress and/or encrypt an uncompressed sequence of data bits.
For example, referring to the VGCO 200 of
A simple illustration of how the compression method works is provided in
As illustrated in the example, the initial uncompressed sequence of 56 data bits is broken up into four groups; and each of the four groups is represented as an index of a starting discrete element in the VGCO 200 and a vector direction or path through the VGCO 200. This is accomplished by performing a search of the VGCO 200 to match the assigned data bit values of a path of discrete elements through the VGCO 200 to the sequence of data bits to be compressed. Therefore, using the VGCO 200 of
In step 350, a determination is made as to whether or not the sequence of uncompressed data bits was found in the VGCO. If not, then in step 360, a length of the sequence of uncompressed data bits is reduced and the method reverts back to step 340. When the sequence of uncompressed data bits is found, then in step 370, a compression definition is recorded in a third computer-readable memory (e.g., 133), where the compression definition defines the path through the VGCO. In step 380, if there is still more data to compress, then the method reverts back to step 330 to read the next sequence of uncompressed data bits. Otherwise, the method ends.
For example, the compression definition may include a starting point and a vector direction for each of various contiguous portions (i.e., groups) of the sequence of uncompressed data bits, or for the entire sequence. Alternatively, the compression definition may include a starting point and an ending point for each of various contiguous portions of the sequence of uncompressed data bits, or for the entire sequence. In accordance with an embodiment of the present invention, the system 100 is used to perform the method 300.
Furthermore, even if the original sequence of uncompressed data bits is found in the VGCO, the method may include changing the length of the sequence of uncompressed data bits and performing another search as previously described herein. For example, if the original sequence of uncompressed data bits is found in the VGCO, a longer sequence of uncompressed data bits, which includes the original sequence of uncompressed data bits, may be read to see if such a longer sequence exists in the VGCO, thereby providing more compression.
In accordance with an embodiment of the present invention, a physical computer-readable storage medium is provided having computer-executable instructions thereon which, when executed by a computer (e.g., the system of
To recover the original sequence of uncompressed data bits from the compression definition (i.e., from the sequence of compressed data bits), a geometric decompression algorithm is used (e.g., 190).
In step 410 of the method 400, a compression definition, corresponding to a sequence of uncompressed data bits, is read from a first computer-readable memory (e.g., memory 131). In step 420, at least a portion of a virtual geometric compression object (VGCO) is generated (e.g., by the VGCO generator 170), wherein the VGCO defines a plurality of discrete elements arranged in a geometric shape and having one or more data bit values assigned to each of the plurality of discrete elements. In step 430, the sequence of uncompressed data bits is extracted from the portion of the VGCO along a path of contiguous discrete elements through the portion of the VGCO as defined by the compression definition. In step 440, the sequence of uncompressed data bits is stored in a second computer-readable memory (e.g., 132). The method 400 is executed by the system 100 using the geometric decompression algorithm 190, in accordance with an embodiment of the present invention.
Referring to
For example, an object-identifying number (i.e., a compression object number) may identify a particular standard VGCO which the VGCO generator 170 of the system 100 knows, apriori, how to generate, even though the VGCO is not currently generated in the system 100. The object-identifying number may be incorporated into the compression definition at the time of data compression. Furthermore, the system 100 may only need to generate a portion of the identified standard VGCO using the apriori knowledge of the VGCO and the given compression definition under consideration.
As another example, an object-dimensioning coefficient may determine a particular VGCO which the system knows, apriori, how to generate, even though the VGCO is not currently generated in the system 100. The object-dimensioning coefficient may be incorporated into the compression definition at the time of compression. For example, if the object-dimensioning coefficient is ‘16’, the VGCO generator 170 of the system 100 is programmed to know how to generate a standard 16×16×16 cubic VGCO with assigned data bit values. Again, the system 100 may only need to generate a portion of the identified standard VGCO using the apriori knowledge of the VGCO and the given compression definition under consideration.
As a further example, an object-generating algorithm may determine a particular VGCO which the system knows, apriori, how to generate, even though the VGCO is not currently generated in the system 100. For example, if the compression definition includes an object-identifying number, the object-identifying number may identify a particular algorithm programmed as part of the VGCO generator 170 to generate at least a portion of a particular VGCO having a particular shape and dimensions and having particular data bit values assigned to each of the discrete elements of the VGCO.
As a final example, a set of object set-up coefficients may determine a particular VGCO which the system knows, apriori, how to generate, even though the VGCO is not currently generated in the system 100. For example, if the compression definition includes an object-identifying number, the object-identifying number may identify a particular set of object set-up coefficients which may be used, for example, in conjunction with an object-generating formula to generate at least a portion of a particular VGCO having a particular shape and dimensions and having particular data bit values assigned to each of the discrete elements of the VGCO.
In accordance with an embodiment of the present invention, a physical computer-readable storage medium is provided having computer-executable instructions thereon which, when executed by a computer (e.g., the system 100 of
Referring to
For example, referring to the VGCO 500 of
An illustration of how the compression method works is provided in
As illustrated in the example, the initial uncompressed sequence of 150 data bits is broken up into seven groups, and each of the seven groups is represented as an index of a starting discrete element in the VGCO 500, a vector direction or path through the VGCO 500, and a vector length in number of contiguous elements. This is accomplished by performing a search of the VGCO 500 to match the assigned data bit values of a path of discrete elements through the VGCO 500 to the sequence of data bits to be compressed. Therefore, using the VGCO 500 of
Many other VGCO's having various shapes and various assigned data bit values are possible as well, in accordance with various embodiments of the present invention. For example, the discrete elements of a particular VGCO may be filled (i.e., assigned) with data bit values in an ordered manner, allowing easy indexing into the VGCO. For example, for a rectangular cuboid VGCO, initial discrete elements may be assigned a fewer number of bits and subsequent discrete elements may be assigned successively higher numbers of bits, according to a predefined pattern. Also, different VGCO's may have different types of compression definitions. For example, a VGCO having the shape of a circle may use a compression definition having an angle and a vector length, where the starting point is always at or near the center of the circle and the discrete elements project out radially from the center of the circle.
In accordance with certain embodiments of the present invention, a VGCO may be defined which provides data encryption but does not provide data compression. In fact, in certain particular embodiments, the length of an encrypted data sequence may be longer than the length of the original sequence to be encrypted. Such embodiments are valid in the sense that they may be used to provide data encryption/decryption if data compression is not desired or is not necessary. The system 100 and the methods 300 and 400 may be used to perform such data encryption/decryption. In such embodiments, the VGCO is more aptly called a virtual geometric encryption object (VGEO), a sequence of uncompressed data bits is more aptly called a sequence of unencrypted data bits, and a compression definition is more aptly called an encryption definition. Data bit values may be assigned to the discrete elements of the VGCO in a random or more complex manner in order to provide additional security. Furthermore, additional encryption security may be provided by not including any apriori definition of a standard geometric compression object when transmitting the encrypted data from a source location to a destination location. For example, no apriori definition including any of an object identifying number, an object-dimensioning coefficient, an object-generating formula, an object-generating algorithm, or a set of object set-up coefficients is provided.
However, in accordance with certain other embodiments of the present invention, data compression and encryption may be performed simultaneously using a single VGCO. Similarly, data decompression and data decryption may be performed simultaneously using a single VGCO. In such embodiments, the VGCO may not be a standard or well-ordered VGCO. Instead, the discrete elements of the VGCO may be assigned data bit values in a random manner or in a complex coded manner to provide extra security as well as data compression.
VGCO's may be designed which provide lossless data compression or lossy data compression. In lossless data compression, when a VGCO is searched for a sequence of uncompressed data bits traversing a path of contiguous discrete elements through the VGCO, the exact and complete sequence of uncompressed data bits needs to be found for the resultant compression to be lossless. However, with lossy data compression, the sequence of uncompressed data bits needs to be found in the VGCO only to within a certain error (e.g., +/−3 least significant bits). With lossy data compression, a certain amount of lost information is deemed to be acceptable upon recovery of the data during data decompression. Such lossy data compression may be acceptable in certain applications of image compression, for example.
In summary, systems, methods, and physical computer-readable storage media for performing geometric data compression and geometric data decompression are disclosed. A virtual geometric compression object is generated within a computer system by defining a plurality of discrete elements arranged in a geometric shape and assigning one or more data bit values to each of the plurality of discrete elements. The virtual geometric compression object is used by the computer system to compress sequences of uncompressed data bits into compression definitions. A compression definition defines a path through the virtual geometric compression object corresponding to a sequence of uncompressed data bits. In a reverse manner, for data decompression, at least a portion of a virtual geometric compression object is generated and a compression definition is used to extract a corresponding sequence of uncompressed data bits from the portion of the virtual geometric compression object.
While the claimed subject matter of the present application has been described with reference to certain embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the scope of the claimed subject matter. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the claimed subject matter without departing from its scope. Therefore, it is intended that the claimed subject matter not be limited to the particular embodiment disclosed, but that the claimed subject matter will include all embodiments falling within the scope of the appended claims.