Client-Side Search Pre-Rendering and Resource Reuse

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional search methods on the Internet are slow due to the delay between user input and the initiation of the search request, leading to slow search response speeds.

Innovation Solution

A method where the client sends a search request to the server in real time as the user inputs keywords, pre-renders search result page resources in containers, and implements a multi-resource reusing strategy to improve search response speed by reusing identical resources across containers.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If the client waits for user input completion before sending search request, then the system resource consumption is reduced, but the search response speed becomes slow

Engineering Contradiction:
Improvesearch response speedVSAvoiduser waiting time
Core Design Contradiction:
SpeedVSLoss of time

Solution Approach 1:

The patent applies preliminary action by pre-fetching and pre-rendering search result page resources before the user actually initiates the search. When the user types keywords, the system proactively sends search requests and renders results in advance, so that when the user clicks the search button, the results are already prepared and can be displayed immediately, eliminating the waiting time.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent uses copying by creating container elements that replicate the structure and content of actual search result pages. These container elements are pre-filled with search results and stored in the client's memory, allowing instant display without needing to fetch and render the actual pages at the moment of user interaction.

Inventive Principle:
Principle #26Copying

2Speed

If the client pre-renders search result pages in advance, then the search response speed is improved, but the client's memory consumption increases

Engineering Contradiction:
Improvesearch response speedVSAvoidclient memory consumption
Core Design Contradiction:
SpeedVSQuantity of substance

Solution Approach 1:

The patent applies segmentation by dividing the search result page into multiple container elements, each representing a portion of the results. Instead of loading the entire search result page at once, the system segments the results and pre-renders only necessary portions in separate containers, reducing the overall memory consumption while still achieving fast response times.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent uses local quality by selectively pre-rendering only specific portions of search results that are most likely to be needed, rather than uniformly pre-rendering all possible results. The system identifies and prioritizes certain result sections based on user behavior patterns, allocating memory resources efficiently to the most valuable content.

Inventive Principle:
Principle #3Local quality

3Adaptability or versatility

If multiple search result pages are rendered simultaneously, then the user can quickly access any search result, but the device's processing resources are overwhelmed

Engineering Contradiction:
Improvesearch result accessibilityVSAvoiddevice processing load
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent applies dynamics by making the pre-rendering process adaptive and dynamic rather than static. The system continuously monitors user typing behavior, keyword changes, and search patterns to dynamically adjust which search results are pre-rendered and in what priority. This allows the system to optimize resource allocation in real-time based on actual user needs.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent uses feedback by monitoring user interactions with pre-rendered search results and using this information to adjust future pre-rendering decisions. The system learns from user behavior patterns, such as which results are clicked most frequently or which keywords lead to searches, and uses this feedback to prioritize pre-rendering of relevant results, reducing unnecessary processing load.

Inventive Principle:
Principle #23Feedback

Data Source

PatentEP3816821B1Search method and apparatus, electronic device and storage medium
Publication Date: 2023.10.11 BAIDU INT TECH (SHENZHEN) CO LTD
  • EP3816821B1 patent drawingFigure 1
  • EP3816821B1 patent drawingFigure 2
  • EP3816821B1 patent drawingFigure 3

AI summary

A search method and apparatus, an electronic device and a storage medium are provided, which relate to the intelligent search technology field. The method includes: sending a first search request to a server in response to a first keyword inputted by a user; in a process of returning resources of a first search result page by the server, pre-rendering the returned resources in a first container; when detecting that the user changes a current keyword to a second keyword, sending a second search request to the server; in a process of returning resources of a second search result page by the server, pre-rendering the returned resources in a second container; and when a search instruction inputted by the user is detected, outputting resources in a container corresponding to the current keyword in response to the search instruction. The search response speed may be improved according to the present application.