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

Method and system for solving complex text query of databases based on full-text retrieval of memories

A database and memory technology, applied in the database field, can solve problems such as time-consuming, inconvenient application, and insufficient index creation speed, and achieve the effect of shortening response time, reducing creation time, and improving query efficiency

Inactive Publication Date: 2016-12-21
中电福富信息科技有限公司
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the continuous development of the information society, there are more and more types of businesses in all walks of life, and the people who use them are more complex. The complexity of informatization directly leads to the increase of fields in relational database instances, and the more complex the field content , when the number of records and the number of complex fields in the database instance reach a certain level, using like query will consume a lot of time and affect the smooth operation of the business. In the prior art, Lucene is used to query the database, and the index is saved to the disk through Lucene , when the database instance is too large, the index creation speed is not fast enough, resulting in the need to innovate or update the Lucene index during business idle time, which will cause inconvenience in application and low query efficiency

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
  • Method and system for solving complex text query of databases based on full-text retrieval of memories
  • Method and system for solving complex text query of databases based on full-text retrieval of memories
  • Method and system for solving complex text query of databases based on full-text retrieval of memories

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Such as figure 1 and figure 2 As shown, a method for solving database complex text queries based on memory full-text retrieval needs to provide a plurality of servers, and each server provides a memory to form a cluster memory. The method includes the following steps:

[0028] Step 1. Create an in-memory database in each memory, and equally load all the fields in the relational database instance as key values ​​into the in-memory databases in each memory;

[0029] Step 2, in each internal memory, set up a corresponding index storehouse for the internal memory database; Described step 2 is specifically: analyze the configuration file by the indexer (available Lucene indexer or other third-party index tools), obtain the internal memory database connection, according to each An index is established for the content stored in the memory database, by reading the source database information that needs to be extracted from the index, performing data extraction and conversion ...

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 provides a method for solving complex text query of databases based on full-text retrieval of memories. A plurality of servers need to be provided; and each server provides a memory, so that a memory cluster is formed. The method comprises the following steps of 1, creating a memory database in each memory, and equably loading all fields in a relational database instance into the memory database of each memory, as key values; 2, establishing a corresponding index library for the memory database in each memory; and 3, performing text query on each index library in the memory through a retriever in a broadcast form, and returning a result to an application system. The invention furthermore provides a system for solving complex text query of the databases based on full-text retrieval of the memories. Therefore, the database query efficiency is greatly improved and the flexibility and expansibility are enhanced.

Description

technical field [0001] The invention relates to the field of databases, in particular to a method and system for solving complex text queries in databases based on memory full-text retrieval. Background technique [0002] With the continuous development of the information society, there are more and more types of businesses in all walks of life, and the people who use them are more complex. The complexity of informatization directly leads to the increase of fields in relational database instances, and the more complex the field content , when the number of records and the number of complex fields in the database instance reach a certain level, using like query will consume a lot of time and affect the smooth operation of the business. In the prior art, Lucene is used to query the database, and the index is saved to the disk through Lucene , When the database instance is too large, the index creation speed is not fast enough, so that the Lucene index needs to be innovated or ...

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): G06F17/30
CPCG06F16/3331G06F16/284G06F16/31
Inventor 连城周炎锴谢建国
Owner 中电福富信息科技有限公司
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