Data compression method

By classifying and statistically distributing the data set, it ensures that complex data is not erased, solves the problem of important data loss in the existing technology, and achieves efficient compression and analysis of the data set.

CN110825707BActive Publication Date: 2024-08-30安德鲁卡迈尔
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201910729783.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-08-08
Publication Date
2024-08-30
Estimated Expiration
2039-08-08

AI Technical Summary

Technical Problem

When existing data analysis software processes large data sets, complex data such as irrational numbers and complex numbers are treated as unexpected data for cleaning, resulting in the loss of important information, especially in particle accelerator and cancer genome data sets, which are not irrelevant. critical.

Method used

Ensure complexity data by taking the values ​​in the data set and classifying them into first and second categories, determining the categories of values ​​based on statistical distribution and Bayes' theorem, using the quadtree data structure to store and validate the values ​​in the data set is not erased, and the Riemann zeta function is used to verify whether the values ​​in the data set meet the criteria.

Benefits of technology

Effectively compress data sets, maintain complex data, and no longer treat important data as memoryless data, thereby retaining key information in data analysis and improving the accuracy and efficiency of data processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110825707B_ABST
    Figure CN110825707B_ABST
Patent Text Reader

Abstract

The present invention provides a method for data compression. An example method for compressing a data set includes determining whether each value from the data set corresponds to a first category or a second category of values. Based on a value in the values ​​corresponding to the first category, the value is added to the compressed data set. Based on a value in the values ​​corresponding to the second category, the value is excluded from the compressed data set, and a statistical distribution of values ​​in the second category is updated based on the value. During a first stage, the determination is performed on a plurality of values ​​from a first portion of the data set based on a comparison of the values ​​with a standard. During a second stage, the determination is performed on a plurality of values ​​from a second portion of the data set based on the statistical distribution.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to data processing, and more particularly to methods and systems for efficiently compressing data sets for subsequent data processing. Background Art

[0002] Data analysis is the process of examining a data set, usually with the aid of specialized systems and software, in order to draw conclusions about the information it contains. Data analysis is widely used in business industries to enable organizations to make more informed business decisions, for example by finding patterns in data sets and / or inferences that can be made from data sets.

[0003] Software for analyzing large data sets, such as commercially available packages Typically includes a data visualization component for visualizing portions of a data set and a data mining component for finding patterns in the data set. Such software typically performs "data cleaning" when it encounters unexpected data, such as irrational numbers (i.e., numbers that cannot be represented as parts of any integer and have a non-terminating decimal expansion) and complex numbers (i.e., numbers of the form a+bi, where a and b are real numbers and i is the integer in the equation x). 2 = -1).

[0004] Data cleaning results in omitting unexpected data from the dataset. This can be problematic for datasets such as particle accelerator and cancer genomic datasets, where irrational and / or complex numbers are not extraneous or erroneous data, but represent some of the most important data of interest. Summary of the invention

[0005] An exemplary embodiment of a method for compressing a data set includes obtaining a data set and a criterion for determining whether individual values ​​from the data set correspond to a first category or a second category of values. Determining whether the values ​​of the data set correspond to the first category or to the second category. Based on a value among the values ​​corresponding to the first category, adding the value to the compressed data set. Based on a value among the values ​​corresponding to the second category, excluding the value from the compressed data set and updating a statistical distribution of values ​​of the second category based on the value. During a first stage, performing the determination on a plurality of values ​​from a first portion of the data set based on a comparison of the values ​​with the criterion. During a second stage subsequent to the first stage, performing the determination on a plurality of values ​​from a second portion of the data set different from the first portion based on the statistical distribution.

[0006] In another exemplary embodiment of the above method, the value corresponding to the first category of data is more complex than the value corresponding to the second category of data.

[0007] In another exemplary embodiment of any of the above methods, the method includes during the second stage: determining a probability that a specific value from the second part of the data set corresponds to the second category based on the statistical distribution, and determining that the specific value corresponds to the second category based on a probability exceeding a predefined threshold.

[0008] In another exemplary embodiment of any of the methods above, said determining, based on the statistical distribution, a probability that a particular value from the second portion of the data set corresponds to the second category is performed based on Bayes' theorem.

[0009] In another exemplary embodiment of any of the above methods, the second phase is initiated in response to a triggering event.

[0010] In another exemplary embodiment of any of the above methods, each determination corresponds to an iteration, a value from the data set is added to the statistical distribution only if the value is not already in the statistical distribution, and the triggering event does not include the value from the first portion of the data set being added to the statistical distribution for a predetermined number of consecutive iterations.

[0011] In a further exemplary embodiment of any of the methods above, the triggering event comprises completing a determination of a predefined portion of the data set.

