Application Data Format Switching for Lower Storage Overhead
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing applications occupy excessive storage space due to the need to maintain both string and object formats for data, leading to inefficient storage resource usage.
Innovation Solution
A method and apparatus for managing data in applications by converting data items to either a string or object format, ensuring only one format is maintained at a time, thereby reducing storage overhead.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If both string format and object format are maintained for data items, then data access flexibility is improved, but storage space consumption increases
Solution Approach 1:
The patent merges string format and object format into a unified mixed data structure where both formats coexist in a single storage unit. The data management apparatus maintains a mixed data set containing both string data and object data, allowing flexible access to different data formats without duplicating storage resources. This resolving the contradiction by combining multiple formats into one integrated system rather than maintaining separate storage for each format.
2Adaptability or versatility
If data is stored in multiple formats (string and object), then data usability is improved, but storage efficiency deteriorates
Solution Approach 1:
The mixed data structure serves multiple functions simultaneously: it stores both string format data and object format data in a single unified structure, enabling the system to handle different data types and access patterns through one storage mechanism. This multi-functional design improves data usability while maintaining storage efficiency by eliminating the need for separate storage systems for different data formats.
3Productivity
If only one format is maintained for data items, then storage efficiency is improved, but data access flexibility deteriorates
Solution Approach 1:
The data management system dynamically switches between string format and object format based on access requirements. The mixed data structure allows the system to adaptively select the appropriate data format representation at runtime, providing flexible data access while maintaining efficient single-format storage. This dynamic approach resolves the contradiction by making the storage system adaptable rather than static.
Data Source
AI summary
A method, apparatus, device, and medium for managing data in an application are provided. In a method, raw data in an application is received, the raw data including a definition of at least one data item. Mixed data associated with at least one data item is obtained, the mixed data including a first data portion in a first format and a second data portion in a second format. Here, the first format includes any one of a string format and an object format, the second format includes the other one of the string format and the object format, and for a data item in the at least one data item, the mixed data includes a data item represented in the first format or a data item represented in the second format. Storage resource overheads for loading relevant data of an application may be reduced.


