Social Network Real-Time Content Indexing via User-Term Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional social networking systems face inefficiencies in storing and retrieving real-time content due to exponential data growth, inefficient indexing that ignores user structural attributes, and lack of optimization for real-time searching and user connection-based ranking.

Innovation Solution

A content storage and retrieval system structured using the social graph, with user-term indices organized temporally and by user, allowing for efficient search and retrieval of posts by connections, utilizing a user-term index and forward index to rank search results by relevance and time.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If content is stored in primary storage to enable fastest retrieval, then retrieval speed is improved, but storage cost increases exponentially

Engineering Contradiction:
Improveretrieval speedVSAvoidstorage cost
Core Design Contradiction:
SpeedVSQuantity of substance

Solution Approach 1:

The patent segments the storage system into multiple levels (primary storage and secondary storage) and organizes content into chronological segments. Frequently accessed recent content is kept in primary storage while older content moves to secondary storage, enabling fast retrieval of hot data without exponentially increasing primary storage capacity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system dynamically adjusts storage allocation based on access patterns. Content automatically transitions between primary and secondary storage based on recency and access frequency, ensuring that the most relevant content resides in fast storage while maintaining cost efficiency.

Inventive Principle:
Principle #15Dynamics

2Reliability

If conventional inverted indices are used to store all documents for a term, then search completeness is improved, but memory allocation becomes inefficient and fragmentation occurs

Engineering Contradiction:
Improvesearch completenessVSAvoidmemory allocation efficiency
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent applies local quality by organizing the inverted index chronologically within each user's content. Instead of a flat structure, the index segments documents by time periods, allowing efficient retrieval of recent content while reducing the search space for temporal queries. This localized organization improves memory utilization without sacrificing search completeness.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The inverted index is segmented by user and by chronological periods. Each user has their own indexed content divided into time-based segments, which reduces memory fragmentation and allows selective loading of relevant time periods into memory, improving overall allocation efficiency.

Inventive Principle:
Principle #1Segmentation

3Reliability

If content from all users is indexed equally, then search coverage is improved, but real-time search performance deteriorates due to lack of prioritization

Engineering Contradiction:
Improvesearch coverageVSAvoidreal-time search performance
Core Design Contradiction:
ReliabilityVSSpeed

Solution Approach 1:

The patent applies local quality by giving different weights and organizational priorities to different users' content based on connection strength. Content from closely connected users is indexed and prioritized differently than content from distant connections, enabling faster real-time search performance for socially relevant content while maintaining comprehensive search coverage when needed.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The indexing system dynamically prioritizes content based on social graph relationships. As user connections and interaction patterns change, the indexing priority and retrieval speed for different users' content adjusts accordingly, optimizing real-time search performance for the most socially relevant content.

Inventive Principle:
Principle #15Dynamics

4Measurement precision

If chronological ordering is applied to all user content globally, then temporal search accuracy is improved, but device complexity increases

Engineering Contradiction:
Improvetemporal search accuracyVSAvoidindexing system complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent segments the chronological indexing by user first, then by time periods within each user's content. This hierarchical segmentation achieves precise temporal search accuracy for each user's feed without requiring a single global chronological structure, thereby reducing the complexity of the indexing system while maintaining temporal precision.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS9582587B2Real-time content searching in social network
Publication Date: 2017.02.28 META PLATFORMS INC
  • US9582587B2 patent drawing
  • US9582587B2 patent drawing
  • US9582587B2 patent drawing

AI summary

Indexing and retrieving real time content in a social networking system is disclosed. A user-term index includes user-term partitions, each user-term partition comprising temporal databases. As a post is received from a user, a user identifier, a post identifier, and a post is extracted. An object store communicatively coupled to a temporal database for recently received content is queried to determine whether terms in the post has already been stored. A term identifier is stored in the user-term index with the user and post identifiers. A forward index stores the post by post identifier. Responsive to a search query, the user-term index is searched by the user's connections and the terms. A real time search engine compiles the results of the user-term index query and retrieves the stored posts from the forward index. The search results may then be ranked and cached before presentation to the searching user.