Variable-Length Short Message Storage Indexing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing SIM card technology for storing short messages is inefficient due to its fixed-length file structure, leading to wasted space and reduced storage capacity because each message is allocated a fixed record length, regardless of its actual data length, resulting in limited storage of messages in mobile terminals.
Innovation Solution
A method and terminal that create an index identifier for each short message, including an index number, storage address, and data length, allowing messages to be stored in a message file based on their actual length, thereby optimizing storage space utilization by dynamically allocating space.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If fixed-length file structure is used for storing short messages in SIM card, then storage structure is simple and compatible with existing specifications, but storage space utilization is low and storage capacity is reduced
Solution Approach 1:
The patent transforms the static fixed-length file structure into a dynamic variable-length structure. The message storage file uses variable record lengths that adapt to the actual message data length, while the index file maintains fixed-length records for efficient management. This dynamic approach allows the system to optimize storage space utilization based on actual message sizes, thereby increasing the number of messages that can be stored in limited SIM card space.
Solution Approach 2:
The patent divides the message storage system into two separate files: an index file and a message storage file. The index file stores fixed-length records containing message identifiers, lengths, and position information, while the message storage file stores variable-length actual message data. This segmentation allows the system to maintain the simplicity of fixed-length indexing for efficient access while enabling variable-length storage for optimal space utilization.
2Quantity of substance
If variable-length storage is implemented, then storage space utilization improves and more messages can be stored, but system complexity increases
Solution Approach 1:
The patent introduces an index file as an intermediary between the user interface and the variable-length message storage file. The index file maintains fixed-length records that simplify access operations, while the actual message storage uses variable-length records for optimal space utilization. This intermediary structure allows the system to handle variable-length data without significantly complicating the user interface and access mechanisms.
Solution Approach 2:
The patent performs preliminary actions by maintaining an index file that pre-calculates and stores the length and position information of each message before actual access operations. This preliminary organization of data metadata allows for efficient retrieval and management of variable-length messages without requiring complex real-time calculations during access operations.
Data Source
AI summary
Method and terminal for processing short message are provided, wherein the method includes: when a short message is received, an index identifier corresponding to the short message is created, and the index identifier is stored into a preset index file, and the short message is stored into a preset message file according to the index identifier. The method performs processes to short message in storage space of mobile terminal according to actual data length of short message, and stores as many short messages as possible in limited storage space.


