Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Universal tree-shaped component implementation method with built-in real-time search

An implementation method and real-time search technology, applied in the direction of network data retrieval, other database retrieval, other database indexing, etc., can solve the problems of reuse, increase the time cost and labor cost of development, and the search tree cannot be multi-scene, and achieve interactive Uniform effect

Pending Publication Date: 2021-01-05
SHANGHAI DATATOM INFORMATION TECH CO LTD
View PDF16 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a method for implementing a general tree component with built-in real-time search, so as to solve the problem that the search tree on the market cannot be reused in multiple scenarios, which increases the time cost and labor cost of development, and is difficult to implement. The problem of supporting special tree nodes for custom development in each scene

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Universal tree-shaped component implementation method with built-in real-time search
  • Universal tree-shaped component implementation method with built-in real-time search
  • Universal tree-shaped component implementation method with built-in real-time search

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0039] see Figure 1-3 , the present invention provides a technical solution: a method for implementing a general tree component with built-in real-time search.

[0040] Working principle: Before using the implementation method of the general tree component with built-in real-time search, you need to check the overall condition of the device to make sure it can work normally;

[0041] Step 1: The tree component passes in children as the data source, such as ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a universal tree-shaped component implementation method with built-in real-time search. The implementation method comprises the following steps: extracting a data source with astandard data structure from tree nodes with complex HTML structures; designing an expansion key calculation method so as to control relevant tree nodes in search to be internally provided with expansion and closing functions; and modifying the expanded tree node through a DOM control method to realize search highlight explicit and implicit built-in. According to the universal tree-shaped component implementation method with the built-in real-time search function, a search box and tree-shaped components are packaged in a unified mode, on the basis that the height of tree nodes of an originaltree-shaped component is kept customizable, expansion keys are calculated through input content, and real-time expansion of built-in related tree nodes is achieved; Expanded tree nodes are modified incombination with a DOM control method, highlight of search content and hiding of noise nodes are achieved, and therefore built-in search and interaction styles are unified, the tree nodes can be customized, and the invention is suitable for search tree universal components in different scenes.

Description

technical field [0001] The invention relates to the technical field of computer front-end development, in particular to a method for realizing a universal tree component with built-in real-time search. Background technique [0002] In front-end development, tree-shaped components are often used as containers for directories, folders, tables, and models. The current mainstream front-end UI component library provides programmers with a wealth of tree-shaped component customization solutions, allowing tree nodes to be highly customized. In scenarios, search and tree components are often used together. However, the existing tree component search implementation solutions are difficult to support different and complex application scenarios, and it is difficult to implement search solutions for each scenario to ensure the consistency of interactive experience. Combining trees repeatedly The search brings additional R&D overhead, and there is an urgent need for a general tree compon...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/901G06F16/953G06F16/9538
CPCG06F16/9027G06F16/953G06F16/9538
Inventor 段佳骊谢赟韩欣刘德治陈大伟
Owner SHANGHAI DATATOM INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products