[0012] In another exemplary embodiment of any of the above methods, during the first stage, determining whether a value of the data set corresponds to the first category or the second category includes determining that the value corresponds to the first category based on the value being an irrational number.

[0013] In another exemplary embodiment of any of the methods above, during the first stage, determining whether a value of the data set corresponds to the first category or the second category includes determining that the value corresponds to the first category based on the value being plural.

[0014] In another exemplary embodiment of any of the above methods, during the first stage, determining whether a value of the data set corresponds to the first category or the second category includes determining that the value corresponds to the first category based on the value being a mixed hash including numeric characters and alphabetic characters.

[0015] In another exemplary embodiment of any of the above methods, during the first stage, determining whether a value of the data set corresponds to the first category or the second category includes determining that the value corresponds to the first category based on a value including a non-zero decimal value at or above an Xth decimal place after the decimal point, where X is a predefined value greater than 9.

[0016] In a further exemplary embodiment of any of the methods above, during the first stage, determining whether a value of the data set corresponds to the first category or the second category includes determining that the value corresponds to the second category based on the value being an integer.

[0017] In another exemplary embodiment of any of the above methods, updating the statistical distribution of values ​​of the second category in the data set based on the value includes: adding the value to the statistical distribution based on the value that is not yet in the statistical distribution, and updating the statistical distribution based on the value that is already in the statistical distribution to reflect the number of times the value has been found in the data set.

[0018] In another exemplary embodiment of any of the above methods, the method includes during the second stage: determining the redundancy of a specific value from the second part of the data set within the data set, and determining that the specific value corresponds to the second category based on the redundancy exceeding a predefined threshold.

[0019] In a further exemplary embodiment of any of the above methods, the compressed data set is stored in a quadtree data structure.

[0020] In a further exemplary embodiment of any of the above methods, the quadtree data structure is a point quadtree data structure.

[0021] In another exemplary embodiment of any of the above methods, values ​​determined to correspond to the first category during the first stage are stored in a first quadrant of the quadtree data structure, and values ​​determined to correspond to the first category during the second stage are stored in one or more other quadrants of the quadtree data structure different from the first quadrant.

[0022] In a further exemplary embodiment of any of the above methods, the quadrant in the point quadtree data structure in which a given value is stored is based on the portion of the data set from which the value was obtained.

[0023] In another exemplary embodiment of any of the above methods, the quadtree data structure includes four quadrants, the quantum computing processor includes a plurality of qubits, each qubit corresponding to one of the quadrants, and the determination of whether a value corresponds to the first category and should be added to the particular quadrant is performed by one or more qubits corresponding to a particular quadrant.

[0024] In another exemplary embodiment of any of the above methods, the method includes verifying, based on a Riemann zeta function, that a value corresponding to the second category is not present in the compressed data set.

[0025] In another exemplary embodiment of any of the above methods, verifying that values ​​corresponding to the second category do not exist in the compressed data set based on the Riemann zeta function includes: determining a subset of values ​​in the compressed data set that are within the critical band of the Riemann zeta function; verifying whether the subset of values ​​meets the criterion; and excluding the value from the compressed data set based on the value from the subset that does not meet the criterion.

[0026] An exemplary embodiment of a quantum computer includes a processing circuit including a quantum processor having a plurality of qubits divided into four groups, each group corresponding to a quadrant of a point quadtree data structure. The processing circuit is configured to: obtain a data set and criteria for determining whether each value from the data set corresponds to a first category or a second category of values, determine whether the values ​​of the data set correspond to the first category or the second category, and add the value to a compressed data set in the point quadtree data structure based on a value in the values ​​corresponding to the first category. The processing circuit is configured to exclude the value from the compressed data set based on a value in the values ​​corresponding to the second category, and update the statistical distribution of the values ​​of the second category in the data set based on the value. The values ​​from the data set corresponding to the first category are stored in a plurality of quadrants of the point quadtree data structure. The determination of whether a value corresponds to the first category and should be added to the particular quadrant is performed by one or more qubits corresponding to a particular quadrant.

[0027] In another exemplary embodiment of the above-mentioned quantum computer, during a first stage, a determination is performed on multiple values ​​from a first part of the data set based on a comparison of the values ​​with a standard, and during a second stage after the first stage, a determination is performed on multiple values ​​from a second part of the data set different from the first part based on the statistical distribution.

[0028] In another exemplary embodiment of any of the foregoing quantum computers, the quadrant in the point quadtree data structure in which a given value is stored is based on the portion of the data set from which the value was obtained.

