Document Mutation Cache Indexing for Table Style Updates
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing document editing systems face challenges in efficiently determining and updating structural elements within electronic documents, particularly tables, when mutations occur, due to the complexity of conditional styles and partial tables.
Innovation Solution
The system employs a performance cache that stores indices for table start, end, rows, and cells, allowing quick identification of mutations within tables and updates conditional styles based on predefined records associating mutation types with conditional styles and locations, thereby efficiently updating and maintaining document structure.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If the system stores indices for all table portions in a database, then mutation detection speed is improved, but memory usage and database complexity increase
Solution Approach 1:
The patent segments the table structure into multiple portions (header, body, footer, rows, columns) and stores indices for each segment separately in the database. This segmentation allows the system to quickly locate and detect mutations in specific table portions without processing the entire table, improving mutation detection speed while keeping database operations manageable through organized, modular data storage.
2Reliability
If the system updates the entire table when a mutation occurs, then document integrity is maintained, but processing time and computational resources increase
Solution Approach 1:
The patent implements local quality by updating only the specific table portion affected by the mutation rather than the entire table. When a mutation is detected in a particular row, column, or cell, the system updates only that local portion while maintaining document integrity through the use of indices that track relationships between different table portions. This selective updating significantly reduces processing time and computational resource consumption.
3Adaptability or versatility
If the system stores partial table indices separately, then handling of incomplete tables is improved, but data structure complexity increases
Solution Approach 1:
The patent applies preliminary action by pre-storing indices for partial table structures (incomplete tables) in the database before the tables are fully formed or before mutations occur. This allows the system to efficiently handle incomplete tables by having the structural framework already in place, enabling rapid detection and processing of mutations even in partially constructed tables, while the indexing system manages the complexity of partial structures.
Data Source
AI summary
Systems and methods are disclosed herein for caching structural elements of electronic documents. A plurality of indices is stored in a data store. The plurality of indices corresponds to locations within an electronic document of portions of a stylized sub-element. A mutation to the electronic document is received and it is determined that the mutation pertains to a style of the stylized sub-element. Based on the mutation and the plurality of indices, the stylized sub-element is updated, and the portions of the updated stylized sub-element are caused to be displayed at a user device using a different style.


