Thread Identification String for Hierarchical Comment Indexing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Traditional comment thread systems face inefficiencies in storing and displaying comments due to time-dependent indexing, which makes it difficult to display comments in a hierarchical relationship, especially when comments are received in any order and exceed the display capacity, leading to resource-intensive parsing and updating processes.
Innovation Solution
The method involves creating a thread identification string for each comment to indicate its hierarchical relationship, allowing comments to be stored and displayed based on their dependency rather than the order of receipt, using a comment index file that organizes comments according to their thread identification strings, and paginating the comments to efficiently manage the display on client devices.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If comments are stored in time-dependent order, then the comment index file can be简单地 created, but it becomes difficult to display comments in hierarchical relationship and requires parsing the entire index file
Solution Approach 1:
The patent segments the comment index file into multiple sorted sub-lists (e.g., comments sorted by thread ID, by parent comment ID, by timestamp) rather than maintaining a single time-dependent list. This segmentation allows different views of comments (hierarchical, chronological, threaded) to be generated efficiently without parsing the entire file, resolving the contradiction between retrieval efficiency and index structure complexity.
Solution Approach 2:
The patent introduces additional organizational dimensions beyond time-dependent ordering. Comments are indexed not only by timestamp but also by thread identification strings and parent comment IDs, creating a multi-dimensional index structure. This allows comments to be retrieved and displayed in hierarchical relationships efficiently without requiring full file parsing.
2Loss of information
If the comment field displays all comments, then complete discussion history is visible, but browsing becomes difficult on small mobile displays
Solution Approach 1:
The patent implements dynamic pagination and filtering capabilities that adapt to different display contexts. The comment field can dynamically adjust between displaying all comments (for completeness) and displaying paginated or filtered subsets (for ease of browsing on mobile devices). Users can navigate through different views without losing access to complete discussion history.
Solution Approach 2:
The patent segments the comment display into manageable pages or sections rather than displaying all comments at once. This segmentation allows mobile users to browse comments easily in small chunks while still having access to the complete discussion history through pagination or navigation controls.
3Adaptability or versatility
If nested comments with multiple parent levels are allowed, then comprehensive discussion threading is achieved, but determining uniform partitioning for pagination becomes difficult
Solution Approach 1:
The patent performs preliminary organization of comments into sorted sub-lists during the indexing phase, before pagination is needed. Comments are pre-sorted by various criteria (thread ID, parent ID, timestamp) and organized into hierarchical structures. This preliminary action simplifies the pagination logic, as the system can directly retrieve pre-organized comment segments without complex real-time calculations.
Solution Approach 2:
The patent introduces intermediate data structures (sorted sub-lists, thread identification strings, parent comment indexes) that mediate between the complex nested comment hierarchy and the simple pagination requirement. These intermediaries allow the system to handle multi-level nested comments while implementing straightforward pagination logic that operates on the pre-organized sub-lists.
4Ease of operation
If the comment field is truncated to fit display, then browsing on mobile devices is improved, but it becomes difficult to determine where to uniformly partition the comment stream
Solution Approach 1:
The patent performs the partitioning work in advance during the indexing phase, creating pre-segmented sorted sub-lists that correspond to display pages. This preliminary action eliminates the need for time-consuming partitioning calculations when comments are displayed or truncated, as the system can directly load pre-segmented comment portions appropriate for mobile displays.
Data Source
AI summary
Embodiments include a computer-implemented method for storing comments received at a collaboration page of a content collaboration system in a hierarchical relationship that corresponds to the comments position in a comments field. The method can include receiving a comment at a user interface displaying the collaboration page and creating a thread identification string for the comment having a set of string portions. The method can also include obtaining a comment index file comprising an ordered list of previously-entered comments having respective thread identification strings, adding the comment and thread identification string to the ordered list of previously-entered comments at a location indicated by the thread identification string, designating a pagination of the ordered list of previously-entered comments in the comment index file in accordance with a fixed number of simultaneously viewable lines, and displaying a subset of the ordered list of previously-entered comments in the comment field.