[0029] An exemplary embodiment of a computing device includes a memory and a processing circuit operably connected to the memory and configured to: obtain a data set and a criterion for determining whether each value from the data set corresponds to a first category or a second category of values, determine whether the values ​​of the data set correspond to the first category or the second category, and add the value to a compressed data set based on a value among the values ​​corresponding to the first category. The processing circuit is configured to exclude the value from the compressed data set based on a value among the values ​​corresponding to the second category, and update a statistical distribution of values ​​of the second category in the data set based on the value. During a first stage, the determination is performed on a plurality of values ​​from a first portion of the data set based on a comparison of the values ​​with the criterion. During a second stage subsequent to the first stage, the determination is performed on a plurality of second values ​​from a second portion of the data set different from the first portion based on the statistical distribution.

[0030] The embodiments, examples and alternatives of the preceding paragraphs, claims or the following description and drawings, including any of their various aspects or respective individual features, may be adopted independently or in any combination. Features described in conjunction with one embodiment are applicable to all embodiments, unless these features are incompatible. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 is a schematic diagram of an exemplary system for compressing data.

[0032] Figure 2A is a schematic diagram of a portion of an uncompressed dataset.

[0033] Figure 2B yes Figure 2A Schematic diagram of the portion in compressed form.

[0034] FIG. 3A to FIG. 3B A flow chart representing an exemplary data compression method is shown.

[0035] Figure 4 is a schematic diagram of a portion of another uncompressed data set.

[0036] Figure 5 is a schematic diagram of an exemplary point quadtree data structure.

[0037] Figure 6 is a diagram of one aspect of the Riemann zeta function.

[0038] Figure 7 Is operable to execute FIG. 2A to FIG. 2B Schematic diagram of a quantum computing processor of the method. DETAILED DESCRIPTION

[0039] Figure 1 1 is a schematic diagram of an exemplary system 10 for compressing data in a computationally efficient manner that avoids erasure of relevant data. A computing device 12 accesses an initial data set 14, which may be on the order of 100 terabytes in size. The computing device 12 iteratively analyzes the data in separate stages and provides a compressed data set 16 that includes data relevant to the purpose of the data set 14 and also provides a statistical distribution 18 of "memoryless" data that is part of the data set 14 but is not relevant to the purpose of the data set 14.

