Resource retrieval method and computer readable storage medium

A storage medium and computer technology, applied in energy-saving computing, other database retrieval, climate sustainability, etc., can solve problems such as inability to respond in real time, and achieve the effect of expanding the scope of applicable scenarios

Active Publication Date: 2020-05-05
FUJIAN TIANQUAN EDUCATION TECH LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The technical problem to be solved by the present invention is: to provide a resource retrieval method and a computer-readable storage medium to solve the problem of inability to respond in real time when the query result is large

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
  • Resource retrieval method and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0058] Please refer to figure 1 , Embodiment 1 of the present invention is: a resource retrieval method, the method is based on the Titan graph engine, and can be applied to full-text search scenarios based on graph topological relationships, for example, in educational resource retrieval, the full-text search contains certain The list of resources such as courseware and exercises for some keywords is also applicable to friend searches in social scenarios.

[0059] The method comprises the steps of:

[0060]S1: Perform graph traversal in the Titan graph engine according to the first resource retrieval condition to obtain a set of node numbers in the first graph. In the Titan graph, each node can represent a different resource, and an edge can represent a resource relationship, that is, the relationship between resources. The first resource retrieval condition can be a resource or a resource relationship. According to the first resource retrieval condition, traverse in the Ti...

Embodiment 2

[0070] This embodiment is a computer-readable storage medium corresponding to the above-mentioned embodiments, on which a computer program is stored, and when the program is executed by a processor, the following steps are implemented:

[0071] Perform graph traversal in the Titan graph engine according to the first resource retrieval condition to obtain a set of node numbers in the first graph;

[0072] Respectively converting each graph node number in the first graph node number set to an ES number in the ES engine to obtain the first ES number set;

[0073] converting the second resource retrieval condition into an ES retrieval condition;

[0074] Searching in the ES engine according to the first ES number set and the ES retrieval condition, to obtain a second ES number set;

[0075] Each ES numbering in the second ES numbering set is converted into the figure node numbering in the Titan graph engine respectively, obtains the second figure node numbering set;

[0076] The...

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 resource retrieval method and a computer readable storage medium, and the method comprises the steps: carrying out the graph traversal in a Titan graph engine according to afirst resource retrieval condition, and obtaining a first graph node number set; converting each graph node number in the first graph node number set into an ES number in an ES engine to obtain a first ES number set; converting the second resource retrieval condition into an ES retrieval condition; performing retrieval in an ES engine according to the first ES number set and ES retrieval conditions to obtain a second ES number set; converting each ES number in the second ES number set into a graph node number in a Titan graph engine to obtain a second graph node number set; and obtaining a resource list in a Titan graph engine according to the second graph node number set. According to the method, the problem that real-time response cannot be realized when a query result is relatively large can be solved.

Description

technical field [0001] The present invention relates to the technical field of data retrieval, in particular to a resource retrieval method and a computer-readable storage medium. Background technique [0002] The search algorithm of graph topological relationship is applied in many scenarios. At present, the more common searches include the following solutions: [0003] 1. Directly adopt full-text search engine [0004] Commonly used engines include elasticsearch (hereinafter referred to as: ES), solr, and lucence. Although these can support full-text search, they cannot effectively handle graph relationships between resources. Additional systems need to be built to support relationship filtering and cannot support complex graph traversal scenarios. Search under; [0005] 2. Using the original graph engine [0006] Commonly used graph engines mainly include open-source frameworks such as Titan and Neo4j. Although these engines may effectively handle graph relationships a...

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/903
CPCY02D10/00
Inventor 刘德建林时苗郭玉湖
Owner FUJIAN TIANQUAN EDUCATION TECH LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products