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

Index management method, device, storage medium and equipment used for log query

A management method and index technology, applied in the Internet field, can solve the problems of lack of flexibility in log index management and system performance degradation.

Inactive Publication Date: 2017-09-29
NEUSOFT CORP
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The present disclosure provides an index management method, device, storage medium and equipment for log query, which are used to solve the problem that the management of log indexes lacks flexibility and easily leads to system performance degradation

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
  • Index management method, device, storage medium and equipment used for log query
  • Index management method, device, storage medium and equipment used for log query
  • Index management method, device, storage medium and equipment used for log query

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0091] Specific embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to illustrate and explain the present disclosure, and are not intended to limit the present disclosure.

[0092] figure 1 is a flow chart of an index management method for log query according to an exemplary embodiment, as shown in figure 1 As shown, the method includes the following steps:

[0093] Step 110, by analyzing the query pattern involved in the current query, determine the target index corresponding to the query pattern.

[0094] Logs are files with certain rules generated when the system is running. Usually, computers, network equipment, systems and service programs, etc., will generate historical event records during running. Each line of logs records the date, time, user and action, etc. A description of the associated operation. After the compu...

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 relates to an index management method, device, storage medium and equipment used for log query. The method comprises the steps that a target index corresponding to a query mode is determined by analyzing the query mode involved in the current query, the index popularity of a target index is increased by one unit popularity, and the updated index popularity of the target index is obtained; the current ranking of the target index popularity is obtained according to the updated index popularity; when it is determined that the target index meets a preset condition in the current heat ranking, the target index is written into a high-speed cache. According to the index management method, device, storage medium and equipment used for the log query, indexes in the high-speed cache can be dynamically updated according to the searching popularity of each index so that the indexes high in searching popularity can be stored in the high-speed cache for a long time, and accordingly, it is ensured that the indexes high in searching popularity can be quickly inquired; meanwhile, the indexes cannot be exchanged frequently between the high-speed cache and a low-speed cache, and the problem that because of the frequent exchange, the system performance is easily and severely reduced is avoided.

Description

technical field [0001] The present disclosure relates to the technical field of the Internet, and in particular to an index management method, device, storage medium and equipment for log query. Background technique [0002] At present, the storage of log files is usually distributed storage and centralized management, but because each log in the log file contains a lot of information, most of which are not valuable information, so Centralized management of log files will occupy a large amount of storage space, resulting in a waste of storage resources, and directly searching the contents of a large number of distributed logs will cause low system performance, or even be impossible. The centralized management of log files in the prior art usually includes data preprocessing and indexing operations. At present, the management method of the index in the cache is usually based on the hit principle. The frequent exchange between the cache and the low-speed cache will cause a se...

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): G06F17/30
CPCG06F16/24552G06F16/2272G06F16/2462
Inventor 吴擒龙
Owner NEUSOFT CORP
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