Entity relationship-based search method and system

An entity relationship and search method technology, applied in the computer field, can solve the problems of slow search speed and complicated implementation methods, and achieve the effect of reducing complexity

Pending Publication Date: 2020-06-16
BEIJING QIANXIN TECH +1
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present application is to provide a search method, system, computer equipment and computer-readable storage medium based on e

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
  • Entity relationship-based search method and system
  • Entity relationship-based search method and system
  • Entity relationship-based search method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] figure 1 A flow chart of an entity relationship-based search method according to Embodiment 1 of the present application is schematically shown. It can be understood that the flowchart in this embodiment of the method is not used to limit the sequence of executing steps. The following description will be exemplified by taking the computer device 2 as the execution subject.

[0031] like figure 1 As shown, the entity relationship-based search method may include steps S100 to S106, wherein:

[0032] Step S100, receiving a search request, where the search request includes a search expression.

[0033] The search expressions are also referred to as user input conditions or search conditions. The rules of the search expression can be customized, and the user can design and input different search expressions according to the content desired to be searched under such customized rules.

[0034] Here are some example search expressions:

[0035] "ip: 1.1.1.1", which means ...

Embodiment 2

[0079] Figure 10 A block diagram of an entity-relationship-based search system according to Embodiment 2 of the present application is shown, the entity-relationship-based search system may be divided into one or more program modules, and one or more program modules are stored in a storage medium, and executed by one or more processors to complete the embodiments of the present application. The program modules referred to in the embodiments of the present application refer to a series of computer program instruction segments capable of performing specific functions. The following description will specifically introduce the functions of each program module in this embodiment.

[0080] like Figure 10 As shown, the entity-relationship-based search system 1000 may include the following components:

[0081] A receiving module 1002, configured to receive a search request, where the search request includes a search expression;

[0082] a first search module 1004, configured to s...

Embodiment 3

[0092] Figure 11 A schematic diagram of the hardware architecture of a computer device suitable for implementing the entity-relationship-based search method according to Embodiment 3 of the present application is schematically shown. In this embodiment, the computer device 2 is a device that can automatically perform numerical calculation and / or information processing according to pre-set or stored instructions. For example, it may be a rack-type server, a blade-type server, a tower-type server or a cabinet-type server (including an independent server, or a server cluster composed of multiple servers), and the like. like Figure 11 As shown, the computer device 2 at least includes but is not limited to: a memory 21, a processor 22, and a network interface 23 that can communicate with each other through a system bus. in:

[0093] The memory 21 includes at least one type of computer-readable storage medium, and the readable storage medium includes flash memory, hard disk, mu...

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 embodiment of the invention provides a search method based on an entity relationship, and the method comprises the steps of receiving a search request which comprises a search expression; searching a plurality of starting point entities from a plurality of entities according to the search expression, wherein the plurality of entities comprise the plurality of starting point entities and a plurality of target entities; obtaining N target paths between the plurality of starting point entities and the plurality of target entities according to an entity type relation graph, the entity type relation graph being generated based on an entity type relation among the plurality of entities, and N being a positive integer greater than or equal to 1; and executing a search operation in an entity relationship table according to the N target paths to obtain an associated search result. According to the embodiment of the invention, the N target paths can be obtained through the entity type relation table, and the association search is carried out in the entity association table through the N target paths, so that the association search complexity is reduced, the association search frequency is reduced, and the association search efficiency is improved.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technologies, and in particular, to an entity-relationship-based search method, system, computer device, and computer-readable storage medium. Background technique [0002] With the development of the Internet, a lot of entity information is stored in databases. Databases can be further divided into relational databases and non-relational databases. Among them, relational databases are composed of all entities and a collection of connections between entities in a given application field. In relational databases, the relational model is mainly used to organize entity information, and the entity information is stored in the form of rows and columns. There are complex relationships between multiple data tables, and as the number of data tables increases, data management becomes more and more complex, and the bottleneck of data operations also occurs in operations performed on mult...

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
IPC IPC(8): G06F16/28G06F16/245G06F16/242
CPCG06F16/288G06F16/2425G06F16/245Y02D10/00
Inventor 秦念念常月王国洪
Owner BEIJING QIANXIN TECH
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