[0040] In one example, the data set 14 includes particle accelerator measurements from a particle accelerator device. In such an example, data that is considered relevant in the context of the data set provides useful information about the particle (e.g., information such as the particle's velocity, its lightness in terms of weight in a subatomic scale, and the most recent precise position of the magnetic lattice of the particle accelerator when it is measuring the particle), and data that is considered irrelevant and does not provide useful information about the particle corresponds to the second category. In addition to being more relevant than values ​​in the second category, the values ​​in the first category are also more complex than values ​​in the second category, and thus may be referred to as "complexity."

[0041] During the first phase, the computing device 12 compares values ​​from the data set 14 to the predefined criteria 15 to determine whether those values ​​from the data set 14 correspond to the first category or the second category. The first phase is a training phase, during which the computing device 12 creates a statistical distribution 18 of memoryless data. The statistical distribution 18 indicates the values ​​from the data set 14 that are memoryless data and also indicates the frequency with which these values ​​appear in the data set.

[0042] In a second phase, subsequent to the first phase, the computing device 12 determines whether a value from the data set 14 corresponds to the first category or the second category by comparing the value to the statistical distribution 18 rather than comparing the value to the predefined criteria 15. The comparison to the statistical distribution during the second phase is computationally more efficient than using the criteria of the first phase, and facilitates faster creation of the compressed data set 16 than if the first phase were to continue for the entire data set 14.

[0043] The computing device 12 includes a processor 20 operably connected to a memory 22 and a communication interface 24. In one example, the processor 20 includes, for example, one or more microprocessors, microcontrollers, application specific integrated circuits (ASICs), quantum computing processors, and the like. The memory 22, which may include any one or combination of volatile storage elements (e.g., random access memory (RAM, such as DRAM, SRAM, SDRAM, VRAM, etc.)) and / or non-volatile storage elements (e.g., ROM, hard drive, tape, CD-ROM, etc.). In addition, the memory 22 may include electronic, magnetic, optical and / or other types of storage media. The memory 22 may also have a distributed architecture in which various components are located remotely from each other but can be accessed by the processor 20. The memory 22 stores instructions that configure the processor 20 to compress the data set 14.

[0044] The communication interface 24 is configured to facilitate communication with other computing devices (e.g., for acquiring data sets 14 and predefined criteria 15, or sending compressed data sets 16) and / or with user input devices (e.g., if the communication interface 224 includes a wired or wireless interface for receiving and / or providing user input).

[0045] Figure 2A A portion 30 of an example of a data set 14 is depicted, comprising a plurality of values ​​generally identified by reference numeral 31 . Figure 2A The portion 30 of the dataset 14 corresponds to particle accelerator data collected from a particle accelerator device. The predefined criteria 15 of the dataset 14 indicate which values ​​correspond to the first category or the second category.

[0046] exist Figure 2A In the particle accelerator example, the predefined criterion 15 indicates that a zero or non-zero integer is memoryless data corresponding to a value of the second category. The reason such a value is considered memoryless is that such a value is irrelevant in the context of a particle accelerator.

[0047] The predefined criteria indicate that the following values ​​as "complexity" relevant in the case of particle accelerators correspond to values ​​of the first category:

[0048] - a zero or non-zero integer,

[0049] - irrational numbers (i.e. numbers that cannot be represented as part of any integer and have a non-terminating decimal expansion),

[0050] - a complex number (i.e., a number of the form a+bi, where a and b are real numbers and i is the number in the equation x 2 = -1),

[0051] - mixed hashes (i.e., values ​​with both numeric and alphabetic characters, such as "1e42"), and

[0052] - A value having a non-zero decimal value at or beyond the Xth decimal place after the decimal point, where X is a predefined value.

[0053] In the case of a specific accelerator, zeros represent useless data or just filler data that can be removed since it is not an actual measurement point. However, the above complexity is relevant in the case of particle accelerators because it can represent the following:

[0054] -Irrational numbers can represent further measurements of particles that are best seen through fractional or non-terminating decimal expansions.

[0055] -Complex numbers can represent the polar positions of particles or important unknowns that are better represented mathematically by complex form (e.g., unknowns of certain possible outcomes such as the weight of certain subatomic particles, or data that is still useful but requires a complex form of expression to represent).

[0056] -The hybrid hash can represent the position of the magnetic lattice of a particle accelerator at the time it is measuring.

[0057] -Values ​​with non-zero decimal values ​​or useful consecutive decimal points after a certain position (e.g. on the order of 14 decimal places) represent a more accurate form of measurement because their significant digits are close to whether you are trying to measure polar position or velocity.

[0058] Using this criterion in the context of Figure 2, the first complexity (32) has a value of 8979 -3 , because the value has a non-zero decimal value at or beyond the Xth decimal place, where X is 14. The second complexity (34) is the cube root of 253, which is a complexity for the same reason. The third complexity (36) is 39.05603e 7 , because values ​​including e are considered irrational. The fourth complexity (38) "3e64" is complex because it is a mixed hash. This comparison of each value 31 with the standard 15 continues to identify multiple complexities, which are Figure 2B 50 including the complexity from data set 30 and excluding memoryless data. The values ​​from data set 30 omitted from compressed data set 50 are integers or do not include non-zero decimal values ​​at or beyond the Xth decimal place.

[0059] Unlike prior art tools that would eliminate complexity during compression, the system 10 maintains complexity in the compressed data set 16. This is particularly useful for data sets such as particle accelerator data, where complexity is the most relevant data.

[0060] Figure 3A and 3B 1 is a flow chart illustrating an exemplary method 100 for data compression that may be performed by a computing device 12. Values ​​are obtained from a data set 14 (block 102), and a determination is made as to whether a memoryless data metric has been satisfied (block 104). The memoryless data metric will be discussed in more detail below. During the "first phase" discussed above, the metric will not be satisfied ("No" in block 104).

[0061] Boxes 106 to 114 correspond to comparisons of the value with the predefined criteria 15. It is determined whether the acquired value is a zero integer or a non-zero integer (e.g., a zero integer or a non-zero integer) (box 106). If the value is an integer ("yes" in box 106), it is determined that the value is memoryless data (box 120), and the statistical distribution 18 of memoryless data is updated based on the value (box 122). The update of box 122 includes adding the value to the statistical distribution 18 if the value does not already exist in the statistical distribution 18. If the value already exists in the statistical distribution 18, the statistical distribution is updated to indicate that another occurrence of the value has been detected. In one example, the memoryless data is stored in the statistical distribution 18 in a "regular expression" (REGEX) format.

[0062] Referring again to block 106, if the value is not an integer ("No" in block 106), a determination is made as to whether the value is an irrational number (block 108). If the value is an irrational number ("Yes" in block 108), the value is determined to be complex (block 116) and the value is added to the compressed data set 16 (block 118).

[0063] If the value is not an irrational number ("No" in block 108), a determination is made as to whether the value is a complex number (block 110). If the value is a complex number ("Yes" in block 110), the value is determined to be complex (block 116) and the value is added to the compressed data set 16 (block 118).

[0064] Otherwise, if it is determined that the value is not a complex number ("No" in block 110), it is determined whether the value is a mixed hash (block 112). If the value is a mixed hash including numeric characters and alphabetic characters ("Yes" in block 112), it is determined that the value is complex (block 116) and the value is added to the compressed data set 16 (block 118).

[0065] Otherwise, if the value is not a mixed hash ("No" in box 112), it is determined whether the value has a non-zero decimal value at or above the Xth decimal place after the decimal point, where X is a predefined value (box 114). If the non-zero decimal value exists at or above the Xth decimal place after the decimal point ("Yes" in box 114), the value is determined to be complexity (box 116). Otherwise, if the value lacks a non-zero decimal value at or above the Xth decimal place after the decimal point ("No" in box 114), the value is determined to be memoryless data (box 120). In one example, X is 10. In another example, X is 14. Of course, other examples can also be used for X (e.g., depending on the nature of the data set 14 being analyzed).

[0066] The computing device 12 iterates through blocks 102 to 122 of the method for consecutive values ​​from the data set 14 until the memoryless data metric is satisfied (“yes” in block 104). In one example, the memoryless data metric includes a predefined number of consecutive iterations performed without new values ​​being added to the statistical distribution 18. In one example, the memoryless data metric is satisfied if a predefined portion of the data set 14 (e.g., a predefined percentage of the data set) has been analyzed. Of course, other memoryless data metrics may also be used. The occurrence of the memoryless data metric corresponds to a statistical distribution 18 of memoryless data that is suitable for determining whether a value is complexity or memoryless data.

[0067] Once the memoryless data metric has been met ("yes" in block 104), method 100 enters the "second phase" discussed above and proceeds to Figure 3B Frame 150 in.

[0068] Reference now Figure 3B , in block 150 , the probability that the value of the current iteration is memoryless data is determined based on the statistical distribution 18 using Bayes' theorem.

[0069] Bayes' theorem describes the probability of an event based on existing knowledge of conditions that may be associated with the event, and can be expressed using the following equations (1) and (2).

[0070] P(θ,y)=P(θ)p(y|θ) Equation (1)

[0071]

[0072] Where P is the probability,

[0073] y is evidence (e.g., statistical distribution 18), and

[0074] θ is an event (eg, a value that is memoryless data).

[0075] In box 152, the probability is compared to a predefined threshold. If the probability exceeds the predefined threshold ("yes" in box 152), computing device 12 determines that the value is memoryless data and proceeds to box 120 without utilizing predefined criteria 15 in boxes 106 to 114.

[0076] If the probability is not exceeded ("NO" in block 152), computing device 12 determines the statistical redundancy of the values ​​within data set 14 (block 154). One way to determine the statistical redundancy is to use equation (3) below.

[0077]

[0078] Where r is the redundancy rate,

[0079] M is the value of the memoryless data, and

[0080] H is the source (eg, dataset 14).

[0081] Computing device 12 compares the value to the memoryless data in statistical distribution 18 (block 156). If the value is sufficiently similar to the known memoryless data in the distribution ("yes" in block 158), the value is determined to be memoryless data (block 162).

[0082] The comparison of block 156 and the determination of block 158 may be based on a number of factors, such as the number of decimal values, the position of the decimal values, the difference between the value being analyzed and a known memoryless data value, and so forth.

[0083] For example, assume that the value 9.07899 is compared to the statistical distribution 18 in block 156. FIG. 3A to FIG. 3B In the example of , we know that 9.07898 is determined to be memoryless data and is excluded from the compressed data set 50. The value 9.07899 has the same number of decimal values ​​and the same decimal value positions as the known memoryless data 9.07898. These values ​​differ only in their 5th decimal value. In one example, one or more of these similarities are used to determine that the value 9.07899 is memoryless data.

[0084] In one example, what happens in blocks 156-158 is that because similarity to previous examples is measured in the memoryless data, as further progress is made, more accurate statistical measurements can be made of the computing device 12 as it analyzes the data. This means that the computing device 12 (the computer given the data set 14) can ultimately perform fewer steps due to the creation of statistically relevant thresholds. With the method 100, it is easy to achieve in some examples to obtain more than six sigma accuracy given a large data set 14 after a small amount of complexity has been identified, due to the increased statistical probability of accuracy complexity after the complexity of the work done by the given computer during the second stage of the computational analysis of the complexity. The margin of error in identifying complexity can be extremely low.

[0085] In some cases, the performance of blocks 156 and 158 will require more computational intensiveness for values ​​that are more complex than other values ​​and can be well processed into a data set (e.g., after analyzing millions of values ​​of a data set) and are less similar to the existing complexity in the compressed data set 16 than the complexity previously analyzed. For example, for such values, it may be necessary to use Bayes' theorem to determine multiple probabilities. However, method 100 can still be used to determine whether such values ​​are memoryless data or complex.

[0086] If the value is not sufficiently similar to the known memoryless data ("No" in box 158), the statistical redundancy in box 154 is compared to a predefined threshold (box 160). If the statistical redundancy exceeds the threshold ("Yes" in box 160), the value is determined to be memoryless data (box 162). Otherwise, if the statistical redundancy does not exceed the threshold ("No" in box 160), the value is determined to be complexity (box 164).

[0087] Although already discussed in the context of compressing particle accelerator data FIG. 3A to FIG. 3B , however, it should be understood that the same or similar criteria from blocks 106 through 114 may be used to analyze other types of data, such as cancer genomic data.

[0088] Figure 4 is a schematic diagram of a portion of another uncompressed dataset 60 containing cancer genome data. Each of the values ​​62 circled in the box represents a Figure 3A The complexity of the predefined criteria 15 discussed in boxes 106 to 114 of .

[0089] Of course, it should be understood that other types and numbers of criteria may be used for blocks 106-114 to analyze different data sets, and different thresholds and similarity levels may also be used for blocks 152, 158, 160 for those different data sets. Some examples of other data sets that may be analyzed using method 100 (optionally with different criteria and thresholds) include ecological data sets (e.g., plant growth, extent of habitat loss, animal reproduction rates, etc.), financial data (e.g., stock time series graphs), scouting maps of sporting events, and the like.

[0090] In one example, the compressed data set 16 is stored in a quadtree data structure. In another example, the compressed data set 16 is stored in a point quadtree data structure.

[0091] Figure 5 is a schematic diagram of an exemplary point quadtree data structure 70 that is simplified for explanation purposes. The point quadtree data structure includes a plurality of quadrants Q1, Q2, Q3, Q4. In one example, each value in the compressed data set 16 is stored in a particular one of the quadrants.

[0092] In one example, the quadrant in which a given value is stored in the point quadtree data structure 70 is based on which portion of the data set 14 the value was taken from. In one example, values ​​from a first portion of the data set 14 are stored in quadrant Q1, values ​​from a second portion of the data set 14 are stored in quadrant Q2, values ​​from a third portion of the data set 14 are stored in quadrant Q3, and values ​​from a fourth portion of the data set 14 are stored in quadrant Q4.

[0093] In one example, values ​​from the first stage (before satisfying the memoryless data metric of block 104) are stored in quadrant Q1, and values ​​from the second stage (after satisfying the memoryless data metric of block 104) are stored in quadrants Q2-Q4.

[0094] Each value in a quadtree is connected to one or more other values ​​in its corresponding quadrant in a hierarchical manner. Figure 5 In the simplified example of , multiple example values ​​are represented as nodes N1 to N7 in quadrant Q1. Node N1 is linked to nodes N2 to N4, and node N4 is linked to nodes N5 to N7. As more values ​​(and corresponding nodes) are added to the point quadtree data structure 70, they are linked to other values ​​from the compressed data set 16. The point quadtree is useful for the computing device 12 to draw nodes and create data structures that utilize the zeta function verification process (discussed in more detail below). In summary, if a traditional table is used instead of a point quadtree to map out the compressed data set 16, it will be less useful given the continuous hierarchical nature of the second stage of the method 100.

[0095] Optionally, a data verification process may be performed by computing device 12 to verify that memoryless data was not inadvertently added to compressed data set 16 during the second phase. In one example, this is performed by comparing each piece of data from the compressed data set to predefined criteria 15 for the data set to verify that each value in compressed data set 16 satisfies predefined criteria 15.

[0096] In one example, the verification includes verifying that no memory data is present in the compressed data set 16 based on the Riemann zeta function. The Riemann zeta function is a function of a complex number s that satisfies the following equations (4) and (5).

[0097] s=x+iy and equation (4)

[0098]

[0099] The Riemann zeta function can also be expressed using the following equation (6).

[0100]

[0101] Alternatively, the Riemann zeta function can be expressed using equation (7) below, where only prime numbers are raised to the power of S in the denominator.

[0102]

[0103] Reference now Figure 6 , a graph 80 depicting the x-axis and the y-axis, and a symmetry line 82 of the Riemann zeta function are shown. The symmetry line 82 is also called a "critical line," and it exists in a "critical band" 84 of the Riemann zeta function (the shaded area between 0 and 1 on the x-axis). All values ​​for which the Riemann zeta function has a value of zero are considered to lie on the critical line 82. Certain values ​​from the compressed data set 16, such as complex numbers and irrational numbers, will produce values ​​in the critical band 84.

[0104] In one example, the verification includes: determining a subset of values ​​in the compressed data set 16 that are within the critical band 84 of the Riemann zeta function; verifying whether the subset of values ​​meets a predefined criterion 15; and based on any values ​​from the subset that do not meet the criterion, determining that those values ​​are likely to be memoryless data and excluding those values ​​from the compressed data set 16.

[0105] Figure 71 is a schematic diagram of a quantum computing processor 86 operable to perform method 100. Quantum computing processor 86 includes a plurality of qubits schematically depicted as 87A to 87D, 88A to 88D, 89A to 89D, 90A to 90D. Each qubit is a multi-state quantum mechanical system that can represent information using quantum mechanics (e.g., the spin of an electron, the polarization of a photon, etc.). Each group of qubits is arranged in a specific area of ​​quantum computing processor 86. Specifically, qubits 87A to 87D are arranged in an upper left area 91, qubits 88A to 88D are arranged in an upper right area 92, qubits 89A to 89D are arranged in a lower right area 93, and qubits 90A to 90D are arranged in a lower left area 94.

[0106] In one example, the regions are associated with quadrants of point quadtree data structure 70 (e.g., region 91 as quadrant Q1, region 92 as quadrant Q2, region 93 as quadrant Q3, and region 94 as quadrant Q4). In one such example, a determination as to whether a value corresponding to data set 14 is complex and should be added to a particular quadrant is performed by one or more qubits corresponding to that particular quadrant. Thus, a determination as to whether a value is complex and should be added to quadrant Q1 is performed by one or more of qubits 87A-87D.

[0107] By using the techniques described herein, large data sets can be compressed while ensuring that complexity is not erased from the compressed data set. This is particularly beneficial for certain data sets where complexity is a primary concern (e.g., particle accelerator data sets, cancer genome data sets, etc.). Furthermore, by using the statistical distributions 18 and machine learning described above, the data set 14 can be compressed in a computationally efficient manner.

[0108] Method 100 provides many benefits, such as improved file compression, and the ability to see the important complexity of the data set 14. This allows researchers to get the important data they want, reach conclusions faster, and have a more efficient way to systematically analyze huge data sets. Compared to using Python programs (such as ggplot or already commercially available programs), the time efficiency of method 100 enables the avoidance of plotting / analyzing useless and / or arbitrary data, thereby saving time and computing resources.

[0109] Although the steps discussed above are presented in a particular order, it should be understood that some of the steps may be rearranged. For example, the criteria in blocks 106 to 114 may be analyzed in a different order.

[0110] Although exemplary embodiments have been disclosed, a worker of ordinary skill in this art would recognize that certain modifications would come within the scope of this disclosure. Therefore, the following claims should be studied to determine the scope and content of this disclosure.

Claims

1. A method for compressing a data set, the method The following steps are involved: obtaining a data set and a criterion for determining whether each value from the data set corresponds to a first category or a second category; determining whether a value of the data set corresponds to the first category or the second category; adding one of the values ​​corresponding to the first category to the compressed data set based on one of the values ​​corresponding to the first category; as well as Based on one of the values ​​corresponding to the second category: verifying that a value corresponding to the second category is not present in the compressed data set; and updating a statistical distribution of values ​​of the second category in the data set based on a value among the values ​​corresponding to the second category; wherein, during a first stage, the determining is performed on a plurality of values ​​from a first portion of the data set based on a comparison of values ​​in the data set with the standard; and Therein, during a second phase subsequent to the first phase, the determining is performed on a plurality of values ​​from a second portion of the data set different from the first portion based on the statistical distribution.

2. The method according to claim 1, in, The values ​​corresponding to the first category of data are more complex than the values ​​corresponding to the second category of data.

3. The method according to claim 1, comprising during the second phase: determining a probability that a particular value from the second portion of the data set corresponds to the second class based on the statistical distribution, and The particular value is determined to correspond to the second category based on a probability exceeding a predefined threshold.

4. The method according to claim 3, in, The determining, based on the statistical distribution, a probability that a particular value from the second portion of the data set corresponds to the second category is performed based on Bayes' theorem.

5. The method according to claim 1, in, The second phase is initiated in response to a triggering event.

6. The method according to claim 5, in: Each determination corresponds to one iteration; A value from the data set is added to the statistical distribution only if the value is not already in the statistical distribution, and The triggering event does not include a value from the first portion of the data set being added to the statistical distribution for a predetermined number of consecutive iterations.

7. The method according to claim 5, in, The triggering event comprises completion of the determining of a predefined portion of the data set.

8. The method according to claim 1, in, During the first stage, determining whether a value of the data set corresponds to the first category or the second category includes determining that the value corresponds to the first category based on the value being an irrational number.

9. The method according to claim 1, in, During the first stage, determining whether a value of the data set corresponds to the first category or the second category includes determining that the value corresponds to the first category based on the value being a plural number.

10. The method according to claim 1, in, During the first stage, determining whether a value of the data set corresponds to the first category or the second category includes determining that the value corresponds to the first category based on the value being a mixed hash including numeric characters and alphabetic characters.

11. The method according to claim 1, in, During the first stage, determining whether a value of the data set corresponds to the first category or the second category includes determining that the value corresponds to the first category based on a value including a non-zero decimal value at or above an Xth decimal place after the decimal point, where X is a predefined value greater than 9.

12. The method according to claim 1, in, During the first stage, determining whether a value of the data set corresponds to the first category or the second category includes determining that the value corresponds to the second category based on the value being an integer.

13. The method according to claim 1, in, The updating of the statistical distribution of the values ​​of the second category in the data set based on the value comprises: adding the value to the statistical distribution based on the value not already being in the statistical distribution; and Based on a value already present in the statistical distribution, the statistical distribution is updated to reflect the number of times the value has been found in the data set.

14. The method of claim 1, comprising during the second phase: determining redundancy within the data set of a particular value from the second portion of the data set; and The specific value is determined to correspond to the second category based on the redundancy exceeding a predefined threshold.

15. The method according to claim 1, in, The compressed data set is stored in a quadtree data structure.

16. The method according to claim 15, in, The quadtree data structure is a point quadtree data structure.

17. The method according to claim 15, in: values ​​determined during the first stage to correspond to the first category are stored in a first quadrant of the quadtree data structure; and Values ​​determined during the second stage to correspond to the first category are stored in one or more other quadrants of the quadtree data structure than the first quadrant.

18. The method according to claim 16, in, The quadrant in which a given value is stored in the point quadtree data structure is based on the portion of the data set from which the value was obtained.

19. The method according to claim 15, in: The quadtree data structure includes four quadrants; The quantum computing processor includes a plurality of qubits, each qubit corresponding to one of the quadrants; and The determination of whether a value corresponds to the first category and should be added to a particular quadrant is performed by one or more qubits corresponding to the particular quadrant.

20. The method according to claim 1, wherein include: It is verified based on the Riemann zeta function that a value corresponding to the second category does not exist in the compressed data set.

21. The method according to claim 20, in, The verifying based on the Riemann zeta function that a value corresponding to the second category does not exist in the compressed data set comprises: determining a subset of values ​​in the compressed data set that are within a critical band of the Riemann zeta function; verifying whether the subset of values ​​satisfies the criterion; and Based on a value from the subset not satisfying the criterion, the value is excluded from the compressed data set.

22. A quantum computer, include: processing circuitry including a quantum processor having a plurality of qubits divided into four groups, each group corresponding to a quadrant of a point quadtree data structure; The processing circuit is configured to: obtaining a data set and a criterion for determining whether each value from the data set corresponds to a first category or a second category; determining whether a value of the data set corresponds to the first category or the second category; adding one of the values ​​corresponding to the first category to the compressed data set in the point quadtree data structure based on one of the values ​​corresponding to the first category; as well as Based on one of the values ​​corresponding to the second category: verifying that a value corresponding to the second category is not present in the compressed data set; and updating a statistical distribution of values ​​of the second category in the data set based on a value among the values ​​corresponding to the second category; wherein values ​​from the data set corresponding to the first category are stored in a plurality of quadrants of the point quadtree data structure; and wherein the determination of whether a value corresponds to the first category and should be added to a particular quadrant is performed by one or more qubits corresponding to the particular quadrant.

23. The quantum computer according to claim 22, in: During a first phase, said determination is performed on a plurality of values ​​from a first portion of said data set based on a comparison of values ​​in said data set with said standard; and During a second phase subsequent to the first phase, the determining is performed on a plurality of values ​​from a second portion of the data set different from the first portion based on the statistical distribution.

24. The quantum computer according to claim 22, in, The quadrant in which a given value is stored in the point quadtree data structure is based on the portion of the data set from which the value was obtained.

25. A computing device, include: Memory; as well as a processing circuit operatively connected to the memory and configured to: obtaining a data set and a criterion for determining whether each value from the data set corresponds to a first category or a second category; determining whether a value of the data set corresponds to the first category or the second category; adding one of the values ​​corresponding to the first category to the compressed data set based on one of the values ​​corresponding to the first category; as well as Based on one of the values ​​corresponding to the second category: verifying that a value corresponding to the second category is not present in the compressed data set; and updating a statistical distribution of values ​​of the second category in the data set based on a value among the values ​​corresponding to the second category; wherein, during a first phase, the determining is performed on a plurality of first values ​​from a first portion of the data set based on a comparison of values ​​in the data set with the standard; and Therein, during a second phase subsequent to the first phase, determining a plurality of second values ​​from a second portion of the data set different from the first portion is performed based on the statistical distribution.

Citation Information

Patent Citations

  • Textual substitution data compression with finite length search windows

    US4906991A

  • Method and apparatus for compression and decompression of data

    US5254990A