Variable Bit Indexing for Ad-Hoc Query Speed
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Traditional data analytics systems are inefficient in processing and indexing polymorphic, unstructured, and multimodal data, particularly in generating real-time reports, as they rely on pre-aggregated data and are not designed to handle ad-hoc complex queries or high-dimensional data effectively.
Innovation Solution
A method and system for indexing user records that involves determining relative distances between user identifiers, computing variable bits for storing these distances in a bit stream, and generating offset values to efficiently process and store data, enabling fast and efficient generation of responses to queries.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If traditional analytics systems use pre-aggregated data, then data processing speed is improved, but the ability to handle ad-hoc complex queries and high-dimensional data deteriorates
Solution Approach 1:
The patent segments user records into multiple data-segments and creates separate bit streams for each segment. This segmentation allows the system to efficiently process different types of data independently while maintaining the ability to handle complex ad-hoc queries by combining results from multiple segments.
Solution Approach 2:
The patent transforms the data structure by creating a new dimension through bit stream offset values. Instead of querying traditional aggregated tables, the system uses offset values in bit streams to directly access specific data segments, enabling fast ad-hoc queries on high-dimensional data without pre-aggregation.
2Loss of information
If traditional analytics systems store all user identifier information, then query completeness is improved, but storage requirements and processing complexity deteriorate
Solution Approach 1:
The patent extracts only the essential information needed for querying by storing offset values in bit streams rather than complete user identifier data. This extraction maintains query completeness by preserving the ability to locate and retrieve original data while significantly reducing storage requirements and processing complexity.
Solution Approach 2:
The patent introduces bit stream offset values as an intermediary between the query system and the actual user record data. These offset values serve as compact pointers that enable efficient data retrieval without storing redundant information, thereby reducing complexity while maintaining information accessibility.
3Ease of manufacture
If the system uses fixed number of bits for storing user identifier distances, then storage simplicity is improved, but storage efficiency deteriorates
Solution Approach 1:
The patent implements dynamic bit allocation where the number of bits used to store relative distances varies based on the actual distance values. This dynamic approach optimizes storage efficiency by using fewer bits for small distances and more bits for large distances, while maintaining ease of implementation through a systematic encoding scheme.
Solution Approach 2:
The patent changes the storage parameter from fixed bit length to variable bit length based on the magnitude of relative distances. This parameter change allows the system to adapt storage allocation to actual data characteristics, improving storage efficiency without significantly increasing system complexity.
Data Source
AI summary
The present teaching relates to system, method, and programming for indexing user records. A plurality of user records are obtained, wherein each user record is associated with a user identifier and one or more data-segments. For each data-segment, one or more user identifiers associated with the data-segment are determined, a relative distance of each user identifier with respect to a previous user identifier associated with the data-segment is computed, and a variable number of bits to be used to store the relative distance of each user identifier in a bit stream are determined based on a criterion associated with the relative distance. Offset values are generated for the one or more data-segments, wherein an offset value of a data-segment indicates an index of the bit stream where information of a first user identifier associated with the data-segment is stored.


