Selective Data Element Deserialization via Manifest Offsets
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The inefficiency in serializing and de-serializing large data records, which consumes substantial processing bandwidth and time, especially when only a subset of data elements are needed, due to the need to access and de-serialize entire records from long-term storage solutions.
Innovation Solution
A method and system for de-serializing only the specific data elements required from a serialized structured data record without de-serializing the entire record, by determining the location and retrieving only the needed data elements within a data file and storing them in an instantiated structured data record, utilizing a manifest and headers to facilitate efficient data retrieval and storage.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the entire serialized data record is de-serialized from long-term storage, then all data elements are available for processing, but processing bandwidth and time are substantially consumed
Solution Approach 1:
The patent divides the serialized data record into individual data element segments, each with its own offset position stored in the manifest. This allows the system to retrieve only the specific segments needed rather than the entire record, resolving the contradiction between having all data available and processing efficiency.
Solution Approach 2:
The patent extracts only the necessary data elements from the serialized record based on the request parameters. By using the manifest to identify offsets and the header to determine element boundaries, the system extracts minimal required data, improving processing efficiency while maintaining data availability for the needed elements.
2Adaptability or versatility
If custom serialization libraries are used to handle variable-sized data records, then flexibility in data handling is achieved, but device complexity increases
Solution Approach 1:
The patent performs preliminary actions during the serialization phase by writing the manifest and headers that contain all necessary information about data element positions and structures. This preliminary organization eliminates the need for complex runtime analysis and custom library logic, reducing device complexity while maintaining adaptability.
Solution Approach 2:
The manifest serves as an intermediary structure that mediates between the serialized data and the deserialization process. It provides a simple, standardized interface for locating and interpreting variable-sized records without requiring complex custom library implementations, thus reducing device complexity while preserving data handling flexibility.
3Quantity of substance
If data records are stored in long-term storage solutions, then storage capacity is sufficient for large datasets, but access and retrieval time increases compared to working memory
Solution Approach 1:
By segmenting the data access into individual element-level operations rather than record-level operations, the patent minimizes the amount of data that needs to be transferred from long-term storage to working memory. The manifest enables precise location identification, so only necessary bytes are retrieved, reducing access time while maintaining storage capacity.
4Measurement precision
If the manifest and schema are consulted to locate serialized data records, then accurate data retrieval is achieved, but processing time and bandwidth are consumed
Solution Approach 1:
The manifest is prepared in advance during serialization, containing pre-calculated offset positions for each data element. This preliminary action eliminates the need for time-consuming runtime searches or schema interpretation, providing both accurate data location information and fast retrieval, thus resolving the contradiction between precision and time.
Data Source
AI summary
Systems and methods for de-serializing one or more data elements of a serialized structured data record are presented. In response to a request to de-serialize one or more data elements of a serialized structured data record of a first type, the location of the serialized structured data record is determined within a data file containing a plurality of serialized structured data records. Locations of the data of the one or more data elements are determined and the data of the one or more data elements is retrieved. The data is de-serialized and stored in corresponding data elements in an instantiated structured data record of the first type. The one or more data elements that are de-serialized are fewer than all of the data elements of the serialized structured data record.


